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

Disassembly:
mov eax, 0x20
call fcn.005dfc90
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push dword [esi + 0x50]
call fcn.004797c0
or ebp, 0xffffffff
lea ecx, [esi + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
cmp dword [esi + 0x78], 0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ecx
je 0x4a9b09
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 6
jmp 0x4a9b23
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
shr edi, 6
and edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
xor ebx, ebx
test edx, edx
jle 0x4aa208
nop dword [eax]
push ebx
push dword [esi + 0x50]
call fcn.00479a10
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov ecx, dword [ecx]
test byte [ecx + 0x14], 0x10
jne 0x4a9b7a
test dword [edi + 0x84], 0x200
je 0x4a9b7a
test ebx, ebx
js 0x4a9b5d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x22
call eax
add esp, 8
test eax, eax
je 0x4aa215
cmp dword [esp + 0x24], 0
jne 0x4a9bb1
test dword [edi + 0x84], 0x400
je 0x4a9bb1
test ebx, ebx
js 0x4a9b94
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x28
call eax
add esp, 8
test eax, eax
je 0x4aa215
push edi
call fcn.004a32e0
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x4a9c21
test ebp, ebp
je 0x4a9be7
test ecx, ecx
je 0x4a9c36
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jl 0x4a9be2
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x4a9c75
cmp ecx, 1
jmp 0x4a9c34
test ecx, ecx
je 0x4a9c75
mov eax, ebx
test ebx, ebx
jns 0x4a9bfa
mov eax, dword [esi + 0x5c]
jmp 0x4a9bfd
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4a9c0c
mov eax, edi
mov dword [esi + 0x60], 0x25
jmp 0x4a9c5f
push eax
push dword [esi + 0x50]
call fcn.00479a10
add esp, 8
mov dword [esi + 0x60], 0x25
jmp 0x4a9c5f
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x4a9c75
cmp ecx, 1
je 0x4a9c75
test ecx, ecx
je 0x4a9c75
mov eax, ebx
test ebx, ebx
jns 0x4a9c41
mov eax, dword [esi + 0x5c]
jmp 0x4a9c44
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4a9c4c
mov eax, edi
jmp 0x4a9c58
push eax
push dword [esi + 0x50]
call fcn.00479a10
add esp, 8
mov dword [esi + 0x60], 0x4f
push esi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push 0
call eax
add esp, 8
test eax, eax
je 0x4aa215
cmp dword [esp + 0x14], 1
jle 0x4a9d57
push edi
call fcn.004a16a0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a9cc6
push ebp
call fcn.00477880
add esp, 4
cmp eax, 0x198
jne 0x4a9d53
lea eax, [esp + 0x2c]
push eax
push str.decoded_from_explicit
push ebp
call fcn.0049e410
add esp, 0xc
cmp eax, 1
jne 0x4a9cc6
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
jmp 0x4a9d10
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jns 0x4a9cd8
mov eax, dword [esi + 0x5c]
jmp 0x4a9cdb
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4a9ce3
mov eax, edi
jmp 0x4a9cef
push eax
push dword [esi + 0x50]
call fcn.00479a10
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 1
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a9d53
mov eax, ebx
test ebx, ebx
jns 0x4a9d1f
mov eax, dword [esi + 0x5c]
jmp 0x4a9d22
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4a9d2a
mov eax, edi
jmp 0x4a9d36
push eax
push dword [esi + 0x50]
call fcn.00479a10
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x5e
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test byte [eax + 0x14], 0x20
je 0x4aa0b1
cmp dword [esp + 0x14], 1
jle 0x4aa0b1
cmp dword [edi + 0x7c], 0xffffffff
je 0x4a9dd2
test byte [edi + 0x84], 0x10
jne 0x4a9da5
test ebx, ebx
js 0x4a9d88
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x50
call eax
add esp, 8
test eax, eax
je 0x4aa215
test byte [edi + 0x88], 4
jne 0x4a9dd2
test ebx, ebx
js 0x4a9db5
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x51
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov eax, dword [edi + 0x84]
and eax, 0x10011
cmp eax, 0x11
jne 0x4a9e06
test ebx, ebx
js 0x4a9de9
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x59
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov eax, dword [edi + 0x84]
test al, 0x10
je 0x4a9e24
test al, 2
jne 0x4a9e51
test ebx, ebx
js 0x4a9e1b
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5c
jmp 0x4a9e3b
test byte [edi + 0x88], 4
je 0x4a9e51
test ebx, ebx
js 0x4a9e34
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x52
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x4aa215
push edi
call fcn.0049b790
push eax
call fcn.00512560
add esp, 8
test eax, eax
jne 0x4a9e88
test ebx, ebx
js 0x4a9e6b
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x53
call eax
add esp, 8
test eax, eax
je 0x4aa215
test byte [edi + 0x84], 0x10
jne 0x4a9ea3
test byte [edi + 0x88], 2
jne 0x4a9ea3
cmp dword [edi + 0xa4], 0
jne 0x4a9eda
push edi
call fcn.00465680
push eax
call fcn.00512560
add esp, 8
test eax, eax
jne 0x4a9eda
test ebx, ebx
js 0x4a9ebd
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x54
call eax
add esp, 8
test eax, eax
je 0x4aa215
push edi
call fcn.00465680
push eax
call fcn.00512560
add esp, 8
test eax, eax
jne 0x4a9f25
cmp dword [edi + 0xa4], eax
je 0x4a9f25
test dword [edi + 0x84], 0x80000
jne 0x4a9f25
test ebx, ebx
js 0x4a9f08
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x58
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4a9f60
push eax
call fcn.004797c0
add esp, 4
test eax, eax
jg 0x4a9f60
test ebx, ebx
js 0x4a9f43
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x57
call eax
add esp, 8
test eax, eax
je 0x4aa215
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.005049b0
add esp, 8
test eax, eax
je 0x4a9f98
test ebx, ebx
js 0x4a9f7b
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x4e
call eax
add esp, 8
test eax, eax
je 0x4aa215
cmp dword [edi + 0x98], 0
je 0x4a9fd1
test dword [edi + 0x84], 0x20000
je 0x4a9fd1
test ebx, ebx
js 0x4a9fb4
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5a
call eax
add esp, 8
test eax, eax
je 0x4aa215
cmp dword [edi + 0x94], 0
je 0x4aa00a
test dword [edi + 0x84], 0x40000
je 0x4aa00a
test ebx, ebx
js 0x4a9fed
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5b
call eax
add esp, 8
test eax, eax
je 0x4aa215
push edi
call fcn.00510be0
add esp, 4
cmp eax, 2
jl 0x4aa076
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jge 0x4aa054
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4aa030
cmp dword [eax], 0
jne 0x4aa054
test ebx, ebx
js 0x4aa037
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x55
call eax
add esp, 8
test eax, eax
je 0x4aa215
test byte [edi + 0x84], 0x10
je 0x4aa0ad
cmp dword [edi + 0x94], 0
jne 0x4aa0ad
test ebx, ebx
js 0x4aa06d
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x56
jmp 0x4aa097
push edi
call fcn.004f1b40
push eax
call fcn.004797c0
add esp, 8
test eax, eax
jle 0x4aa0ad
test ebx, ebx
js 0x4aa090
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x4aa14c
cmp ebx, dword [esi + 0x4c]
jl 0x4aa0e5
mov eax, dword [ecx]
cmp edx, dword [eax + 0x18]
jne 0x4aa0e5
push 4
push dword [eax + 0x1c]
push edi
call fcn.00516200
add esp, 0xc
sub eax, 1
je 0x4aa14c
sub eax, 1
je 0x4aa10d
mov edx, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
setg al
push eax
push edx
push edi
call fcn.004a3300
add esp, 0xc
sub eax, 0
je 0x4aa10d
sub eax, 1
je 0x4aa14c
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x4aa14c
mov eax, ebx
test ebx, ebx
jns 0x4aa118
mov eax, dword [esi + 0x5c]
jmp 0x4aa11b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4aa123
mov eax, edi
jmp 0x4aa12f
push eax
push dword [esi + 0x50]
call fcn.00479a10
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x1a
call eax
add esp, 8
test eax, eax
je 0x4aa215
cmp ebx, 1
jle 0x4aa185
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4aa18d
add eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x4aa18d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x19
call eax
add esp, 8
test eax, eax
je 0x4aa215
test ebx, ebx
jle 0x4aa19b
mov ecx, dword [esp + 0x18]
test byte [edi + 0x84], 0x20
jne 0x4aa19b
inc ecx
mov dword [esp + 0x18], ecx
test dword [edi + 0x84], 0x400
je 0x4aa1f4
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
je 0x4aa1e7
cmp dword [esp + 0x1c], eax
jle 0x4aa1d8
test ebx, ebx
js 0x4aa1bf
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x26
call eax
add esp, 8
test eax, eax
je 0x4aa215
mov eax, dword [edi + 0x80]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x4aa1f9
mov eax, dword [esp + 0x1c]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x4aa1f9
mov ebp, 1
inc ebx
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x14]
jl 0x4a9b30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret