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

Disassembly:
push 0xffffffffffffffff
push 0x45181b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov eax, dword [0x4f3c44]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ebp, dword [0xe58918]
cmp word [esp + 0x44c], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x14], ebp
jne 0x409e66
mov edx, dword [ebx + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0xffffffffffffffff
movsx edi, ax
mov eax, 0x66666667
lea esi, [ebx + 0x5c]
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
lea ecx, [ebp - 0xd]
push ecx
push 2
push 0x4efe18
push 0
mov ecx, esi
call fcn.00430d0d
lea ecx, [edi + edi*2]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
push 0xffffffffffffffff
shr eax, 0x1f
add edx, eax
mov ecx, esi
mov dword [esp + 0x1c], edx
add edx, 0xffffffe5
push edx
push 2
push 0x4efe0c
push 2
call fcn.00430d0d
add edi, edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
push 0xffffffffffffffff
shr ecx, 0x1f
lea edx, [edx + ecx - 0x1e]
mov ecx, esi
push edx
push 2
push 0x4efe00
push 3
call fcn.00430d0d
add ebp, 5
push 0xffffffffffffffff
push ebp
push 2
push 0x4efdf8
push 4
mov ecx, esi
call fcn.00430d0d
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x32
mov ecx, esi
push eax
push 2
push 0x4efdf0
push 5
call fcn.00430d0d
mov ecx, dword [ebx + 0x78]
push 0xa1
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x14]
mov edx, dword [ebx + 0x78]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test bp, bp
jle 0x409fa8
lea edi, [ebx + 0x5c]
lea ebx, [ebp - 1]
xor esi, esi
movsx ebp, bp
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.004106f0
movsx ecx, bx
add esp, 8
lea edx, [esp + 0x10]
push ecx
push str._04d
push edx
call fcn.004300f9
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push 0
push 0
push 0
push 0
push eax
push esi
push 1
call fcn.00430d60
cmp ax, 0xffff
je 0x409f9f
movsx ecx, word [esp + 0x3a]
movsx edx, word [esp + 0x38]
movsx eax, word [esp + 0x36]
push ecx
push edx
movsx ecx, word [esp + 0x3c]
movsx edx, word [esp + 0x3a]
push eax
push ecx
movsx eax, word [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x28]
push str._04d__02d__02d__02d:_02d:_02d
push ecx
call fcn.004300f9
mov edx, dword [esp + 0x30]
add esp, 0x20
mov ecx, edi
push edx
push 1
push esi
call fcn.00430dd7
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x409f35
dec eax
je 0x409f2e
dec eax
jne 0x409f43
push 0x4efddc
jmp 0x409f3a
push 0x4efdd4
jmp 0x409f3a
push 0x4efdc8
lea ecx, [esp + 0x14]
call fcn.00436d32
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 2
push esi
call fcn.00430dd7
movsx ecx, word [esp + 0x2e]
push ecx
lea edx, [esp + 0x14]
push str._03d
push edx
call fcn.004300f9
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push eax
push 3
push esi
call fcn.00430dd7
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x10]
push ecx
push 0x4c9898
push edx
call fcn.004300f9
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push eax
push 4
push esi
call fcn.00430dd7
dec ebx
inc esi
dec ebp
jne 0x409e8d
lea ecx, [esp + 0x10]
mov dword [esp + 0x444], 0xffffffff
call fcn.00436ba9
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x438
ret 4