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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c358
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x580b30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov edi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x34], ebx
call edx
mov esi, eax
mov al, byte [edi + 0x18]
test al, al
je 0x4a0aa4
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x28], 0
je 0x4a0aa4
mov eax, dword [edi + 0x10]
cmp dword [eax*4 + 0x526b48], 0xa
jne 0x4a0aa4
cmp dword [edi + 0x14], 3
je 0x4a0aa4
push ebx
push edi
call fcn.0049f3a0
add esp, 8
jmp 0x4a0f64
cmp dword [edi + 0x14], 3
mov edx, dword [esi]
push edi
mov dword [ebp - 0x38], 0
mov ecx, esi
push ebx
jne 0x4a0ac1
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x38], eax
jmp 0x4a0ad1
mov eax, dword [edx + 0xc]
call eax
test al, al
je 0x4a0ad1
mov dword [ebp - 0x38], 1
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, eax
add eax, eax
add eax, eax
cmp eax, 0x80
jae 0x4a0aeb
mov eax, 1
jmp 0x4a0af4
push eax
call fcn.004a1f70
add esp, 4
cmp ebx, 0xa
lea ebx, [eax + eax]
je 0x4a0afe
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x38]
dec ecx
imul ebx, eax
cmp ecx, 0x11
ja case.default.0x4a0b11
jmp dword [ecx*4 + 0x4a0f80]
cmp dword [edi + 0x14], 3
jne 0x4a0b5e
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
lea ecx, [ecx]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push eax
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.0049f2c0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0b30
jmp case.default.0x4a0b11
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.0049f2c0
add esp, 4
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0bc0
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x74]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.004a1fb0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0b91
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x20]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.004a1fb0
add esp, 8
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0c22
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x70]
push ecx
push edi
push edx
mov ecx, esi
call eax
push eax
call fcn.0049f310
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0bf4
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x1c]
push edi
push eax
mov ecx, esi
call edx
push eax
call fcn.0049f310
add esp, 4
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0c84
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x74]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.0049f340
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0c55
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x20]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.0049f340
add esp, 8
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0cf4
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x78]
push ecx
push edi
push edx
mov ecx, esi
call eax
cmp eax, 0x80
jae 0x4a0cd8
mov eax, 1
jmp 0x4a0ce1
push eax
call fcn.004a1f70
add esp, 4
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0cb8
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x24]
push edi
push eax
mov ecx, esi
call edx
push eax
call fcn.0049f2f0
add esp, 4
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0d56
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x7c]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.004a1fb0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0d27
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x28]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.004a1fb0
add esp, 8
add ebx, eax
jmp case.default.0x4a0b11
lea ebx, [ebx + eax*4]
jmp case.default.0x4a0b11
lea ebx, [ebx + eax*8]
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0dd1
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
lea ebx, [ebx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x94]
push ecx
push edi
push edx
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0da0
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x40]
push edi
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0e35
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x94]
push eax
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.0049f370
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0e04
jmp case.default.0x4a0b11
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.0049f370
add esp, 4
add ebx, eax
jmp case.default.0x4a0b11
cmp dword [edi + 0x14], 3
jne 0x4a0e9c
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x4a0b11
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x90]
push ecx
push edi
push edx
mov ecx, esi
call eax
mov eax, dword [eax + 8]
push eax
call fcn.0049f2c0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0e68
jmp case.default.0x4a0b11
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x3c]
push edi
push eax
mov ecx, esi
call edx
mov eax, dword [eax + 8]
push eax
call fcn.0049f2c0
add esp, 4
add ebx, eax
jmp case.default.0x4a0b11
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
jle case.default.0x4a0b11
jmp 0x4a0ed2
xor ecx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], 0
cmp dword [edi + 0x14], 3
mov eax, dword [esi]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
push ecx
jne 0x4a0f04
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
push edx
mov edx, dword [eax + 0x98]
push edi
push ecx
mov ecx, esi
call edx
jmp 0x4a0f10
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x44]
push edi
push edx
mov ecx, esi
call eax
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x10]
cmp eax, 0x80
jae 0x4a0f26
mov eax, 1
jmp 0x4a0f2f
push eax
call fcn.004a1f70
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
add ecx, eax
add ebx, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4a0f52
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00469e1a
add esp, 4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x38]
jl 0x4a0ed0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret