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

Disassembly:
push 0xffffffffffffffff
push 0x4c95af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov al, byte [esp + 0x70]
mov ebx, 1
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x24], al
call fcn.004962d0
mov cl, byte [esp + 0x70]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.004962d0
mov dl, byte [esp + 0x70]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 3
mov byte [esp + 0x44], dl
call fcn.004962d0
push 2
lea eax, [esp + 0x54]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 4
call fcn.004a0e50
mov ecx, dword [0x4f7068]
mov byte [esp + 0x68], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.004a0fe0
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 4
call fcn.004962d0
mov edi, 0x511cb0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x511cb0
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.004a1270
test eax, eax
je 0x4a08ca
mov esi, dword [esp + 0x70]
mov al, byte [esp + 0x74]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.004962d0
mov ecx, dword [0x4f7068]
lea edx, [esp + 0x74]
push ecx
push 0
push edx
mov ecx, esi
call fcn.004a0fe0
mov dword [esp + 0x14], ebx
jmp 0x4a0b99
push ebx
lea eax, [esp + 0x17]
push 2
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x1f], 0x3f
call fcn.004a11e0
mov esi, eax
cmp esi, 0xffffffff
je 0x4a0b6d
inc esi
push ebx
lea ecx, [esp + 0x54]
push esi
push ecx
lea ecx, [esp + 0x80]
call fcn.004a0e50
mov edx, dword [0x4f7068]
lea ecx, [esp + 0x20]
push edx
push 0
push eax
mov byte [esp + 0x74], 6
call fcn.004a0fe0
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 4
call fcn.004962d0
mov edi, 0x511cac
or ecx, 0xffffffff
xor eax, eax
add esi, 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x511cac
lea ecx, [esp + 0x80]
call fcn.004a11e0
cmp eax, 0xffffffff
jne 0x4a0979
mov esi, dword [esp + 0x70]
mov al, byte [esp + 0x74]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.004962d0
mov ecx, dword [0x4f7068]
lea edx, [esp + 0x74]
push ecx
push 0
push edx
jmp 0x4a0b8e
sub eax, esi
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x54]
push esi
push eax
call fcn.004a0e50
mov ecx, dword [0x4f7068]
mov byte [esp + 0x68], 7
push ecx
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.004a0fe0
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 4
call fcn.004962d0
mov edx, dword [esp + 0x38]
push edx
call fcn.004a92e7
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], ebp
test eax, eax
je 0x4a09dc
lea ecx, [esp + 0x20]
call fcn.004a12e0
mov eax, dword [esp + 0x24]
jmp 0x4a09e1
mov eax, 0x4f7064
movsx eax, byte [eax]
add eax, 0xffffffbe
cmp eax, 0x2f
ja case.0x4a09f8.68
xor ecx, ecx
mov cl, byte [eax + 0x4a0bf8]
jmp dword [ecx*4 + 0x4a0bec]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x4a0a14
mov ecx, 0x4f7064
xor edi, edi
mov esi, ebp
test eax, eax
jle 0x4a0a90
mov al, byte [ecx]
cmp al, 0xd
je 0x4a0a88
cmp al, 0xa
je 0x4a0a88
movsx edx, al
movsx eax, byte [edx + 0x4f6fe0]
movsx edx, byte [ecx + 1]
shl eax, 0x12
inc ecx
movsx edx, byte [edx + 0x4f6fe0]
shl edx, 0xc
add eax, edx
inc ecx
mov edx, eax
sar edx, 0x10
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
cmp dl, 0x3d
je 0x4a0a83
movsx edx, dl
movsx edx, byte [edx + 0x4f6fe0]
shl edx, 6
add eax, edx
inc ecx
mov edx, eax
sar edx, 8
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
cmp dl, 0x3d
je 0x4a0a83
movsx edx, dl
movsx edx, byte [edx + 0x4f6fe0]
add eax, edx
inc ecx
mov byte [esi], al
inc esi
add edi, 4
jmp 0x4a0a8a
inc ecx
inc edi
cmp edi, dword [esp + 0x18]
jl 0x4a0a1c
mov byte [esi], 0
jmp 0x4a0b09
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
test esi, esi
mov ebx, eax
jne 0x4a0aa8
mov esi, 0x4f7064
mov edi, ebp
xor ebp, ebp
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x4a0afd
push 3
push 0x511c8c
push esi
call fcn.004a7f30
add esp, 0xc
test eax, eax
jne 0x4a0ad0
add esi, 3
add ebp, 3
jmp 0x4a0af9
mov al, byte [esi]
cmp al, 0x3d
jne 0x4a0af4
cmp byte [esi + 1], 0x3d
je 0x4a0b4b
push edi
push str._02X
push esi
call fcn.004a9ddd
add esp, 0xc
inc edi
add esi, 3
add ebp, 3
jmp 0x4a0af9
mov byte [edi], al
inc edi
inc esi
inc ebp
cmp ebp, ebx
jl 0x4a0ab4
mov byte [edi], 0
mov ebp, dword [esp + 0x18]
mov ebx, 1
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x48]
call fcn.004a1440
push ebp
call fcn.004a91fe
mov esi, dword [esp + 0x74]
mov cl, byte [esp + 0x44]
add esp, 4
mov byte [esi], cl
mov ecx, esi
push 0
call fcn.004962d0
mov edx, dword [0x4f7068]
lea eax, [esp + 0x40]
push edx
push 0
jmp 0x4a0b8d
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.004a9100
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x4a0b00
push ebp
call fcn.004a91fe
add esp, 4
mov esi, dword [esp + 0x70]
mov cl, byte [esp + 0x74]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.004962d0
mov edx, dword [0x4f7068]
lea eax, [esp + 0x74]
push edx
push 0
push eax
mov ecx, esi
call fcn.004a0fe0
mov dword [esp + 0x14], ebx
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 3
call fcn.004962d0
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.004962d0
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call fcn.004962d0
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call fcn.004962d0
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x14