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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004a0080
mov esi, dword [eax + 4]
xor ebx, ebx
add esp, 4
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
je 0x4a73c2
mov edi, esi
push esi
mov dword [esp + 0x1c], edi
call fcn.00492710
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x4a73cc
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00493ef0
cmp edi, ebx
je 0x4a73e7
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
je 0x4a73fe
mov edx, dword [esp + 0x1c]
push edx
call dword [0x100b0088]
cmp dword [esp + 0x38], ebx
je 0x4a7455
mov esi, dword [esp + 0x34]
push esi
call dword [0x100b0070]
test eax, eax
jne 0x4a7426
mov ecx, esi
call fcn.00498ab0
mov esi, dword [esi + 4]
push esi
call fcn.00493ce0
add esp, 4
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call fcn.00493ef0
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
je 0x4a7455
push eax
call fcn.00491140
add esp, 4
mov eax, dword [ebp + 0x18]
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
je 0x4a756d
movzx eax, word [eax]
cmp ax, bx
je 0x4a756d
movzx ecx, ax
push ecx
call fcn.00493cc0
mov esi, dword [esp + 0x24]
add esp, 4
cmp esi, ebx
mov dword [esp + 0x10], eax
je 0x4a7499
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a749d
xor edi, edi
xor eax, eax
cmp edi, ebx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x218], edx
je 0x4a74b4
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a74c7
push esi
mov dword [esp + 0x34], esi
call fcn.00492710
add esp, 4
jmp 0x4a74cd
mov dword [esp + 0x30], ebx
xor eax, eax
mov edi, dword [eax + 0x218]
cmp edi, ebx
je 0x4a74ef
push edi
mov dword [esp + 0x2c], edi
call fcn.00492710
add esp, 4
push edi
call fcn.00492710
add esp, 4
jmp 0x4a74f7
xor edi, edi
mov dword [esp + 0x28], ebx
xor eax, eax
mov ecx, dword [ebp + 0x18]
movzx edx, word [ecx]
mov ecx, dword [ecx + 4]
push edx
push ecx
push eax
call fcn.0043ef30
add esp, 0xc
cmp edi, ebx
je 0x4a7518
push edi
call fcn.00491140
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4a7529
push eax
call fcn.00491140
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a753a
push eax
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7559
push esi
mov edi, esi
call fcn.00492710
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx]
add esp, 4
shr ecx, 1
mov dword [eax + 0x21c], ecx
jmp 0x4a758c
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx]
xor eax, eax
xor edi, edi
shr ecx, 1
mov dword [eax + 0x21c], ecx
jmp 0x4a758c
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x4a7582
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7586
xor edi, edi
xor eax, eax
mov dword [eax + 0x218], ebx
cmp edi, ebx
je 0x4a7599
push edi
call fcn.00491140
add esp, 4
lea edx, [esp + 0x3c]
push edx
call fcn.00498c60
mov ecx, dword [eax + 4]
add esp, 4
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
push edx
mov ecx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
call fcn.00493ef0
cmp esi, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
je 0x4a75da
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a75de
xor edi, edi
xor eax, eax
cmp edi, ebx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x230], ecx
je 0x4a75f5
push edi
call fcn.00491140
add esp, 4
cmp dword [esp + 0x40], ebx
je 0x4a764c
mov edi, dword [esp + 0x3c]
push edi
call dword [0x100b0070]
test eax, eax
jne 0x4a761d
mov ecx, edi
call fcn.00496f50
mov edi, dword [edi + 4]
push edi
call fcn.00493ce0
add esp, 4
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
call fcn.00493ef0
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
je 0x4a764c
push eax
call fcn.00491140
add esp, 4
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call fcn.004a5b60
mov ecx, dword [eax + 4]
add esp, 4
lea edx, [esp + 0x6c]
mov dword [esp + 0x10], ecx
push edx
mov ecx, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
call fcn.00493ef0
cmp esi, ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
je 0x4a7695
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7699
xor edi, edi
xor eax, eax
cmp edi, ebx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x238], ecx
je 0x4a76b0
push edi
call fcn.00491140
add esp, 4
cmp dword [esp + 0x48], ebx
je 0x4a7707
mov edi, dword [esp + 0x44]
push edi
call dword [0x100b0070]
test eax, eax
jne 0x4a76d8
mov ecx, edi
call fcn.004a2250
mov edi, dword [edi + 4]
push edi
call fcn.00493ce0
add esp, 4
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
call fcn.00493ef0
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
je 0x4a7707
push eax
call fcn.00491140
add esp, 4
cmp esi, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
je 0x4a7720
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7724
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x234], ebx
je 0x4a7737
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7748
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a774c
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x23c], ebx
je 0x4a775f
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7770
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7774
xor edi, edi
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], ebx
sete cl
cmp edi, ebx
mov dword [eax + 0x228], ecx
je 0x4a778f
push edi
call fcn.00491140
add esp, 4
cmp dword [ebp + 0xc], ebx
jne 0x4a7865
push ebx
push 0x100b0384
lea ecx, [esp + 0x98]
call fcn.0047e160
mov ecx, eax
call fcn.004ae7c0
push eax
push ecx
mov eax, esp
lea edx, [esp + 0x38]
push edx
mov dword [eax], ebx
call fcn.004a47f0
mov ecx, dword [eax + 4]
add esp, 0x10
lea edx, [esp + 0x7c]
mov dword [esp + 0x14], ecx
push edx
mov ecx, eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
call fcn.00493ef0
cmp esi, ebx
je 0x4a77f6
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a77fa
xor edi, edi
xor eax, eax
cmp edi, ebx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x22c], ecx
je 0x4a7811
push edi
call fcn.00491140
add esp, 4
cmp dword [esp + 0x30], ebx
je 0x4a788d
mov eax, dword [esp + 0x2c]
push eax
mov edi, eax
call dword [0x100b0070]
test eax, eax
jne 0x4a783b
mov ecx, edi
call fcn.004983f0
mov edx, dword [edi + 4]
push edx
call fcn.00493ce0
add esp, 4
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
call fcn.00493ef0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a788d
push eax
jmp 0x4a7885
cmp esi, ebx
je 0x4a7876
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a787a
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x22c], ebx
je 0x4a788d
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a789e
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a78a2
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x240], ebx
je 0x4a78b5
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a78c6
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a78ca
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0xc], ebx
je 0x4a78da
push edi
call fcn.00491140
add esp, 4
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4a79a0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x100c0094
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a79a0
test esi, esi
mov dword [esp + 0x14], eax
je 0x4a7919
push esi
mov edi, esi
call fcn.00492710
add esp, 4
mov ebx, eax
jmp 0x4a791d
xor edi, edi
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x8c]
push eax
call edx
test edi, edi
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
je 0x4a7942
push edi
call fcn.00491140
add esp, 4
test esi, esi
je 0x4a7953
push esi
mov ebx, esi
call fcn.00492710
add esp, 4
jmp 0x4a7957
xor ebx, ebx
xor eax, eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a796b
push eax
mov edi, eax
call fcn.00492710
add esp, 4
jmp 0x4a796f
xor edi, edi
xor eax, eax
push eax
call dword [0x100b0088]
test edi, edi
je 0x4a7983
push edi
call fcn.00491140
add esp, 4
test ebx, ebx
je 0x4a7990
push ebx
call fcn.00491140
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a79a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x100ccdf0]
mov ecx, dword [eax + 0x24]
add ecx, 0x18
push ecx
call dword [0x100b0088]
test esi, esi
mov ebx, eax
je 0x4a79c5
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a79c9
xor edi, edi
xor eax, eax
test edi, edi
mov dword [eax + 8], ebx
je 0x4a79d9
push edi
call fcn.00491140
add esp, 4
mov edx, dword [ebp + 0x14]
movzx eax, word [edx]
cmp ax, 0x1fe
movzx ebx, ax
jb 0x4a79ed
mov ebx, 0x1fe
test esi, esi
je 0x4a79fe
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7a02
xor edi, edi
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
push ebx
push edx
add eax, 0x14
push eax
call fcn.0043ef30
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x4a7a25
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7a36
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7a3a
xor edi, edi
xor eax, eax
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx]
shr edx, 1
cmp edi, ebx
mov dword [eax + 0x214], edx
je 0x4a7a55
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7a66
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7a6a
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x220], ebx
je 0x4a7a7d
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7a8e
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7a92
xor edi, edi
xor eax, eax
cmp edi, ebx
mov dword [eax + 0x224], ebx
je 0x4a7aa5
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
je 0x4a7ab6
push esi
mov edi, esi
call fcn.00492710
add esp, 4
jmp 0x4a7aba
xor edi, edi
xor eax, eax
cmp edi, ebx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x10], ecx
je 0x4a7acd
push edi
call fcn.00491140
add esp, 4
cmp esi, ebx
mov edi, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi], ebx
je 0x4a7aee
mov ebx, esi
push esi
mov dword [esp + 0x2c], ebx
call fcn.00492710
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x4a7afa
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00493ef0
test ebx, ebx
je 0x4a7b13
push ebx
call fcn.00491140
add esp, 4
test esi, esi
je 0x4a7b6b
mov eax, dword [edi]
push eax
call dword [0x100b0088]
mov esi, dword [esp + 0x1c]
push esi
call dword [0x100b0070]
test eax, eax
jne 0x4a7b42
mov ecx, esi
call fcn.00498ab0
mov ecx, dword [esi + 4]
push ecx
call fcn.00493ce0
add esp, 4
lea edx, [esp + 0x74]
xor esi, esi
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
call fcn.00493ef0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4a7b6b
push eax
call fcn.00491140
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret