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

Disassembly:
push 0xffffffffffffffff
push 0x524da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebp
push edi
mov edi, ecx
mov dword [esp + 8], edi
call fcn.004574e0
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + 0xc0]
xor ebp, ebp
cmp ecx, ebp
je 0x459ce7
push esi
mov esi, dword [esp + 0x7c]
cmp esi, ebp
je 0x459ce6
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x459ce6
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], esi
mov dword [edi + 0x44], ebp
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a4]
cmp dword [edi + 0x30], ebp
jne 0x45953d
pop esi
mov dword [edi + 0x3c], ebp
pop edi
pop ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
push ebx
mov ebx, dword [edi + 0x4c]
cmp ebx, ebp
jne 0x45955c
cmp dword [0x5823bc], ebp
jne 0x459556
push ebp
call fcn.00448450
add esp, 4
mov ebx, dword [0x5823bc]
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], ebx
call fcn.00505a96
add ebx, 0xb4
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], ebp
call fcn.00467540
mov eax, dword [edi + 0x30]
dec eax
cmp eax, ebp
mov byte [esp + 0x78], 1
mov dword [esp + 0x84], eax
jl 0x4596ac
inc eax
mov dword [esp + 0x18], eax
jmp 0x4595b0
mov eax, dword [esp + 0x84]
test eax, eax
jl 0x459cfa
cmp eax, dword [edi + 0x30]
jge 0x459cfa
lea ebp, [eax*4]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + ebp]
mov ecx, dword [esi + 0x50]
add eax, ebp
lea eax, [esi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x45968c
mov edx, dword [esi + 0x54]
mov eax, dword [edx - 0xc]
test eax, eax
lea ebx, [esi + 0x54]
jne 0x45963f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [edi + 0x30]
cmp dword [esp + 0x18], eax
jg 0x459cfa
sub eax, dword [esp + 0x84]
dec eax
je 0x45963a
mov ecx, dword [edi + 0x2c]
add ebp, ecx
lea edx, [eax*4]
push edx
lea eax, [ebp + 4]
push eax
push ebp
call fcn.0042c400
add esp, 0xc
dec dword [edi + 0x30]
jmp 0x45968c
mov ecx, ebx
call fcn.00446850
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x459654
or eax, 0xffffffff
jmp 0x45966c
push 0x26
push eax
call fcn.0042ec1e
add esp, 8
test eax, eax
jne 0x459668
or eax, 0xffffffff
jmp 0x45966c
sub eax, dword [ebx]
sar eax, 1
inc eax
js 0x459a90
mov ebx, dword [ebx]
cmp eax, dword [ebx - 0xc]
jg 0x459a90
movzx eax, word [ebx + eax*2]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.00459470
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
dec eax
dec edx
test eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], edx
jge 0x4595b0
mov ebp, dword [edi + 0x30]
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], ebp
jle 0x459a6f
lea ecx, [ecx]
test ebx, ebx
jl 0x459cfa
cmp ebx, dword [edi + 0x30]
jge 0x459cfa
mov ecx, dword [edi + 0x2c]
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x50]
lea eax, [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x459703
cmp eax, dword [esi]
jne 0x459703
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x45973b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x459a8b
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
add eax, 0x10
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x38], 0x54b294
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 3
call fcn.004d5e00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, ecx
mov dword [eax], ebp
mov dword [esp + 0x30], ebx
mov esi, ebx
jge 0x4597f2
jmp 0x459790
mov edi, dword [esp + 0x10]
lea esp, [esp]
test esi, esi
jl 0x459cfa
cmp esi, dword [edi + 0x30]
jge 0x459cfa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov edi, dword [ecx + esi*4]
mov edx, dword [esp + 0x20]
lea eax, [ecx + esi*4]
mov eax, dword [edi + 0x50]
push edx
push eax
call fcn.0042c9e5
add esp, 8
test eax, eax
jne 0x4597e5
mov eax, dword [esp + 0x40]
test eax, eax
mov ebp, eax
jl 0x459cfa
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x40]
call fcn.004d5e00
mov eax, dword [esp + 0x3c]
mov dword [eax + ebp*4], edi
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x459788
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
cmp esi, 2
jl 0x459a20
push 0x54b818
lea ecx, [esp + 0x88]
call fcn.00402aa0
xor eax, eax
test esi, esi
mov byte [esp + 0x78], 4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
jle 0x4599f6
jmp 0x459835
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x459cfa
cmp eax, esi
jge 0x459cfa
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + eax*4]
mov edx, dword [edi + 0x54]
mov eax, dword [edx - 0xc]
xor esi, esi
test eax, eax
jle 0x45991b
mov ecx, dword [esp + 0x84]
test esi, esi
jl 0x459a90
mov eax, dword [edi + 0x54]
cmp esi, dword [eax - 0xc]
jg 0x459a90
mov edx, dword [ecx - 0xc]
test edx, edx
movzx eax, word [eax + esi*2]
jle 0x4598ad
push eax
push ecx
call fcn.0042ec1e
mov ecx, dword [esp + 0x8c]
add esp, 8
test eax, eax
je 0x4598ad
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x4598ad
mov eax, dword [edi + 0x54]
mov edx, dword [eax - 0xc]
inc esi
cmp esi, edx
jl 0x459863
jmp 0x45991b
mov eax, dword [edi + 0x54]
cmp esi, dword [eax - 0xc]
jg 0x459a90
mov bx, word [eax + esi*2]
mov eax, dword [ecx - 4]
mov edi, dword [ecx - 0xc]
mov edx, 1
sub edx, eax
mov eax, dword [ecx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x4598ea
push esi
lea ecx, [esp + 0x88]
call fcn.004034d0
mov ecx, dword [esp + 0x84]
test esi, esi
mov word [ecx + edi*2], bx
jl 0x459a90
mov eax, dword [esp + 0x84]
cmp esi, dword [eax - 8]
jg 0x459a90
test bx, bx
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x84]
mov word [ecx + esi*2], 0
jne 0x459987
call fcn.005011a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push 0x54b810
push ecx
mov byte [esp + 0x84], 5
call fcn.004046f0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
add esp, 0xc
test ecx, ecx
jl 0x459a90
mov esi, dword [esp + 0x1c]
mov bx, word [eax]
inc esi
add eax, 0xfffffff0
mov dword [esp + 0x1c], esi
mov byte [esp + 0x78], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x50]
mov ebp, dword [eax - 0xc]
mov edx, dword [eax - 4]
mov eax, dword [eax - 8]
add esi, 0x50
lea edi, [ebp + 1]
mov ecx, 1
sub ecx, edx
sub eax, edi
or eax, ecx
jge 0x4599b9
push edi
mov ecx, esi
call fcn.004034d0
test edi, edi
mov eax, dword [esi]
mov word [eax + ebp*2], bx
jl 0x459a90
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x459a90
mov ecx, dword [esp + 0x40]
mov dword [eax - 0xc], edi
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
inc eax
cmp eax, ecx
mov word [edx + edi*2], 0
mov dword [esp + 0x18], eax
jl 0x45982d
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
mov byte [esp + 0x78], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459a1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x78], 2
mov dword [esp + 0x38], 0x54b294
je 0x459a3a
push eax
call fcn.00500fd3
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x78], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov edi, dword [esp + 0x10]
jl 0x4596c0
mov ebp, eax
mov ecx, dword [edi + 0x9c]
call fcn.00500163
test eax, 0x400000
je 0x459a9a
mov dword [esp + 0x2c], 1
jmp 0x459aa4
call fcn.00403210
push 0x80070057
call fcn.00403070
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x2c], eax
test ebp, ebp
mov dword [esp + 0x84], 0
jle 0x459c91
jmp 0x459ac0
mov eax, dword [esp + 0x84]
test eax, eax
jl 0x459cfa
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 0x30]
jge 0x459cfa
mov ecx, dword [ecx + 0x2c]
mov esi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 2
cmp eax, 0xf
mov ebx, eax
jg 0x459b14
mov ebx, 0xf
lea edi, [ecx + 6]
cmp edi, 0x10
jg 0x459b21
mov edi, 0x10
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x58]
push eax
push 0x53bde8
call fcn.00503c61
add esp, 8
test eax, eax
jne 0x459b5a
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esi + 0x6c]
test cl, 4
je 0x459b6d
mov eax, ebx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x459b7a
mov edx, ecx
and dl, 8
neg dl
sbb edx, edx
and edx, ebx
mov ebp, edx
test cl, 1
je 0x459b88
mov eax, edi
cdq
sub eax, edx
sar eax, 1
jmp 0x459b9b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x459b99
test cl, 2
jne 0x459b99
xor eax, eax
jmp 0x459b9b
mov eax, edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub ecx, ebp
sub edx, eax
mov eax, dword [esp + 0x28]
add ebx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xd0]
add edi, edx
test ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
je 0x459bd7
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x459bd7
mov edi, 1
jmp 0x459bd9
xor edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x9c]
mov ebx, dword [esi]
push 0
push 0
push eax
lea edx, [esp + 0x44]
push edx
push SysReAllocString
push 0
push 0
push 0
push 0
push 0x800
call fcn.004fcf44
push eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x80000
or eax, 0x80
push eax
mov ecx, esi
call dword [ebx + 0x58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0x210
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
push ecx
push 0x5813f0
mov ecx, esi
call fcn.005003fc
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
push 1
push esi
push 0
mov ecx, ebx
call dword [eax + 0xfc]
test edi, edi
je 0x459c70
mov ecx, dword [esi + 0x1c]
push 2
push 0x96
push 0
push ecx
call dword [ebx + 0xd0]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x459ac0
mov edi, dword [esp + 0x10]
mov ebp, ecx
xor esi, esi
test ebp, ebp
jle 0x459cc6
test esi, esi
jl 0x459cfa
cmp esi, dword [edi + 0x30]
jge 0x459cfa
mov edx, dword [edi + 0x2c]
push 0x253
push 0
push 0
lea eax, [edx + esi*4]
mov eax, dword [eax]
push 0
push 0
push 0x5813f0
mov ecx, eax
call fcn.005003fc
inc esi
cmp esi, ebp
jl 0x459c97
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 0
call fcn.00467590
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00505af1
pop ebx
pop esi
mov ecx, dword [esp + 0x68]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
call fcn.004f96a8
int3