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

Disassembly:
push 0xffffffffffffffff
push 0x4ec129
mov eax, dword fs:[0]
push eax
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
cmp byte [ecx + 0x7d], bl
je 0x4a758e
mov eax, dword [esp + 0x244]
cmp byte [esp + 0x248], bl
je 0x4a73c4
mov ecx, eax
shr ecx, 5
dec eax
xor ebp, ebp
shr eax, 5
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
push 1
push 2
lea ecx, [esp + 0x1b4]
call fcn.00430f60
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x234], ebx
cmp eax, ebx
je 0x4a701a
lea esi, [eax + 4]
jmp 0x4a701c
xor esi, esi
lea eax, [esp + 0x88]
push 2
push eax
call fcn.004caa48
lea ecx, [esp + 0x1b4]
push esi
push ecx
mov edi, eax
call fcn.00471dc0
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x4a7048
xor eax, eax
jmp 0x4a704f
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov byte [eax + 0x30], 0x30
lea eax, [ebp + 1]
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.00445510
mov edi, 0x20
cmp dword [esp + 0x78], ebp
jne 0x4a708a
mov edi, dword [esp + 0x244]
and edi, 0x1f
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1b0]
call fcn.0042e240
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 1
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0042b580
mov esi, 0x41c480
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x240]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x30]
push edi
push ebp
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x240], 2
call fcn.004a59c0
mov dword [esp + 0x18], esi
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x4a7107
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x234], bl
cmp dword [esp + 0x70], esi
jb 0x4a7131
mov edx, dword [esp + 0x5c]
push edx
call fcn.004cada5
add esp, 4
push 1
push 2
lea ecx, [esp + 0xb4]
call fcn.00430f60
xor esi, esi
cmp edi, ebx
mov byte [esp + 0x234], 3
jle 0x4a71d9
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0xbc]
lea eax, [esp + eax + 0xac]
and ecx, 0xfffff9ff
or ecx, 0x804
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0xac]
mov byte [eax + 0x30], 0x30
lea eax, [esp + 0x80]
push 2
push eax
call fcn.004caa48
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xb4]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
lea edx, [esp + ecx + 0xb8]
push edx
call eax
movzx cx, byte [esi + ebp]
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0xb0]
call fcn.00472040
inc esi
cmp esi, edi
jl 0x4a7153
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
call fcn.0042e240
push 0xffffffffffffffff
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x240], 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0042b580
mov esi, 0x41c480
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x238], 5
call fcn.0042e240
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 6
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0042b580
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x30]
mov byte [esp + 0x234], 7
mov ecx, esi
cmp esi, 3
jb 0x4a7270
lea ecx, [edi - 0xc]
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4a727f
lea eax, [esp + 0x20]
push ecx
push 0x420c00
push eax
call fcn.00427de0
add esp, 0xc
cmp eax, ebx
jne 0x4a72a3
cmp esi, 3
jb 0x4a72a3
xor eax, eax
cmp esi, 3
setne al
cmp eax, ebx
je 0x4a72bf
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004a5930
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004a5930
mov esi, 0x10
mov dword [esp + 0x18], 0x41c480
cmp dword [esp + 0x34], esi
jb 0x4a72df
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x70], esi
jb 0x4a72fe
mov edx, dword [esp + 0x5c]
push edx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x38], 0x41c480
cmp dword [esp + 0x54], esi
jb 0x4a7325
mov eax, dword [esp + 0x40]
push eax
call fcn.004cada5
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0xa8], esi
jb 0x4a734a
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004cada5
add esp, 4
add ebp, 0x20
lea ecx, [esp + 0xf8]
mov dword [esp + 0x240], ebp
mov byte [esp + 0x234], bl
call fcn.0042a0e0
lea edx, [esp + 0xf8]
mov esi, 0x41c690
push edx
mov dword [esp + 0xfc], esi
call fcn.004ca827
add esp, 4
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x234], 0xffffffff
call fcn.0042a0e0
lea eax, [esp + 0x1f8]
push eax
mov dword [esp + 0x1fc], esi
call fcn.004ca827
mov ebp, dword [esp + 0x78]
add esp, 4
cmp ebp, dword [esp + 0x7c]
jbe 0x4a6ff3
jmp 0x4a758e
cmp eax, 0x20
jb 0x4a73ce
mov eax, 0x20
mov edi, dword [esp + 0x240]
mov ebp, dword [esp + 0x23c]
mov ecx, dword [ecx + 0x30]
push eax
push edi
push ebp
call fcn.004a59c0
push 1
push 2
lea ecx, [esp + 0x134]
call fcn.00430f60
mov dword [esp + 0x234], 8
xor esi, esi
mov eax, dword [esp + 0x244]
cmp eax, 0x20
jb 0x4a7415
mov eax, 0x20
cmp esi, eax
jae 0x4a749d
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx + 4]
mov edx, dword [esp + eax + 0x13c]
lea eax, [esp + eax + 0x12c]
and edx, 0xfffff9ff
or edx, 0x804
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x80]
push 2
push edx
mov byte [esp + ecx + 0x164], 0x30
call fcn.004caa48
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x134]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
lea edx, [esp + ecx + 0x138]
push edx
call eax
movzx cx, byte [esi + edi]
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0x130]
call fcn.00472040
inc esi
jmp 0x4a7404
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x130]
call fcn.0042e240
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x240], 9
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0042b580
mov edi, 0x41c480
mov dword [esp + 0x38], edi
mov edx, dword [ebp + 0x18]
push 3
lea ecx, [ebp + 4]
push 0x420c00
push edx
push ebx
mov byte [esp + 0x244], 0xa
call fcn.004295b0
test eax, eax
je 0x4a7515
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.004a5930
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.004a5930
mov dword [esp + 0x38], edi
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x4a7531
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], edi
jb 0x4a7550
mov edx, dword [esp + 0x5c]
push edx
call fcn.004cada5
add esp, 4
lea ecx, [esp + 0x178]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x234], 0xffffffff
call fcn.0042a0e0
lea eax, [esp + 0x178]
push eax
mov dword [esp + 0x17c], 0x41c690
call fcn.004ca827
add esp, 4
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 0x10