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

Disassembly:
push 0xffffffffffffffff
push 0x4a778c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x64], ebp
cmp esi, ebx
je 0x461a97
mov eax, dword [esp + 0x20c]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0xe8], ecx
lea edx, [esp + 0xe8]
mov edi, dword [eax + 0x2c]
push ebx
mov dword [esp + 0xf0], edi
mov eax, dword [esi + 0x40]
neg eax
sbb eax, eax
push edx
and eax, 0xfffff810
mov dword [esp + 0x44], edi
add eax, 0x7f6
push eax
call fcn.00463800
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x20]
push eax
call fcn.004989c5
mov ecx, dword [esp + 0x20c]
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x204], ebx
mov edx, dword [ecx + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x50], edx
sete cl
cmp eax, ebx
mov dword [esp + 0x38], ecx
jle 0x4614fb
mov edx, dword [esp + 0x20]
push 0x4d454c
push edx
call fcn.00487ca4
add esp, 8
mov dword [esp + 0x44], 1
test eax, eax
je 0x4614ff
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x20c]
lea ecx, [esp + 0x10]
add eax, 0x1c
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x38], ebx
je 0x461529
push ebx
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ebx
cmp eax, ebx
mov dword [esp + 0x78], ebx
jne 0x461551
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
push edi
call fcn.00462dd0
test eax, eax
je 0x461551
mov edi, 1
jmp 0x461553
xor edi, edi
mov eax, dword [esp + 0x50]
lea ecx, [esi + 0x1a8]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00465930
cmp edi, ebx
mov byte [esp + 0x204], 1
je 0x4615dc
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.00462e40
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
push ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push ebx
add ecx, eax
mov dword [esp + 0x94], eax
sub eax, ecx
mov dword [esp + 0x9c], ecx
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], edx
call fcn.004a17b4
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
cmp edi, ebx
lea edx, [eax + ecx + 6]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
je 0x46175d
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esi + 0x84]
mov eax, ecx
xor edx, edx
shr eax, 4
div ebx
mov edi, dword [esi + 0x80]
test edi, edi
mov dword [esp + 0x54], edx
je 0x461658
mov eax, dword [edi + edx*4]
test eax, eax
je 0x461654
cmp dword [eax + 8], ecx
je 0x46164c
mov eax, dword [eax]
test eax, eax
jne 0x46163f
jmp 0x461654
test eax, eax
jne 0x46172d
test edi, edi
jne 0x461688
lea ebp, [ebx*4]
push ebp
call fcn.00498698
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x80], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x84], ebx
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x4616d0
mov eax, dword [esi + 0x94]
push 0x20
lea ecx, [esi + 0x90]
push eax
push ecx
call fcn.00498124
mov ecx, dword [esi + 0x94]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x4616d0
inc ecx
mov edx, dword [esi + 0x8c]
mov dword [eax], edx
mov dword [esi + 0x8c], eax
sub eax, 0x20
dec ecx
jne 0x4616bc
mov edi, dword [esi + 0x8c]
mov ebp, dword [esi + 0x88]
inc ebp
push 1
mov eax, dword [edi]
mov dword [esi + 0x88], ebp
lea ebp, [edi + 8]
mov dword [esi + 0x8c], eax
push ebp
call fcn.00463350
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.00463370
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov dword [ebp], edx
mov edx, dword [esi + 0x80]
mov ebp, dword [esp + 0x64]
mov eax, edi
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edx, dword [esi + 0x80]
mov dword [edx + ecx*4], edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.00462d20
push eax
lea eax, [esp + 0xc0]
push eax
mov ecx, ebp
call fcn.00462870
xor ebx, ebx
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x461795
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x100]
mov dword [esp + 0x30], eax
inc ecx
lea eax, [esp + 0x28]
push edx
mov dword [esp + 0x38], ecx
push eax
jmp 0x4617a4
mov ecx, dword [esi + 0x118]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.004a16a9
cmp dword [esp + 0x1f4], ebx
jle 0x461811
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x114]
lea eax, [edx + eax + 6]
mov edx, dword [esi + 0x110]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ecx
push ebx
lea eax, [esp + 0x2c]
push 2
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x3c], edx
call fcn.00466530
cmp dword [esp + 0x44], ebx
je 0x4618d2
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x28]
push edx
push 1
push ebx
call fcn.0049f611
lea eax, [esp + 0x28]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x208], 2
call fcn.0049ebf8
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x110]
cmp ecx, edx
jne 0x46186d
cmp ecx, dword [eax + 0x118]
jne 0x46186d
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 2]
jmp 0x461878
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax + 0xb]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
inc ecx
push ecx
push eax
push edx
lea ecx, [esp + 0xb8]
call fcn.0049f0e9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.0049f135
push esi
lea ecx, [esp + 0xb0]
call fcn.0049ebf8
mov dword [esp + 0x28], 0x4b9c00
lea ecx, [esp + 0x28]
mov byte [esp + 0x204], 3
call fcn.0049f5fb
jmp 0x461a6f
lea edx, [esp + 0x48]
lea eax, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x214]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
mov ecx, dword [eax + 0x10]
push edx
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
call fcn.00461e40
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add esp, 0x14
cmp eax, ebx
jne 0x461919
cmp ecx, ebx
je 0x461967
cmp dword [esp + 0x24], ebx
jne 0x461937
push ecx
push ebx
push eax
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0xbc]
push edx
push eax
mov ecx, ebp
call fcn.00461ea0
push 0xc
call fcn.00498698
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [eax], ecx
mov edx, dword [esi + 0x48]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1f0]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x1c]
push ebx
push eax
push 0x8121
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
cmp edi, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
jne 0x4619ab
mov ecx, dword [ebp + 0x14]
push ebx
push 0x10
add ecx, 0xb
push ebx
push ecx
lea ecx, [esp + 0x8c]
call fcn.004a17d2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x84]
push eax
mov eax, dword [esp + 0x218]
push ecx
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
mov ecx, ebp
call fcn.00462120
cmp edi, ebx
jne 0x461a6f
mov ecx, dword [esp + 0x1f0]
xor edx, edx
mov eax, ecx
mov edi, 0xfffffffe
shr eax, 4
div dword [esi + 0x178]
mov esi, dword [esi + 0x174]
cmp esi, ebx
je 0x461a20
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x461a20
cmp dword [eax + 8], ecx
je 0x461a19
mov eax, dword [eax]
cmp eax, ebx
jne 0x461a0c
jmp 0x461a20
cmp eax, ebx
je 0x461a20
mov edi, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
lea edx, [ecx + eax + 6]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push edi
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, ebp
call fcn.004623a0
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0
call fcn.004659c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x204], 0xffffffff
call fcn.00498957
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f8
ret 4