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

Disassembly:
sub esp, 0x60
mov ecx, dword [0x9f48bc]
fld dword [ecx + 0x110]
push ebx
mov ebx, dword [esp + 0x70]
fstp dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x70]
mov ebp, dword [esi + 4]
push edi
mov dword [esp + 0x30], 0
test ebx, ebx
jne 0x403e5d
cmp byte [ecx + 0xa0], bl
je 0x403e71
mov edi, dword [esi]
call fcn.00401620
mov ebx, eax
mov dword [esp + 0x7c], ebx
test ebx, ebx
je 0x403e6b
cmp dword [ebx + 0x3c], 0
lea esi, [ebx + 0x34]
je 0x403e26
cmp dword [esi + 0xc], 0
jne 0x403e4e
mov eax, dword [0x9f48bc]
mov ecx, dword [eax + 0xd0]
mov dword [esi], ecx
mov edx, dword [eax + 0xd4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 0xd8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xdc]
mov dword [esi + 0xc], edx
call fcn.00421890
mov ecx, dword [0x9f48bc]
mov esi, dword [esp + 0x74]
cmp byte [ebx + 0x14], 0
je 0x403e71
xor ebx, ebx
mov dword [esp + 0x7c], ebx
jmp 0x403e71
mov ecx, dword [0x9f48bc]
mov eax, dword [ecx + 0x10c]
fld qword [0x9ad8c8]
mov dword [esp + 0x18], eax
fst qword [esp + 0x60]
mov eax, dword [ecx + 0xcc]
fstp qword [esp + 0x68]
cmp eax, 3
mov edi, 1
sete dl
mov dword [esp + 0x24], edi
mov dword [esp + 0x58], edi
mov byte [esp + 0x16], dl
mov dword [esp + 0x1c], edi
cmp eax, 2
je 0x403eb3
test dl, dl
je 0x403ebb
mov dword [esp + 0x1c], 3
mov cl, byte [ecx + 0xe0]
mov byte [esp + 0x15], cl
test ebx, ebx
je 0x403f27
mov edi, dword [esp + 0x7c]
mov edx, dword [edi + 0x24]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x24], edx
call fcn.004463d0
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x30]
cmp eax, 3
sete cl
mov byte [esp + 0x16], cl
cmp eax, 1
jne 0x403ef8
mov dword [esp + 0x1c], eax
jmp 0x403f18
cmp eax, 2
je 0x403f10
test cl, cl
jne 0x403f10
cmp eax, 4
jne 0x403f18
mov dword [esp + 0x1c], 6
jmp 0x403f18
mov dword [esp + 0x1c], 3
mov al, byte [edi + 0x44]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov byte [esp + 0x15], al
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x378]
test eax, eax
je 0x403f44
push 0xffffffffffffffff
push eax
mov byte [edi + 0x37c], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [edi + 0x37c], 0
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov esi, dword [esi]
push ecx
mov dword [esp + 0x24], edi
call fcn.00658a01
add esp, 4
test esi, esi
je 0x403f6f
push esi
call fcn.00661039
add esp, 4
jmp 0x403f71
xor eax, eax
mov dword [ebp], eax
test ebx, ebx
je 0x403f7d
mov eax, dword [ebx + 0x50]
jmp 0x403f7f
xor eax, eax
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push edx
push ebp
push eax
mov eax, dword [esi]
call fcn.00403bf0
add esp, 0x10
test eax, eax
sete byte [esp + 0x17]
mov dword [ebp + 4], eax
test eax, eax
jne 0x403fac
cmp byte [esi + 0xb], al
je 0x403fd7
mov esi, ebp
call fcn.00434900
mov ecx, dword [ebp + 0x384]
test ecx, ecx
je 0x403fc5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov dword [ebp + 0x384], 0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404280
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp + 4]
test eax, eax
je 0x40416c
test ecx, ecx
je 0x404003
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ebx, eax
jmp 0x404005
xor ebx, ebx
mov ecx, dword [0x9f48bc]
mov eax, dword [ecx + 0x9c]
test eax, eax
jle 0x40401b
mov dword [esp + 0x2c], eax
jmp 0x404025
mov edx, dword [ebp + 0x134]
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x358]
mov esi, dword [ebp + 0x35c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x34], eax
test eax, 0x200000
je 0x404052
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
test dword [esp + 0x34], 0x100000
je 0x404066
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x2c]
push ecx
mov eax, ebx
call fcn.004418b0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40409e
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x40409e
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [eax + 8], 6
je 0x4040c0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4040dc
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x4040dc
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [eax + 8], 5
jne 0x4040dc
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4040cd
mov al, byte [eax + 0x4c]
jmp 0x4040d6
mov ecx, dword [0x9f48bc]
mov al, byte [ecx + 0x60]
mov byte [ebx + 0x80], al
mov esi, dword [esp + 0x20]
test esi, esi
je 0x404136
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
test eax, eax
je 0x404136
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov edi, dword [ebp + 4]
mov ecx, esi
call eax
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, esi
call fcn.00457970
test al, al
je 0x404136
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push ebx
mov ecx, esi
call eax
push eax
call fcn.0042f9a0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
push eax
call fcn.00445020
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
call fcn.00473480
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov esi, dword [ebp + 0x4d4]
test esi, esi
je 0x40420d
push ebx
call fcn.0043cfc0
jmp 0x40420d
test ecx, ecx
je 0x40419f
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
call eax
test eax, eax
je 0x40419f
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x24]
push 0
push eax
call edx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
push 0
push edx
call eax
jmp 0x40420d
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40420d
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x40420d
test edi, edi
je 0x404221
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
test eax, eax
je 0x40420d
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov esi, dword [ebp + 4]
mov ecx, edi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, ebx
call fcn.00457970
test al, al
je 0x40420d
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov esi, dword [ebp + 4]
mov ecx, edi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
push eax
call fcn.0044d2e0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40421d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x4042d5
mov edi, dword [esp + 0x7c]
fld dword [0x9ad780]
mov esi, dword [edi + 0x28]
push ecx
fstp dword [esp]
call fcn.004465f0
mov ecx, dword [ebp + 4]
fstp dword [esp + 0x2c]
mov edx, dword [ecx]
mov esi, dword [esp + 0x28]
mov eax, dword [edx + 0x64]
add esp, 4
push esi
call eax
test al, al
je 0x4042a7
fld dword [esp + 0x28]
mov dword [esp + 0x58], esi
fld qword [0x9ad8b8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4042c3
fild dword [edi + 0x1c]
fstp qword [esp + 0x60]
fild dword [edi + 0x20]
fstp qword [esp + 0x68]
jmp 0x4042c3
cmp byte [esi + 0xb], 0
jne 0x40428f
test edi, edi
je 0x40429d
mov dword [ebp + 4], edi
jmp 0x404221
test edi, edi
je 0x40429d
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov dword [esp + 0x7c], 0
jmp 0x4042d5
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp esi, eax
jle 0x4042c3
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x58], eax
mov ecx, dword [edi + 0x2c]
mov edi, dword [edi + 0x54]
lea eax, [ebp + 0x44]
mov dword [esp + 0x30], ecx
call fcn.004127a0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40430d
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x40430d
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4042f7
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
jmp 0x4042f9
xor eax, eax
fld dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
fstp dword [esp]
push eax
call fcn.00442560
jmp 0x404325
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404325
mov edx, dword [ecx]
fld dword [esp + 0x28]
mov eax, dword [edx + 0x30]
push 0
push ecx
fstp dword [esp]
call eax
mov esi, dword [ebp + 0x12c]
mov eax, ebp
call fcn.0041b140
cmp dword [ebp + 0x328], 0
mov dword [ebp + 0x12c], eax
jne 0x40435e
cmp byte [ebp + 0x324], 0
jne 0x40435e
cmp byte [ebp + 0x130], 0
jne 0x40435e
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
push 1
mov eax, ebp
call fcn.00422a70
mov ecx, dword [ebp + 4]
add esp, 4
test ecx, ecx
je 0x404383
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
jne 0x404391
mov ecx, dword [ebp + 0xc]
push 0
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowScrollBar]
cmp dword [ebp], 0
jne 0x4043aa
mov edx, dword [ebp + 8]
push 0x9233f0
push 0
push 0xc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, ebp
call fcn.00422b60
mov eax, dword [esp + 0x74]
cmp byte [eax + 0xa], 0
jne 0x40440d
cmp dword [ebp + 4], 0
je 0x40440d
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404406
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x404406
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4043f7
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
jmp 0x4043f9
xor eax, eax
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 4]
mov byte [edx + 0x9d], 1
mov eax, ebp
call fcn.00424630
mov esi, ebp
call fcn.00422d10
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404438
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jle 0x404438
push 0
push eax
mov ecx, ebp
call fcn.00423820
add esp, 8
call fcn.00423110
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404448
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
jmp 0x40444e
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov ecx, dword [0x9f48bc]
cmp byte [ecx + 0x6e], 0
jne 0x404461
mov edx, eax
call fcn.00454f40
mov ecx, dword [ebp + 4]
xor edi, edi
mov ebx, eax
test ecx, ecx
je 0x4044ad
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
mov edi, eax
test edi, edi
je 0x4044ad
push edi
call fcn.004584a0
xor ecx, ecx
add esp, 4
xor esi, esi
cmp cx, word [edi]
je 0x40449c
push edi
push 0x9233e0
call fcn.00458200
add esp, 8
mov esi, eax
push edi
call fcn.00658a01
add esp, 4
mov edi, esi
mov eax, esi
test esi, esi
jne 0x4044b2
mov eax, 0x923408
push 0x9233f0
push eax
push ebx
push str._s__s___s
call fcn.00458200
push 0
mov esi, eax
call fcn.00658a01
mov eax, dword [0x9f4968]
add esp, 0x14
mov dword [esp + 0x18], esi
cmp eax, 2
je 0x4044ec
cmp eax, 0x17
je 0x4044ec
cmp eax, 0x1f
je 0x4044ec
cmp eax, 0x25
jne 0x404517
mov eax, edi
test edi, edi
jne 0x4044f7
mov eax, 0x923408
push ebx
push eax
push 0x9233f0
push str._s__s___s
call fcn.00458200
push esi
mov ebx, eax
call fcn.00658a01
add esp, 0x14
mov dword [esp + 0x18], ebx
push edi
call fcn.00658a01
add esp, 4
cmp byte [esp + 0x17], 0
je 0x404551
cmp dword [ebp + 4], 0
je 0x404551
mov esi, dword [esp + 0x18]
push esi
mov eax, str._Changes_detected__refreshing___s
call fcn.0044a3e0
push eax
call fcn.00458200
push esi
mov edi, eax
call fcn.00658a01
add esp, 0xc
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
push edx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [0x9e8474], 2
je 0x404628
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404628
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x404628
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [eax + 8], 1
jne 0x404628
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4045af
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
jmp 0x4045b1
xor eax, eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4045c0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4045d0
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
jmp 0x4045d2
xor eax, eax
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4045eb
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov esi, eax
jmp 0x4045ed
xor esi, esi
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4045fd
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
jmp 0x4045ff
xor eax, eax
mov eax, dword [eax + 0x28]
mov edi, dword [esp + 0x74]
add esi, 0x14
push esi
push eax
mov eax, dword [edi]
call fcn.0043ebb0
add esp, 8
test eax, eax
jne 0x40462c
mov ecx, dword [0x9f48bc]
mov byte [ecx + 0xc0], 1
jmp 0x40462c
mov edi, dword [esp + 0x74]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40465d
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x40465d
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404654
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
jmp 0x404656
xor eax, eax
mov byte [eax + 0xb4], 1
mov cl, byte [edi + 0xa]
test cl, cl
jne 0x40467b
cmp byte [edi + 0xc], cl
je 0x40475b
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x40475b
jmp 0x40467f
mov eax, dword [esp + 0x7c]
test cl, cl
je 0x40473c
test eax, eax
je 0x40473c
cmp dword [eax + 0x3c], 0
je 0x40473c
cmp dword [eax + 0x40], 0
je 0x40473c
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov edi, dword [eax + 0x34]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x44], edx
sub esp, 0x10
mov dword [esp + 0x50], ecx
mov ecx, esp
mov edx, edi
mov dword [ecx], edx
mov edx, esi
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 8], edx
lea ebx, [esp + 0x58]
mov dword [ecx + 0xc], eax
call fcn.004518b0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add edx, esi
add esp, 0x10
cmp edx, ecx
jle 0x4046ff
mov eax, dword [esp + 0x54]
lea edx, [eax + ecx]
cmp esi, edx
jl 0x404701
sub eax, dword [esp + 0x44]
lea esi, [ecx + eax]
jmp 0x404701
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edi]
cmp eax, edx
jle 0x404722
mov eax, dword [esp + 0x50]
lea ebx, [eax + edx]
cmp edi, ebx
jl 0x404724
sub eax, ecx
lea edi, [edx + eax]
jmp 0x404724
mov edi, edx
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 8]
push 1
push edx
push ecx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [esp + 0x74]
cmp byte [edi + 8], 0
je 0x404751
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40483a
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov esi, dword [ebp + 0x28]
push 0xfffffffffffffff0
test al, al
push esi
sete bl
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
test bl, bl
je 0x40478c
or ecx, 0x2000
jmp 0x404792
and ecx, 0xffffdfff
cmp ecx, eax
je 0x4047a0
push ecx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 8], 0
mov esi, dword [esp + 0x58]
jne 0x4047b3
cmp esi, 1
je 0x404810
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404810
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x404810
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4047d5
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
jmp 0x4047d7
xor eax, eax
mov edx, dword [esp + 0x5c]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x84]
mov esi, eax
mov dword [ecx + 0x14], edx
call fcn.00444d80
jmp 0x40482f
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40482f
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
test eax, eax
je 0x40482f
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 0
push esi
call edx
mov esi, ebp
call fcn.00423300
mov edi, dword [esp + 0x74]
mov eax, dword [0x9f48bc]
movzx ecx, byte [eax + 0xa9]
mov al, byte [esp + 0x15]
push ecx
mov ecx, ebp
call fcn.0040bc10
mov edx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
add esp, 4
push 0
push 0
push edx
call esi
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40489c
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
call edx
test eax, eax
je 0x40489c
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40488d
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
call edx
jmp 0x40488f
xor eax, eax
mov eax, dword [eax + 0x64]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x9d], 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 4], 0
jne 0x404907
mov eax, dword [ebp + 0xc]
push 0
push 0
push eax
call esi
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4048f0
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x4048f0
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x4048e1
mov edx, dword [ebp]
mov eax, dword [edx + 0x80]
mov ecx, ebp
call eax
jmp 0x4048e3
xor eax, eax
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 4]
mov byte [edx + 0x9d], 1
mov eax, dword [esp + 0x18]
push eax
call fcn.00658a01
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp byte [edi + 0xa], 0
jne 0x404913
cmp byte [edi + 0xc], 0
je 0x40492d
cmp byte [edi + 8], 0
je 0x40492d
cmp byte [esp + 0x16], 0
je 0x40492d
xor bl, bl
mov edi, ebp
call fcn.0040a3e0
mov edi, dword [esp + 0x74]
cmp byte [edi + 0xa], 0
jne 0x40494f
cmp dword [ebp + 0x328], 0
je 0x40494f
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x40494f
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00658a01
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x60
ret