Function at 0x430370
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x479418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, ecx
mov eax, 0xfffffffe
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
or ecx, 0xffffffff
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], ecx
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea eax, [edi + 0x120]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xc]
push 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x38]
neg eax
lea edx, [ecx + eax*2]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x430489
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
lea ebp, [edi + 0x130]
push ebp
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x430489
mov ebx, dword [edi + 0x134]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
xor edx, edx
cmp eax, ebx
setge dl
dec edx
and edx, 0x100
or ecx, edx
mov dword [esi + 8], ecx
mov ebx, dword [edi + 0x13c]
xor edx, edx
cmp eax, ebx
setle dl
dec edx
and edx, 0x200
mov eax, edx
mov edx, dword [esi]
or eax, ecx
mov dword [esi + 8], eax
mov ebx, dword [ebp]
xor ecx, ecx
cmp edx, ebx
setge cl
dec ecx
and ecx, 0x800
or ecx, eax
xor eax, eax
mov dword [esi + 8], ecx
cmp edx, dword [edi + 0x138]
setle al
dec eax
and eax, 0x400
or eax, ecx
mov dword [esi + 8], eax
jmp 0x430938
push ebx
push ebx
mov ecx, edi
call fcn.00427940
push ebx
push 1
mov ecx, edi
mov ebp, eax
call fcn.00427940
mov ecx, dword [edi + 0x148]
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, ebp
neg eax
add ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push edx
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4304e7
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esi + 0x10], eax
or dword [esi + 8], 0x40
jmp 0x430690
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, edi
call fcn.00429550
test eax, eax
je 0x430931
lea ecx, [esp + 0x3c]
call fcn.004023c0
or eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [edi + 0x130]
mov edx, dword [edi + 0x134]
mov ecx, eax
sub ecx, ebp
push edx
mov dword [esp + 0x9c], ebx
add ecx, dword [edi + 0x148]
push ecx
push edx
sub eax, ebp
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x14]
jg 0x43066f
lea edx, [esp + 0x3c]
push edx
push ebx
mov ecx, edi
call fcn.0042ee20
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x44]
mov edx, dword [edi + 0x144]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x38]
add eax, edx
mov edx, dword [esi]
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 4]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4305be
mov ecx, dword [esp + 0x38]
inc ebx
cmp ebx, eax
mov dword [esp + 0x30], ecx
jle 0x430562
mov dword [esp + 0x10], ebx
jmp 0x43066f
cmp ebx, eax
mov dword [esp + 0x10], ebx
jg 0x43066f
push ebx
mov ecx, edi
call fcn.00429350
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov ecx, dword [edi + 0x64]
test ch, 0xc0
je 0x4305f4
test eax, eax
jl 0x4305f4
mov edx, dword [edi + 0x168]
imul eax, eax, 0x1c
mov eax, dword [eax + edx + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x430667
mov eax, dword [esp + 0x44]
test eax, eax
je 0x430667
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x144]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi]
push eax
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x430667
or dword [esi + 8], 0x10
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], 0xffffffff
call fcn.00413d20
mov eax, esi
jmp 0x43093b
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], 0xffffffff
call fcn.00413d20
cmp dword [esp + 0x24], 1
jne 0x430931
xor ebx, ebx
mov eax, dword [edi + 0x64]
test ah, 0xc0
je 0x430701
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x168]
imul eax, eax, 0x1c
mov edx, dword [eax + ecx + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ebx
jl 0x430701
push ebx
mov dword [esi + 0x14], eax
push ebp
lea eax, [esp + 0x34]
push eax
mov dword [esi + 0x1c], ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x20]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 0x148]
mov eax, dword [eax]
add eax, ecx
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x144]
add ecx, dword [esp + 0x30]
mov dword [esi + 0x2c], ecx
jmp 0x43079c
mov eax, dword [edi + 0x11e0]
test eax, eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], 9
mov dword [esp + 0x34], edx
jle 0x430766
nop
mov ecx, dword [edi + 0x1274]
lea eax, [esp + 0x3c]
push eax
push ebx
push 0x1207
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 4]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], edx
jl 0x430753
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x43075e
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x430720
jmp 0x430766
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [edi + 0x1274]
lea eax, [esp + 0x58]
push eax
push ebx
push 0x1203
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
mov dword [esi + 0x14], eax
call fcn.004293d0
mov dword [esi + 0x1c], eax
cmp ebx, dword [esp + 0x24]
jge 0x430931
xor ebx, ebx
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
push edx
mov ecx, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0xfffffffe
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.00429350
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.0042b060
cmp dword [esi + 0x1c], ebx
jne 0x4308a3
mov eax, dword [esp + 0x58]
test ah, 1
je 0x4308a3
mov ecx, dword [esp + 0x80]
cmp ecx, ebx
jl 0x4308a3
mov eax, dword [edi + 0x144]
mov edx, eax
imul edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edx
test byte [esp + 0x84], 0x60
mov dword [esp + 0x2c], ecx
je 0x4308a3
mov edx, ecx
sub edx, eax
mov eax, dword [esi]
cmp eax, edx
jl 0x4308a3
cmp eax, ecx
jge 0x4308a3
mov ebx, dword [esp + 0x34]
lea eax, [esi + 0x20]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x38]
mov dword [edx + 0xc], ebx
mov edx, dword [edi + 0x144]
mov ebx, dword [esi + 0x28]
add edx, ebp
mov ebp, dword [eax]
sub ebp, edx
mov dword [eax], ebp
mov eax, ebp
sub ebx, eax
mov dword [esi + 0x28], ebx
mov eax, dword [edi + 0x144]
add eax, ecx
mov dword [esi + 0x2c], eax
or dword [esi + 8], 0x20
jmp 0x430938
mov ecx, dword [esp + 0x28]
push ebx
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
lea eax, [esi + 0x20]
mov edx, eax
mov eax, dword [esp + 0x30]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x38]
mov dword [edx + 0xc], ebx
mov edx, dword [edi + 0x144]
add edx, eax
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x5c]
mov dl, byte [esp + 0x58]
add ecx, eax
test dl, 4
je 0x430901
mov ebx, dword [edi + 0x8c]
add ebx, eax
add ecx, ebx
cmp dword [esi], ecx
jge 0x430901
or dword [esi + 8], 2
jmp 0x430938
test dl, 8
je 0x43091c
mov edx, dword [edi + 0x94]
add edx, eax
add ecx, edx
mov edx, dword [esi]
cmp edx, ecx
jge 0x430922
or dword [esi + 8], 4
jmp 0x430938
mov edx, dword [esi]
cmp edx, ecx
jl 0x430931
mov ecx, dword [esi + 0x28]
sub ecx, eax
cmp edx, ecx
jge 0x430931
or dword [esi + 8], 8
jmp 0x430938
mov dword [esi + 8], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4