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

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x98]
push ebx
push esi
mov esi, dword [0xa91f2c]
add eax, 0xffffeb24
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, dword [0xa91f30]
mov dword [esp + 0x14], eax
jne 0x4a6df3
mov dword [esp + 0x14], 1
cmp esi, edi
mov eax, edi
jg 0x4a6dfb
mov eax, esi
mov edx, edi
mov ecx, esi
push ebp
sub ecx, eax
sub edx, eax
xor ebp, ebp
add edi, esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], bl
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
mov byte [esp + 0x8f], bl
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], bl
mov dword [esp + 0x94], ebx
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], bl
mov byte [esp + 0x9b], bl
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], bl
mov dword [esp + 0x20], edi
cmp eax, ebx
jle 0x4a7042
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ecx
lea ebp, [esp + 0x28]
lea edi, [esp + 0x2e]
lea esi, [esp + 0x2d]
mov dword [esp + 0x1c], eax
nop
call fcn.0060fae0
and al, 1
mov byte [esi], al
call fcn.0060fae0
xor edx, edx
mov ecx, 5
div ecx
mov byte [edi], dl
call fcn.0060fae0
xor edx, edx
mov ecx, 0x14dc
div ecx
mov eax, dword [esp + 0x14]
mov byte [eax], bl
add eax, 0xc
add esi, 0xc
add edi, 0xc
add ebp, 0xc
mov dword [esp + 0x14], eax
add edx, 0x3c
mov dword [ebp - 0xc], edx
inc dword [esp + 0x10]
call fcn.0060fae0
and al, 1
mov byte [esi], al
call fcn.0060fae0
xor edx, edx
mov ecx, 5
div ecx
mov byte [edi], dl
call fcn.0060fae0
xor edx, edx
mov ecx, 0x14dc
div ecx
mov eax, dword [esp + 0x14]
and al, 0x14
mov ecx, dword [esp + 0x10]
mov byte [eax], 1
add eax, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add esi, 0xc
add edi, 0xc
add ebp, 0xc
add edx, 0x3c
mov dword [ebp - 0xc], edx
inc ecx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jne 0x4a6f90
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
cmp ecx, ebx
jle 0x4a7095
lea esi, [ebp + ebp*2]
add ebp, ecx
lea esi, [esp + esi*4 + 0x2e]
mov edi, ecx
mov dword [esp + 0x10], ebp
call fcn.0060fae0
and al, 1
mov byte [esi - 1], al
call fcn.0060fae0
xor edx, edx
mov ecx, 5
div ecx
mov byte [esi], dl
call fcn.0060fae0
xor edx, edx
div dword [esp + 0x18]
mov byte [esi - 2], bl
add esi, 0xc
add edx, 0x1518
dec edi
mov dword [esi - 0x12], edx
jne 0x4a7056
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
cmp edx, ebx
jle 0x4a70db
lea esi, [ebp + ebp*2]
lea esi, [esp + esi*4 + 0x2e]
mov edi, edx
call fcn.0060fae0
and al, 1
mov byte [esi - 1], al
call fcn.0060fae0
xor edx, edx
mov ecx, 5
div ecx
mov byte [esi], dl
call fcn.0060fae0
xor edx, edx
div dword [esp + 0x18]
mov byte [esi - 2], 1
add esi, 0xc
add edx, 0x1518
dec edi
mov dword [esi - 0x12], edx
jne 0x4a70a3
mov edx, dword [esp + 0x20]
push 0x4a45a0
push 0xc
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0081db70
mov esi, dword [esp + 0x30]
add esp, 0x10
xor eax, eax
cmp esi, ebx
pop ebp
jle 0x4a713e
nop
cmp ebx, 0x78
jge 0x4a7136
mov dl, byte [esp + ebx + 0x28]
lea ecx, [eax + 1]
mov dword [0xa91edc], ecx
mov ecx, dword [esp + ebx + 0x24]
mov byte [ebx + 0xa9137c], dl
mov dl, byte [esp + ebx + 0x29]
mov dword [ebx + 0xa91378], ecx
mov cl, byte [esp + ebx + 0x2a]
mov byte [ebx + 0xa9137d], dl
mov byte [ebx + 0xa9137e], cl
inc eax
add ebx, 0xc
cmp eax, esi
jl 0x4a7100
mov edx, dword [esp + 0xa4]
push edx
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004a6ca0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x94
ret