Function at 0x408a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x41a9a8]
sub esp, 8
mov dword [ebx], 0x415a7c
mov dword [ebx + 8], 0x415b58
mov dword [esp], 0xc4
call fcn.0040c990
mov dword [ebx + 0x18], eax
mov dword [esp], 0xc
call fcn.0040c990
mov esi, eax
mov dword [esp], ebx
mov ecx, eax
call dword [0x41a934]
mov dword [ebx + 0x1c], esi
mov eax, dword [0x41a7d8]
sub esp, 4
mov esi, dword [0x41a820]
mov byte [ebx + 0x24], 0
mov dword [ebp - 0x8c], eax
mov dword [ebx + 0x20], esi
mov dword [esp + 4], 0
mov dword [esp], 0x413d44
call eax
lea edi, [ebx + 0x30]
mov dword [ebx + 0x28], eax
mov eax, dword [0x41a6bc]
mov dword [ebx + 0x34], esi
mov byte [ebx + 0x38], 0
mov dword [ebp - 0x90], edi
lea edi, [ebx + 0x34]
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebp - 0x94], edi
lea edi, [ebx + 0x40]
mov dword [esp], 0
mov dword [ebp - 0xa0], edi
mov ecx, edi
call dword [0x41a784]
lea edi, [ebx + 0x44]
sub esp, 4
mov dword [esp], 0
mov dword [ebp - 0xa4], edi
mov ecx, edi
mov edi, dword [0x41a79c]
call edi
lea edx, [ebx + 0x5c]
sub esp, 4
mov dword [esp], 0
mov dword [ebp - 0x90], edx
mov ecx, edx
call edi
mov eax, dword [0x41a724]
mov ecx, dword [ebx + 0x18]
sub esp, 4
lea edi, [ebx + 0x7c]
mov byte [ebx + 0x78], 0
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x74], eax
mov eax, dword [0x41a808]
mov byte [ebx + 0x8c], 0
mov dword [ebx + 0x90], 1
mov dword [ebx + 0x94], 0
mov dword [ebp - 0x98], edi
mov dword [ebx + 0x88], eax
mov dword [esp], ebx
call fcn.0040d130
mov eax, dword [ebx + 0x14]
sub esp, 4
mov ecx, ebx
mov eax, dword [eax + 8]
and ah, 0x7f
mov dword [esp], eax
call dword [0x41aa50]
mov edx, dword [ebx + 0x14]
sub esp, 4
mov ecx, ebx
mov edi, dword [0x41aa20]
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x14]
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [edx + 0x18]
sub eax, dword [edx + 0x10]
add eax, 1
mov dword [esp], eax
call edi
sub esp, 8
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], 0xe
mov dword [esp], str.:_logo_ico.ico
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
mov dword [esp], eax
call dword [0x41a8d8]
lea eax, [ebp - 0x28]
sub esp, 4
mov ecx, ebx
mov dword [esp], eax
call dword [0x41aa38]
sub esp, 4
lea ecx, [ebp - 0x28]
call dword [0x41a8e0]
lea ecx, [ebp - 0x20]
call fcn.0040ffd0
lea eax, [ebp - 0x20]
mov dword [esp + 8], 0x19
mov dword [esp + 4], str.
mov dword [esp], eax
call dword [0x41a7d4]
mov dword [esp], 0x419068
lea ecx, [ebp - 0x20]
call dword [0x41a7e0]
lea eax, [ebp - 0x20]
sub esp, 4
mov ecx, ebx
mov dword [esp], eax
call dword [0x41aa54]
lea ecx, [ebp - 0x20]
sub esp, 4
call fcn.0040ffd0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x80]
mov dword [esp + 4], 0x90
mov dword [esp], 0x90
call edi
mov eax, dword [ebx + 0x18]
sub esp, 8
mov esi, dword [eax + 0x80]
mov dword [esp + 4], 0x18
mov dword [esp], str.border:_2px_solid_green_
mov eax, dword [ebp - 0x8c]
call eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, esi
mov dword [esp], edx
mov edx, dword [0x41aa34]
mov dword [ebp - 0x9c], edx
call edx
lea ecx, [ebp - 0x20]
sub esp, 4
call fcn.0040ffd0
mov dword [esp], 0x18
call fcn.0040c990
mov esi, eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x18]
mov ecx, esi
mov eax, dword [eax + 0x80]
mov dword [esp], eax
call dword [0x41a9e4]
sub esp, 8
mov dword [ebx + 0x98], esi
mov ecx, esi
mov dword [esp + 4], 0x90
mov dword [esp], 0x90
call edi
sub esp, 8
mov esi, dword [ebx + 0x98]
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], 0x28
mov dword [esp], str.background_color:_rgba_255__255__255__0_
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, dword [ebp - 0x9c]
mov dword [esp], eax
call edx
lea ecx, [ebp - 0x20]
sub esp, 4
call fcn.0040ffd0
mov eax, dword [ebx + 0x98]
mov ecx, ebx
mov dword [esp], eax
call fcn.00408930
sub esp, 4
mov ecx, dword [ebx + 0x98]
call dword [0x41aa74]
mov eax, dword [ebx + 0x18]
mov esi, dword [0x41a9fc]
mov ecx, dword [eax + 0x98]
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [eax + 0xa4]
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [eax + 0xbc]
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [eax + 0xb0]
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [eax + 0x2c]
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [eax + 0x70]
mov dword [esp], 0
call esi
sub esp, 4
mov ecx, ebx
call fcn.004052f0
mov dword [esp], 0x10
mov dword [ebp - 0x68], 0x40b240
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], fcn.00401690
mov dword [ebp - 0x5c], 0
call fcn.0040c990
mov edx, dword [ebp - 0x60]
mov dword [eax], 1
lea esi, [ebp - 0x84]
mov dword [eax + 4], 0x410010
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0x20], 0x412008
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x68]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [0x41a7ac]
mov dword [esp], esi
mov dword [ebp - 0x8c], eax
call eax
mov ecx, esi
mov esi, dword [0x41a6f8]
call esi
mov dword [esp], 0x10
mov dword [ebp - 0x58], 0x40b210
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], fcn.00401680
mov dword [ebp - 0x4c], 0
call fcn.0040c990
mov edx, dword [ebp - 0x50]
mov dword [eax], 1
lea edi, [ebp - 0x80]
mov dword [eax + 4], 0x410190
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0x20], 0x412008
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x8c]
call eax
mov ecx, edi
call esi
mov dword [esp], 0x10
mov dword [ebp - 0x48], fcn.0040b280
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], fcn.00406e20
mov dword [ebp - 0x3c], 0
call fcn.0040c990
mov edx, dword [ebp - 0x40]
mov dword [eax], 1
lea edi, [ebp - 0x7c]
mov dword [eax + 4], 0x4100f0
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0x20], 0x412008
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x8c]
call eax
mov ecx, edi
call esi
mov edi, dword [ebx + 0x1c]
mov eax, dword [0x41a818]
mov dword [esp], 0x10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], fcn.00403d10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x38], eax
call fcn.0040c990
mov edx, dword [ebp - 0x30]
mov dword [eax], 1
lea edi, [ebp - 0x78]
mov dword [eax + 4], 0x410190
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [0x41a80c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x9c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x8c]
call eax
mov ecx, edi
call esi
mov eax, dword [0x41a798]
mov dword [esp], 0x10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], fcn.00406720
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
call fcn.0040c990
mov edx, dword [ebp - 0x20]
mov dword [eax], 1
lea edi, [ebp - 0x74]
mov dword [eax + 4], 0x410190
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [0x41a78c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edx
lea edx, [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x28]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x90]
mov dword [esp + 4], edx
call eax
mov ecx, edi
call esi
mov dword [esp], 0xc
mov dword [ebp - 0x74], 0
call fcn.0040c990
lea esi, [ebp - 0x70]
mov dword [eax], 0x415b80
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x40af10
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x70], eax
call fcn.0040c9d0
mov ecx, dword [ebp - 0x70]
sub esp, 8
test ecx, ecx
je 0x40912d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.0040c9c0
mov dword [esp], 0xc
mov dword [ebp - 0x70], 0
call fcn.0040c990
mov dword [eax], 0x415b80
mov dword [eax + 4], ebx
mov ecx, esi
mov dword [eax + 8], 0x407df0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040c9d0
mov ecx, dword [ebp - 0x6c]
sub esp, 8
test ecx, ecx
je 0x40917e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.0040c9c0
lea ecx, [ebx + 0x30]
call dword [0x41a6c8]
mov ecx, dword [ebp - 0x94]
call fcn.0040f860
mov ecx, dword [ebp - 0x98]
call fcn.0040f860
mov ebx, dword [ebp - 0x70]
test ebx, ebx
jne 0x4091bc
mov ecx, dword [ebp - 0x74]
test ecx, ecx
jne 0x4091bc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
call fcn.0040c9b0
cmp dword [ebp - 0x70], 0
jne 0x4091bc
cmp dword [ebp - 0x74], 0
jne 0x4091bc
mov esi, eax
mov ecx, dword [ebx + 0x88]
mov edx, dword [ecx + 8]
lea eax, [ecx + 8]
test edx, edx
je 0x4092b8
add edx, 1
je 0x4091f2
lock sub dword [eax], 1
je 0x4092b2
lea ecx, [ebx + 0x7c]
call fcn.0040f940
mov edi, dword [ebx + 0x74]
mov eax, dword [edi]
test eax, eax
je 0x409273
add eax, 1
je 0x40920e
lock sub dword [edi], 1
je 0x409270
mov ecx, dword [ebp - 0x90]
mov edi, dword [0x41a7a0]
call edi
mov ecx, dword [ebp - 0xa4]
call edi
mov ecx, dword [ebp - 0xa0]
call dword [0x41a788]
lea ecx, [ebx + 0x3c]
call fcn.0040f940
lea ecx, [ebx + 0x34]
call fcn.0040f940
lea ecx, [ebx + 0x30]
call fcn.0040cb90
lea ecx, [ebx + 0x2c]
call fcn.0040ffd0
lea ecx, [ebx + 0x28]
call fcn.0040ffd0
lea ecx, [ebx + 0x20]
call fcn.0040fd20
mov ecx, ebx
call dword [0x41a9ac]
mov dword [esp], esi
call fcn.0040ca08
mov edi, dword [ebx + 0x74]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40928f
mov dword [esp], eax
mov dword [esp + 4], 4
mov ecx, edi
call dword [0x41a734]
push eax
push eax
mov dword [esp], edi
call dword [0x41a730]
jmp 0x40920e
mov ecx, dword [ebx + 0x88]
mov dword [esp], 0x40f670
call dword [0x41a804]
push edx
jmp 0x4091f2