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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a0531
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4de6d0]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4de6d0]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov esi, ecx
push 0x3ee
mov dword [esp + 0x30], esi
call fcn.0042642e
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0
mov dword [esp + 0x2c], ebx
call edi
push 1
mov dword [esp + 0x44], eax
call edi
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], 0
jne 0x4094ab
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jl 0x4094ab
mov ecx, dword [esi + 0x98]
sub ecx, dword [esi + 0x94]
sar ecx, 3
cmp edi, ecx
jge 0x4094ab
mov edx, dword [esi + 0x98]
sub edx, dword [esi + 0x94]
sar edx, 3
cmp edi, edx
jb 0x40947e
call fcn.0043c3e7
mov eax, dword [esi + 0x94]
mov edx, dword [esi + 0x98]
mov ecx, dword [eax + edi*8]
sub edx, eax
sar edx, 3
mov dword [ebp + 0x10], ecx
cmp edi, edx
jb 0x40949e
call fcn.0043c3e7
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + edi*8 + 4]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push edx
call edi
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x303
push eax
call edi
mov ebx, dword [esi + 0x98]
lea edi, [esi + 0x88]
mov dword [esp + 0x30], edi
cmp dword [edi + 0xc], ebx
jbe 0x4094e9
call fcn.0043c3e7
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edi + 0x10]
jbe 0x409504
call fcn.0043c3e7
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
push ebx
push edx
push ecx
push eax
lea ebx, [esp + 0x58]
call fcn.0040a1e0
push 0x3ef
mov ecx, esi
call fcn.0042642e
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x409541
xor edi, edi
jmp 0x40958e
push 0x3f0
mov ecx, esi
call fcn.0042642e
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call edi
cmp eax, 1
jne 0x409565
mov edi, eax
jmp 0x40958e
push 0x3f1
mov ecx, esi
call fcn.0042642e
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push edx
call edi
mov edi, 2
cmp eax, 1
je 0x40958e
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
mov esi, 1
call fcn.0041cf10
mov edx, eax
mov eax, edi
call fcn.0041bba0
add esp, 8
call fcn.0040b510
mov ecx, eax
mov eax, dword [ecx + 0x18]
mov edx, dword [eax]
mov edi, dword [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx]
test edi, edi
je 0x4095d5
cmp edi, eax
je 0x4095da
call fcn.0043c3e7
cmp dword [esp + 0x18], esi
je 0x409b99
call fcn.0040b4d0
mov ebx, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
test edi, edi
jne 0x409927
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x40960f
call fcn.0043c3e7
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push eax
add edx, 0xc
push ecx
mov dword [esp + 0x24], edx
call fcn.0040b4d0
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 4
call fcn.0040a090
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x409641
cmp eax, dword [esp + 0x48]
je 0x409646
call fcn.0043c3e7
cmp dword [esi + 4], ebx
sete bl
mov byte [esp + 0x23], bl
test edi, edi
jne 0x40992e
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x40966d
call fcn.0043c3e7
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
cmp dword [eax], edx
jg 0x4096a8
test edi, edi
jne 0x409935
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x409696
call fcn.0043c3e7
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], edx
mov byte [esp + 0x13], 0
jle 0x4096ad
mov byte [esp + 0x13], 1
test bl, bl
je 0x4096bb
cmp byte [ebp + 8], 0
jne 0x409b75
cmp byte [esp + 0x13], 0
je 0x4096cc
cmp byte [ebp + 8], 0
je 0x409b75
test edi, edi
jne 0x40993c
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x4096e9
call fcn.0043c3e7
test edi, edi
jne 0x409943
call fcn.0043c3e7
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x18]
jne 0x409706
call fcn.0043c3e7
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
imul eax, dword [esp + 0x38]
imul edx, dword [ecx]
cmp edx, eax
jg 0x409b75
test edi, edi
jne 0x40994a
call fcn.0043c3e7
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 0x18]
jne 0x409740
call fcn.0043c3e7
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov ebx, esi
call fcn.0040a020
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], eax
mov word [esp + 0x94], cx
mov dword [esp + 0x2c0], eax
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jne 0x409951
call fcn.0043c3e7
xor eax, eax
mov edi, dword [esp + 0x18]
cmp edi, dword [eax + 0x18]
jne 0x409795
call fcn.0043c3e7
test ebx, ebx
jne 0x409958
call fcn.0043c3e7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4097ae
call fcn.0043c3e7
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
lea ecx, [esp + 0xb4]
push str.__4dx__4d_
push ecx
mov edx, 0x200
call fcn.004086f0
lea eax, [esp + 0xbc]
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4097e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb0]
lea esi, [esp + 0x94]
call fcn.00407730
test ebx, ebx
jne 0x40995f
call fcn.0043c3e7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40981c
call fcn.0043c3e7
test ebx, ebx
jne 0x409966
call fcn.0043c3e7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x409835
call fcn.0043c3e7
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
call fcn.00408840
mov esi, eax
test esi, esi
je 0x4098e3
test ebx, ebx
jne 0x40996d
call fcn.0043c3e7
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x18]
jne 0x40986a
call fcn.0043c3e7
test ebx, ebx
jne 0x409974
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x409887
call fcn.0043c3e7
mov eax, dword [edi + 4]
cdq
idiv esi
push eax
mov eax, dword [edi]
cdq
idiv esi
lea edx, [esp + 0xb0]
push eax
push str.__d:_d
push edx
mov edx, 0x200
call fcn.004086f0
lea eax, [esp + 0xbc]
add esp, 0x10
lea edx, [eax + 2]
jmp 0x4098c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4098c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x94]
call fcn.00407650
cmp byte [esp + 0x23], 0
je 0x4099eb
push 3
mov eax, 0x4cee9c
lea ecx, [esp + 0x94]
call fcn.00407650
mov eax, dword [0xf415d8]
mov ecx, dword [0xf415d4]
push 0
push eax
push ecx
push 0x398
call fcn.00402920
test eax, eax
je 0x40997b
push 0x61
call fcn.004028b0
jmp 0x40997d
mov eax, dword [edi]
jmp 0x409601
mov eax, dword [edi]
jmp 0x40965f
mov eax, dword [edi]
jmp 0x409688
mov eax, dword [edi]
jmp 0x4096db
mov eax, dword [edi]
jmp 0x4096f8
mov edi, dword [edi]
jmp 0x409732
mov eax, dword [ebx]
jmp 0x409787
mov eax, dword [ebx]
jmp 0x4097a4
mov eax, dword [ebx]
jmp 0x409812
mov eax, dword [ebx]
jmp 0x40982b
mov eax, dword [ebx]
jmp 0x40985c
mov eax, dword [ebx]
jmp 0x409879
xor eax, eax
lea edx, [esp + 0x74]
push edx
mov ecx, eax
call fcn.00402d80
mov edi, 8
mov byte [esp + 0x2c0], 1
cmp dword [eax + 0x18], edi
jb 0x4099a0
mov eax, dword [eax + 4]
jmp 0x4099a3
add eax, 4
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x4099b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4099b0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x94]
call fcn.00407650
cmp dword [esp + 0x8c], edi
jb 0x409aad
mov eax, dword [esp + 0x78]
push eax
call fcn.0041d512
add esp, 4
jmp 0x409aad
cmp byte [esp + 0x13], 0
je 0x409aa8
push 3
mov eax, 0x4cee9c
lea ecx, [esp + 0x94]
call fcn.00407650
mov ecx, dword [0xf415d8]
mov edx, dword [0xf415d4]
push 0
push ecx
push edx
push 0x398
call fcn.00402920
test eax, eax
je 0x409a30
push 0x62
call fcn.004028b0
jmp 0x409a32
xor eax, eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00402d80
mov edi, 8
mov byte [esp + 0x2c0], 2
cmp dword [eax + 0x18], edi
jb 0x409a55
mov eax, dword [eax + 4]
jmp 0x409a58
add eax, 4
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x409a60
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x94]
call fcn.00407650
cmp dword [esp + 0x68], edi
jb 0x409a8f
mov edx, dword [esp + 0x54]
push edx
call fcn.0041d512
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jmp 0x409aad
mov edi, 8
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], edi
jae 0x409ac4
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
push eax
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test ebx, ebx
jne 0x409b8b
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x409af9
call fcn.0043c3e7
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
cmp dword [eax], edx
jne 0x409b31
test ebx, ebx
jne 0x409b92
call fcn.0043c3e7
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x409b21
call fcn.0043c3e7
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], edx
jne 0x409b31
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c0], 0xffffffff
cmp dword [esp + 0xa8], edi
jb 0x409b55
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0041d512
add esp, 4
xor edx, edx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], dx
lea esi, [esp + 0x14]
call fcn.0040a550
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
jmp 0x4095c8
mov eax, dword [ebx]
jmp 0x409aeb
mov eax, dword [ebx]
jmp 0x409b13
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x2c]
call fcn.00408aa0
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.0043ba5f
mov esp, ebp
pop ebp
ret 0x10