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

Disassembly:
push 0xffffffffffffffff
push 0x5e99a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
call fcn.004a8910
mov eax, dword [edi + 0x70]
xor ebp, ebp
cmp dword [eax + 0xc4], ebp
je 0x4a88f2
mov esi, dword [esp + 0x94]
cmp esi, ebp
je 0x4a88f2
cmp dword [esi + 0x1c], ebp
je 0x4a88f2
mov ecx, edi
call fcn.004aa970
mov ecx, eax
call fcn.004e8420
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esp + 0x98]
mov eax, dword [edi]
push esi
mov ecx, edi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], ebp
call dword [eax + 0x94]
cmp dword [edi + 0x30], ebp
jne 0x4a829f
mov dword [edi + 0x3c], ebp
jmp 0x4a88f2
push ebx
mov ecx, edi
call fcn.004aa7f0
mov ebx, eax
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], ebx
call fcn.005c97fe
add ebx, 0xb4
lea ecx, [esp + 0x74]
push ebx
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x98], ebp
call fcn.004d5e20
mov ebx, dword [edi + 0x30]
mov byte [esp + 0x90], 1
dec ebx
cmp ebx, ebp
jl 0x4a83ee
mov edx, dword [edi + 0x2c]
xor ecx, ecx
mov esi, dword [edx + ebx*4]
mov eax, dword [esi + 0x3c]
lea ebp, [esi + 0x3c]
mov edx, dword [eax - 8]
test edx, edx
setne cl
mov eax, ecx
test eax, eax
mov dword [esi + 0x64], eax
jne 0x4a83e5
mov edx, dword [esi + 0x40]
lea edi, [esi + 0x40]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4a8357
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
test esi, esi
je 0x4a832b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x30]
sub eax, ebx
dec eax
je 0x4a834f
mov ecx, dword [esi + 0x2c]
shl eax, 2
push eax
lea edx, [ecx + ebx*4 + 4]
lea eax, [ecx + ebx*4]
push edx
push eax
call fcn.00494590
add esp, 0xc
dec dword [esi + 0x30]
jmp 0x4a83e1
mov ecx, edi
call fcn.005c5082
mov eax, dword [edi]
push eax
call fcn.004d93d0
mov ecx, dword [esi + 0x44]
add esi, 0x44
add esp, 4
mov dword [esp + 0x30], eax
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4a83d9
mov edx, dword [edi]
mov al, byte [edx + eax + 1]
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.005bcdda
call fcn.004fb520
mov ecx, eax
call fcn.004fb790
cmp eax, 1
jle 0x4a83e1
mov edx, dword [ebp]
mov al, byte [edx]
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
and ecx, 0xff
test byte [ecx + 0x6e4e01], 4
je 0x4a83e1
mov edx, dword [edi]
mov eax, dword [esp + 0x30]
mov cl, byte [edx + eax + 2]
mov byte [esp + 0x28], cl
mov ecx, ebp
mov edx, dword [esp + 0x28]
push edx
call fcn.005c4f63
jmp 0x4a83e1
push esi
mov ecx, ebp
call fcn.005c4c99
mov edi, dword [esp + 0x10]
dec ebx
jns 0x4a82e7
xor ebp, ebp
mov esi, dword [edi + 0x30]
cmp esi, ebp
mov dword [esp + 0x18], esi
jle 0x4a86d3
mov ebx, 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebx
jmp 0x4a840e
xor ebp, ebp
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax + ecx]
lea ecx, [esp + 0x24]
lea edx, [esi + 0x3c]
push edx
call fcn.005c48d5
mov dword [esp + 0x50], 0x60d7cc
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x98], 3
call fcn.00570180
mov eax, dword [esp + 0x54]
push 0x656e30
lea ecx, [esp + 0x18]
mov dword [eax], esi
call fcn.005c4bce
mov eax, dword [esp + 0x18]
mov byte [esp + 0x90], 4
cmp ebx, eax
mov ebp, ebx
jge 0x4a84d2
mov ecx, dword [edi + 0x2c]
mov esi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x3c]
mov al, byte [edx]
mov dl, byte [ecx]
cmp al, dl
jne 0x4a84c9
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.00570180
mov edx, dword [esp + 0x54]
mov dword [edx + edi*4], esi
mov esi, dword [esi + 0x3c]
cmp dword [esi - 8], 2
jne 0x4a84c5
mov al, byte [esi + 1]
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.005c4f63
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x4a8478
mov eax, dword [esp + 0x58]
cmp eax, 2
jge 0x4a850d
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.005c4b60
mov dword [esp + 0x50], 0x60d7cc
mov eax, dword [esp + 0x54]
mov byte [esp + 0x90], 5
test eax, eax
je 0x4a869f
jmp 0x4a8696
xor ecx, ecx
mov dword [esp + 0x30], 1
test eax, eax
mov dword [esp + 0x34], ecx
jle 0x4a866d
mov edx, dword [esp + 0x54]
mov edi, dword [edx + ecx*4]
mov edx, dword [edi + 0x3c]
mov esi, dword [edx - 8]
lea ebp, [edi + 0x3c]
cmp esi, 1
jg 0x4a865c
mov eax, dword [edi + 0x40]
xor esi, esi
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jle 0x4a8599
cmp byte [eax + esi], 0x20
jne 0x4a856a
mov al, byte [eax + esi + 1]
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.005c5027
cmp eax, 0xffffffff
je 0x4a8578
mov eax, dword [edi + 0x40]
inc esi
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jl 0x4a8549
jmp 0x4a8599
mov edx, dword [edi + 0x40]
lea ecx, [esp + 0x14]
mov bl, byte [edx + esi + 1]
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
push eax
call fcn.005c4f63
test bl, bl
jne 0x4a8644
mov eax, dword [edi + 0x40]
xor edx, edx
mov cl, byte [eax]
cmp cl, 0x26
sete dl
mov esi, edx
mov edx, dword [ebp]
mov cl, byte [eax + esi]
mov bl, byte [edx]
cmp cl, bl
jne 0x4a85b5
inc esi
cmp esi, dword [eax - 8]
jge 0x4a85fb
mov al, byte [eax + esi]
mov byte [esp + 0x4c], al
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.005c5027
cmp eax, 0xffffffff
je 0x4a85df
mov eax, dword [edi + 0x40]
inc esi
cmp esi, dword [eax - 8]
jl 0x4a85ba
jmp 0x4a85fb
mov edx, dword [edi + 0x40]
lea ecx, [esp + 0x14]
mov bl, byte [edx + esi]
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
push eax
call fcn.005c4f63
test bl, bl
jne 0x4a8644
mov ecx, dword [0x65290c]
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x20]
push esi
push 0x656e2c
push edx
mov byte [esp + 0x9c], 6
call fcn.005bd692
mov eax, dword [esp + 0x2c]
add esp, 0xc
inc esi
mov byte [esp + 0x90], 4
mov cl, byte [eax]
mov dword [esp + 0x30], esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x20]
call fcn.005c4b60
mov edx, dword [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.005c4f63
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x4a8523
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.005c4b60
mov dword [esp + 0x50], 0x60d7cc
mov eax, dword [esp + 0x54]
mov byte [esp + 0x90], 7
test eax, eax
je 0x4a869f
push eax
call fcn.005c0126
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 1
call fcn.005c4b60
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
add esi, 4
inc ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ebx
lea eax, [ebx - 1]
cmp eax, ecx
jl 0x4a840c
xor ebp, ebp
mov esi, ecx
mov ecx, edi
call fcn.004a9360
mov dword [esp + 0x4c], eax
xor eax, eax
cmp esi, ebp
mov dword [esp + 0x38], eax
jle 0x4a88a3
mov ecx, dword [edi + 0x2c]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x58], ebp
je 0x4a888e
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 2]
cmp eax, 0xf
mov ebp, eax
jg 0x4a8729
mov ebp, 0xf
mov edx, dword [esp + 0x3c]
lea eax, [edx + 6]
cmp eax, 0x10
mov ebx, eax
jg 0x4a873c
mov ebx, 0x10
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x48]
push edx
push 0x6072a0
call fcn.005c64bf
add esp, 8
test eax, eax
jne 0x4a8775
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x44]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esi + 0x60]
test cl, 4
je 0x4a8788
mov eax, ebp
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x4a8794
mov eax, ecx
and al, 8
neg al
sbb eax, eax
and eax, ebp
mov edi, eax
test cl, 1
je 0x4a87a2
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
jmp 0x4a87b5
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4a87b3
test cl, 2
jne 0x4a87b3
xor eax, eax
jmp 0x4a87b5
mov eax, ebx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
sub eax, edi
add ecx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
add eax, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0xe4]
test eax, eax
je 0x4a87f1
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4a87f1
mov edi, 1
jmp 0x4a87f3
xor edi, edi
mov edx, dword [esp + 0x98]
push 0
push 0
lea eax, [esp + 0x58]
push edx
push eax
push SysReAllocString
push 0
push 0
push 0
push 0
push 0x800
call fcn.005c1d61
mov ecx, edi
push eax
neg ecx
sbb ecx, ecx
and ecx, 0x80000
or cl, 0x80
push ecx
mov ecx, esi
call fcn.005c155a
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub edx, eax
push 0x210
push edx
mov edx, dword [esp + 0x60]
sub edx, ecx
push edx
push eax
push ecx
push 0x6989d8
mov ecx, esi
call fcn.005c4215
mov ecx, dword [esp + 0x2c]
push 1
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 0x138]
test edi, edi
je 0x4a8888
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x2c]
push 2
push 0x96
push 0
push ecx
call dword [edx + 0xe4]
mov edi, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x4a86ec
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp ebx, ebp
jle 0x4a88cc
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x58], ebp
je 0x4a88c7
push 0x257
push ebp
push ebp
push ebp
push ebp
push ebp
call fcn.005c4215
inc esi
cmp esi, ebx
jl 0x4a88ad
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], 0
call fcn.004d5e80
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], 0xffffffff
call fcn.005c9870
pop ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x84
ret 8