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

Disassembly:
sub esp, 0x5c
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x43e38b
lea esi, [ebx - 0x1c]
mov dword [esp + 0x1c], esi
jmp 0x43e391
mov dword [esp + 0x1c], edi
mov esi, edi
mov eax, dword [esi + 4]
push edi
push edi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], edi
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
jle 0x43e7f1
push ebp
mov ecx, dword [ebx]
lea ebp, [edi + edi*2]
shl ebp, 3
add ecx, ebp
mov dword [esp + 0x28], ebp
mov eax, dword [ecx + 4]
test ah, 0x10
je 0x43e7c2
shr eax, 0x10
and eax, 0xff
mov edx, eax
lea eax, [ecx + 8]
cmp edx, 1
mov dword [esp + 0x24], edx
mov edi, dword [eax]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
mov ebx, dword [eax + 8]
mov dword [esp + 0x34], ebx
mov edi, dword [eax + 0xc]
mov dword [esp + 0x38], edi
jle 0x43e45d
lea eax, [ecx + 0x24]
lea ecx, [edx - 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax - 4]
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
jl 0x43e423
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax]
mov ebp, dword [esp + 0x30]
cmp ebp, ecx
jl 0x43e431
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
cmp ebx, ecx
jg 0x43e43e
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 8]
cmp edi, ecx
jg 0x43e44b
mov edi, ecx
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x1c]
add eax, 0x18
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x43e414
mov ebp, dword [esp + 0x28]
test edx, edx
mov dword [esp + 0x1c], 0
jle 0x43e7ae
lea edi, [esi + 0x1c]
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x1c]
lea eax, [edx - 1]
or ebx, 0xffffffff
cmp ecx, eax
jge 0x43e569
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
add eax, ecx
test byte [eax + 4], 3
je 0x43e569
test byte [eax + 0x1c], 3
je 0x43e569
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_MapWindowPoints]
lea edx, [esp + 0x5c]
push 2
push edx
push eax
push 0
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 1]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x4c]
push 2
push edx
push eax
push 0
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [eax + edx + 4]
add eax, edx
mov edx, ecx
and edx, 1
cmp dl, 1
jne 0x43e548
mov edx, dword [eax + 0x1c]
and edx, 1
cmp dl, 1
jne 0x43e548
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x64]
cmp ecx, edx
jl 0x43e569
mov ebx, dword [eax + 0x20]
jmp 0x43e569
and ecx, 2
cmp cl, 2
jne 0x43e569
mov edx, dword [eax + 0x1c]
and edx, 2
cmp dl, cl
jne 0x43e569
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jl 0x43e569
mov ebx, dword [eax + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [edx]
add esi, ecx
test edi, edi
je 0x43e57e
lea ebp, [edi - 0x1c]
jmp 0x43e580
xor ebp, ebp
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x43e788
mov eax, dword [ebp + 4]
lea edx, [esp + 0x3c]
push 2
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
je 0x43e788
test byte [esi + 4], 5
je 0x43e674
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
sub edx, ecx
push edx
mov edx, dword [edi + 0xc]
sub eax, edx
mov edx, dword [esp + 0x74]
sub eax, ecx
add eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
call ebp
mov dl, byte [esi + 4]
mov ecx, eax
mov eax, dword [esp + 0x2c]
add ecx, eax
test dl, 1
mov dword [esp + 0x3c], ecx
je 0x43e664
mov ecx, dword [esp + 0x34]
cmp ebx, 0xffffffff
mov edx, ecx
je 0x43e63d
sub edx, eax
push edx
mov edx, dword [edi + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x74]
sub ecx, eax
add ecx, edx
push ecx
mov ecx, ebx
sub ecx, eax
push ecx
call ebp
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x2c]
sub edx, ebx
add ecx, eax
add edx, ecx
mov dword [esp + 0x44], edx
jmp 0x43e67e
sub edx, eax
push edx
mov edx, dword [edi + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x74]
sub ecx, eax
add ecx, edx
push ecx
mov ecx, dword [esi + 0x10]
sub ecx, eax
push ecx
call ebp
mov edx, eax
mov eax, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x44], edx
jmp 0x43e67e
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
sub edx, eax
add edx, ecx
mov dword [esp + 0x44], edx
jmp 0x43e67e
mov edx, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
test byte [esi + 4], 0xa
je 0x43e73e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, eax
sub edx, ecx
push edx
mov edx, dword [edi + 0x10]
sub eax, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
add eax, edx
push eax
mov eax, dword [esi + 0xc]
sub eax, ecx
push eax
call ebp
mov ecx, dword [esp + 0x30]
mov dl, byte [esi + 4]
add eax, ecx
test dl, 2
mov dword [esp + 0x40], eax
je 0x43e72a
mov eax, dword [esp + 0x38]
cmp ebx, 0xffffffff
mov edx, eax
je 0x43e6fb
sub edx, ecx
push edx
mov edx, dword [edi + 0x10]
sub eax, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
add eax, edx
push eax
mov eax, ebx
sub eax, ecx
push eax
call ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x30]
sub ecx, ebx
add edx, eax
mov eax, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
jmp 0x43e746
sub edx, ecx
push edx
mov edx, dword [edi + 0x10]
sub eax, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
add eax, edx
push eax
mov eax, dword [esi + 0x14]
sub eax, ecx
push eax
call ebp
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
jmp 0x43e746
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
sub ecx, ebx
add ecx, eax
mov dword [esp + 0x48], ecx
jmp 0x43e746
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
test byte [esi + 4], 0x10
je 0x43e767
mov ecx, dword [esp + 0x28]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
test byte [esi + 4], 0x1f
je 0x43e788
sub ecx, eax
push 0x14
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
inc eax
add edx, 0x18
mov dword [esp + 0x10], edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov edx, ecx
jl 0x43e474
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
lea ecx, [eax + edx - 1]
mov dword [esp + 0x18], ecx
mov edi, ecx
jmp 0x43e7de
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00441ad0
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x43e3bf
xor edi, edi
pop ebp
mov edx, dword [esi + 4]
push edi
push 1
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 4]
push 0x185
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 8