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

Disassembly:
mov ecx, dword [0x5b7348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a7ccb
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a7a4a
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a7a4a
mov edx, dword [ecx + 4]
test edx, edx
je 0x4a7a4a
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004aa1f0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a79f9
mov ecx, dword [esp + 0x7c]
jmp 0x4a7a4a
lea ecx, [0x50626c]
cmp eax, ecx
jne 0x4a7cae
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 5
mov edx, dword [0x5b7448]
test edx, edx
je 0x4a7a25
mov edx, dword [eax]
call fcn.0046e8e0
mov dword [edi], edx
lea edx, [0x4dd594]
mov dword [eax], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov edx, dword [ecx + 0x20]
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046eac7
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], edx
test ebx, ebx
jne 0x4a7ab6
mov dword [esp], edx
call fcn.004a6e60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4a7b05
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
lea edx, [0x4c99a0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004698d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x4a7b2f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebp
add esp, 0x64
ret
mov dword [esp + 0x58], edi
mov dword [eax + edi*4 - 4], ebp
inc ebx
mov eax, dword [esp + 0x7c]
cmp ebx, edx
jge 0x4a7bab
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4a7b42
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4a7b47
mov ebp, 0xffffffff
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
inc edi
mov eax, dword [esp + 0x54]
cmp esi, edi
jae 0x4a7b22
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4c99a0]
mov dword [esp + 0x10], eax
call fcn.00469980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
jmp 0x4a7b22
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x14], edx
call fcn.0048f9c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x4a7c7d
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x4d00a0]
mov dword [esp], eax
call fcn.0040b850
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4ddc4a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b7448]
test ecx, ecx
jne 0x4a7c3b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
jmp 0x4a7c4d
call fcn.0046e8f0
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov edx, dword [esp + 0x38]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [esp + 0x80], 0
lea ecx, [0x50626c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004a7520
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x64
ret
mov ecx, dword [0x506270]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4cc020]
mov dword [esp + 8], eax
call fcn.00409990
nop
call fcn.0046d4e0
jmp fcn.004a79b0