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

Disassembly:
push 0xffffffffffffffff
push 0x5caf18
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x61a654]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x68]
mov edx, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebx
cmp ecx, 0xffffffff
jne 0x4a744d
lea ecx, [edx + 0x30]
call fcn.00484dd0
mov dword [esp + 0x88], eax
mov ecx, eax
cmp byte [esp + 0x7c], 0
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
je 0x4a74c3
mov eax, dword [esp + 0x78]
sub eax, 0
je 0x4a7498
sub eax, 1
jne 0x4a74c3
mov esi, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x70]
push ebp
push edi
push eax
mov eax, dword [esp + 0x80]
push 0xffffffffffffffff
push esi
push eax
push ecx
push ebx
mov ecx, edx
call fcn.004a73f0
sub esi, eax
add dword [esp + 0x6c], esi
jmp 0x4a74c3
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push ebp
push edi
push 0
push 0xffffffffffffffff
push esi
push eax
push ecx
push ebx
mov ecx, edx
call fcn.004a73f0
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x6c], eax
xor edx, edx
cmp ebp, edx
jl 0x4a74d3
mov ecx, dword [ebx + 0x14]
lea eax, [edi + ebp]
cmp eax, ecx
jle 0x4a74d6
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edx
mov word [esp + 0x3c], cx
cmp edi, eax
mov ebp, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebp
jge 0x4a7731
lea esi, [edi + 1]
mov dword [esp + 0x18], esi
jmp 0x4a7514
mov ebx, dword [esp + 0x14]
cmp ebp, dword [ebx + 0x14]
jbe 0x4a751e
call fcn.0059ec50
cmp dword [ebx + 0x18], 8
jb 0x4a752c
mov eax, dword [ebx + 4]
add ebx, 4
jmp 0x4a7531
add ebx, 4
mov eax, ebx
cmp word [eax + ebp*2], 0x5e
jne 0x4a76f0
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x4a], 0
je 0x4a76f0
cmp esi, dword [esp + 0x84]
mov edi, dword [esp + 0x14]
jge 0x4a7589
cmp esi, dword [edi + 0x14]
jbe 0x4a7561
call fcn.0059ec50
cmp dword [edi + 0x18], 8
jb 0x4a756b
mov eax, dword [ebx]
jmp 0x4a756d
mov eax, ebx
cmp word [eax + ebp*2 + 2], 0x5e
jne 0x4a7589
push 0x5e
push 1
lea ecx, [esp + 0x40]
call fcn.0046be80
inc ebp
inc esi
jmp 0x4a771a
mov eax, dword [esp + 0x84]
add eax, 0xfffffff8
cmp ebp, eax
jg 0x4a7731
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, dword [edi + 0x14]
jbe 0x4a75ab
call fcn.0059ec50
cmp dword [edi + 0x18], 8
jb 0x4a75b5
mov eax, dword [ebx]
jmp 0x4a75b7
mov eax, ebx
cmp word [eax + ebp*2 + 2], 0x6f
jne 0x4a75e7
push 6
push str.oldclr
mov ecx, edi
call fcn.00409230
lea edx, [eax + ebp*2 + 2]
push edx
call fcn.005a5ee5
add esp, 0xc
test eax, eax
jne 0x4a7658
mov esi, dword [esp + 0x88]
jmp 0x4a7658
mov ebp, dword [esp + 0x18]
mov edi, 0x14
mov eax, dword [esp + 0x14]
cmp ebp, dword [eax + 0x14]
jbe 0x4a75fe
call fcn.0059ec50
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x18], 8
jb 0x4a760c
mov eax, dword [ebx]
jmp 0x4a760e
mov eax, ebx
movzx ecx, word [eax + ebp*2]
lea edx, [ecx - 0x30]
xor eax, eax
cmp dx, 9
ja 0x4a7625
movzx eax, cx
sub eax, 0x30
jmp 0x4a7645
lea edx, [ecx - 0x41]
cmp dx, 5
ja 0x4a7636
movzx eax, cx
sub eax, 0x37
jmp 0x4a7645
lea edx, [ecx - 0x61]
cmp dx, 5
ja 0x4a7645
movzx eax, cx
sub eax, 0x57
mov ecx, edi
shl eax, cl
sub edi, 4
inc ebp
add esi, eax
cmp edi, 0xfffffffc
jg 0x4a75f0
mov ebp, dword [esp + 0x24]
cmp byte [esp + 0x7c], 0
mov ebx, dword [esp + 0x20]
je 0x4a76b9
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push eax
add edx, ecx
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.00490a10
mov ecx, ebx
call fcn.004909a0
mov ecx, dword [eax + 0xc]
push ecx
mov edx, esi
mov eax, esi
and edx, 0xff
shr eax, 8
push edx
and eax, 0xff
shr esi, 0x10
push eax
and esi, 0xff
push esi
lea ecx, [esp + 0x38]
call fcn.0052b500
push eax
mov ecx, ebx
call fcn.00490980
add dword [esp + 0x18], 7
mov ecx, ebx
add ebp, 7
call fcn.00490960
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call edx
add dword [esp + 0x1c], eax
push 0
push 0x5dc510
lea ecx, [esp + 0x40]
call fcn.0040bf20
mov esi, dword [esp + 0x18]
jmp 0x4a771a
mov edi, dword [esp + 0x14]
cmp ebp, dword [edi + 0x14]
jbe 0x4a76fe
call fcn.0059ec50
cmp dword [edi + 0x18], 8
jb 0x4a7708
mov eax, dword [ebx]
jmp 0x4a770a
mov eax, ebx
movzx eax, word [eax + ebp*2]
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.0046be80
inc ebp
inc esi
cmp ebp, dword [esp + 0x84]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], esi
jl 0x4a7510
cmp byte [esp + 0x7c], 0
je 0x4a7756
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push ecx
add edx, eax
push edx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00490a10
mov ecx, dword [esp + 0x20]
call fcn.00490960
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call edx
mov esi, eax
add esi, dword [esp + 0x1c]
cmp dword [esp + 0x50], 8
jb 0x4a7787
mov eax, dword [esp + 0x3c]
push eax
call fcn.0059e6bb
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0059e619
add esp, 0x50
ret 0x24