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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x22
ja 0x4a5357
cmp dword [ebp - 0x14], 0x22
je 0x4a5721
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xf
ja case.0x4a53c3.3
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x4a5817]
jmp dword [eax*4 + 0x4a57f3]
cmp dword [ebp - 0x14], 0x117
ja 0x4a5394
cmp dword [ebp - 0x14], 0x117
je 0x4a561d
mov ecx, dword [ebp - 0x14]
sub ecx, 0x4e
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xc7
ja case.0x4a53c3.3
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x4a584f]
jmp dword [eax*4 + 0x4a5827]
cmp dword [ebp - 0x14], 0x20a
ja 0x4a53ca
cmp dword [ebp - 0x14], 0x20a
je 0x4a56c9
mov ecx, dword [ebp - 0x14]
sub ecx, 0x200
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 5
ja case.0x4a53c3.3
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x4a5917]
cmp dword [ebp - 0x14], 0x401
je 0x4a5444
cmp dword [ebp - 0x14], 0x403
je 0x4a5795
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x14]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x18]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x1c]
mov dword [ebp - 4], eax
push 0
push 0
push 0x401
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [0x4bd680]
jmp case.0x4a53c3.3
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x78]
jmp case.0x4a53c3.3
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x80]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 0xe146
jne 0x4a5490
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x80]
mov dword [ebp - 4], eax
jmp 0x4a54b3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
push edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x20]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x28]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x2c]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
movzx edx, cx
push edx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x34]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x38]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
movsx edx, cx
push edx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x3c]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x40]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
movsx edx, cx
push edx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x44]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x48]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x4c]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x50]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x54]
jmp 0x4a57ed
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx edx, cx
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x58]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movzx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x5c]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x60]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx edx, cx
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x64]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x70]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call fcn.00404e50
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a577d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
call dword [eax + 0x24]
mov dword [ebp - 4], eax
jmp 0x4a5793
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x24]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0xc]
mov dword [ebp - 4], eax
jmp case.0x4a53c3.3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x74]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a57d3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x640], 1
jne 0x4a57d8
mov eax, dword [ebp - 4]
jmp 0x4a57ed
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a5930
mov esp, ebp
pop ebp
ret 0x10