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

Disassembly:
sub esp, 0x30
mov eax, dword [0x401424]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 0
mov byte [esp + 0x16], 0
call fcn.0049b5c0
push dword [esi + 0x7c]
mov dword [esp + 0x2c], eax
call fcn.0049b5e0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc34], 0
mov dword [esp + 0x28], eax
jne 0x4a77da
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret
push esi
call fcn.004a7390
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a7803
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret
push edi
push esi
mov dword [ebx], edi
call fcn.004a92e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a814a
mov eax, dword [esi + 0x5c4]
test eax, eax
je 0x4a7837
push eax
call dword [fcn.00401040]
add esp, 4
mov dword [edi + 0x164], eax
test eax, eax
je 0x4a77e9
mov eax, dword [esi + 0x5ac]
test eax, eax
je 0x4a7855
push eax
call dword [fcn.00401040]
add esp, 4
mov dword [edi + 0x168], eax
test eax, eax
je 0x4a77e9
mov eax, dword [esi + 0x5b0]
test eax, eax
je 0x4a7883
push eax
call dword [fcn.00401040]
add esp, 4
mov dword [edi + 0x4ac], eax
test eax, eax
je 0x4a77e9
mov al, byte [esi + 0x69d]
mov byte [edi + 0x25a], al
push edi
push esi
call fcn.004a8160
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a814a
mov eax, dword [edi + 0x264]
test byte [eax + 0x50], 1
je 0x4a78b2
cmp byte [edi + 0x240], bl
je 0x4a78b2
mov byte [edi + 0x243], 1
movzx eax, word [esi + 0x158]
test ax, ax
je 0x4a78fe
cmp byte [esi + 0xcec], 0
je 0x4a78fe
push eax
push 0x4039c8
mov dword [edi + 0x4c0], eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.004999e0
push 0
lea eax, [esp + 0x40]
push eax
push 6
push dword [esi + 0xc10]
call fcn.004d5710
add esp, 0x20
test eax, eax
jne 0x4a77e9
push edi
push esi
call fcn.004a85f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a814a
mov eax, dword [edi + 0x260]
mov ecx, 0x404bec
mov ebp, 0x404bf8
test byte [eax + 0x50], 0x20
je 0x4a7930
cmp dword [esi + 0xcd0], ebx
je 0x4a7937
mov ecx, 0x403744
mov ebp, ecx
cmp dword [edi + 0x158], ebx
jne 0x4a7957
push ecx
call dword [fcn.00401040]
add esp, 4
mov dword [edi + 0x158], eax
test eax, eax
je 0x4a77e9
cmp dword [edi + 0x15c], ebx
jne 0x4a7979
push ebp
call dword [fcn.00401040]
add esp, 4
mov dword [edi + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x4a814a
push dword [esi + 0x3a0]
push edi
push esi
call fcn.004a8ab0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a814a
cmp byte [edi + 0x240], al
je 0x4a79b7
lea eax, [edi + 0x70]
push eax
call fcn.004d81c0
add esp, 4
test eax, eax
jne 0x4a814c
cmp byte [edi + 0x241], 0
je 0x4a79d4
lea eax, [edi + 0x50]
push eax
call fcn.004d81c0
add esp, 4
test eax, eax
jne 0x4a814c
cmp byte [edi + 0x249], 0
je 0x4a7a12
lea eax, [edi + 0x40]
push eax
call fcn.004d81c0
add esp, 4
test eax, eax
jne 0x4a814c
cmp byte [edi + 0x249], al
je 0x4a7a12
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.004b0d10
add esp, 8
test eax, eax
je 0x4a7a12
mov byte [edi + 0x249], 0
mov cl, byte [edi + 0x24a]
test cl, cl
je 0x4a7a33
mov eax, dword [edi + 0x4c4]
cmp eax, dword [edi + 0x4c0]
jne 0x4a7a33
mov byte [edi + 0x24a], 0
xor cl, cl
cmp byte [edi + 0x249], 0
jne 0x4a7a40
test cl, cl
je 0x4a7a50
cmp byte [edi + 0x240], 0
je 0x4a7a50
mov byte [edi + 0x243], 1
mov eax, dword [edi + 0x260]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a7a78
push edi
push esi
call ecx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a814a
mov eax, dword [edi + 0x260]
mov edx, eax
cmp dword [edi + 0xec], 0
jge 0x4a7a8a
mov eax, dword [eax + 0x44]
mov dword [edi + 0xec], eax
test byte [edx + 0x50], 0x10
je 0x4a7b39
push 0
push edi
push esi
call fcn.004adb30
mov eax, dword [edi + 0x260]
lea ecx, [esp + 0x1e]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4a7b1a
push edi
push esi
call fcn.0049b040
push esi
call fcn.004a2970
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a814a
push esi
call fcn.004a9ec0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a7b07
mov eax, dword [edi + 0x260]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004b2910
add esp, 0x18
push edi
push esi
call fcn.004a6db0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret
mov dword [edi + 0x1a8], 0x4aa490
mov dword [edi + 0x1b0], 0x4aa4f0
mov dword [edi + 0x1ac], 0x4aa490
mov dword [edi + 0x1b4], 0x4aa4f0
mov al, byte [esi + 0x696]
push esi
mov byte [edi + 0x257], al
call fcn.004a4cf0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a814a
lea eax, [esp + 0x2c]
push eax
call fcn.004a0d00
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esi + 0x84], ebx
je 0x4a7baa
push 2
push 5
push esi
call fcn.004b1300
add esp, 0xc
mov ecx, dword [esi + 0x848]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [eax], xmm0
call fcn.004a0db0
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x4a7be9
push 5
push esi
call fcn.004b1340
add esp, 8
test ebx, ebx
jl 0x4a7c86
jg 0x4a7bff
cmp ebp, 0x3e8
jb 0x4a7c86
push 0x4a75b0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esi + 0x848]
push esi
call fcn.004a2f20
add esp, 0x10
test al, al
je 0x4a7c4d
push 1
push dword [esp + 0x18]
push esi
call fcn.004a6ae0
push 0x4a75b0
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x848]
push esi
call fcn.004a2f20
add esp, 0x1c
test al, al
jne 0x4a7c24
cmp dword [esi + 0x84], 0
je 0x4a7c63
push 2
push 5
push esi
call fcn.004b1300
add esp, 0xc
mov eax, dword [esi + 0x848]
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x4a7c86
push 5
push esi
call fcn.004b1340
add esp, 8
cmp byte [esi + 0x68c], 0
je 0x4a7c9c
cmp dword [esi + 0x8b0], 0
je 0x4a7ec9
cmp byte [esi + 0x66d], 0
jne 0x4a7ec9
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.004a5c40
add esp, 0x14
test al, al
je 0x4a7ec9
cmp dword [edi + 0x158], 0
mov ebx, dword [esp + 0x18]
je 0x4a7d32
push dword [ebx + 0x158]
call dword [fcn.00401038]
push dword [ebx + 0x15c]
mov dword [ebx + 0x158], 0
call dword [fcn.00401038]
mov dword [ebx + 0x15c], 0
add esp, 8
mov eax, dword [edi + 0x158]
mov dword [ebx + 0x158], eax
mov eax, dword [edi + 0x15c]
mov dword [ebx + 0x15c], eax
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov al, byte [edi + 0x242]
mov byte [ebx + 0x242], al
test al, al
je 0x4a7ddb
push dword [ebx + 0x88]
call dword [fcn.00401038]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [fcn.00401038]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [fcn.00401038]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [fcn.00401038]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x6c], 0
push dword [ebx + 0x28]
call dword [fcn.00401038]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [fcn.00401038]
mov dword [ebx + 0x40], 0
movups xmm0, xmmword [edi + 0x28]
movups xmmword [ebx + 0x28], xmm0
mov dword [edi + 0x28], 0
movups xmm0, xmmword [edi + 0x40]
mov dword [edi + 0x2c], 0
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [edi + 0x4c4]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x4c4], eax
mov eax, dword [edi + 0x4c0]
mov dword [ebx + 0x4c0], eax
call dword [fcn.00401038]
mov dword [ebx + 0x38], 0
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
push edi
mov dword [edi + 0x38], 0
push esi
mov byte [ebx + 0x247], 1
call fcn.004a75e0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp byte [esi + 0x68a], 0
je 0x4a7ec2
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a7e85
cmp dword [eax + 4], 1
jl 0x4a7ec2
cmp dword [ebx + 0x58], 0
je 0x4a7e90
mov eax, dword [ebx + 0x5c]
jmp 0x4a7e9e
cmp dword [ebx + 0x78], 0
je 0x4a7e9b
mov eax, dword [ebx + 0x7c]
jmp 0x4a7e9e
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 0x245], 0
mov ecx, 0x404da0
push eax
mov eax, 0x404d98
cmove eax, ecx
push eax
push 0x404da8
push esi
call fcn.004ab3a0
add esp, 0x10
mov edi, ebx
jmp 0x4a8081
mov eax, dword [edi + 0x260]
test dword [eax + 0x50], 0x100
je 0x4a7ee8
cmp byte [esi + 0x697], 0
je 0x4a7ee8
mov byte [edi + 0x258], 1
cmp byte [esp + 0x12], 0
jne 0x4a80d9
push dword [esi + 0x848]
push edi
push esi
call fcn.004a2e70
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x4a7f7b
test eax, eax
je 0x4a7f7b
cmp dword [eax + 4], ebp
jb 0x4a7f7b
push eax
push esi
call fcn.004a2c80
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x4a7f34
push 5
push esi
call fcn.004b1340
add esp, 8
test ebx, ebx
je 0x4a7f46
push 0
push ebx
push esi
call fcn.004a6ae0
add esp, 0xc
jmp 0x4a7f8f
cmp byte [esi + 0x68a], 0
je 0x4a8100
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a7f67
cmp dword [eax + 4], 1
jl 0x4a80d9
push ebp
push 0x404dd0
push esi
call fcn.004ab3a0
add esp, 0xc
jmp 0x4a80d9
cmp dword [esi + 0x84], 0
je 0x4a7f8f
push 5
push esi
call fcn.004b1340
add esp, 8
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4a7fc1
push esi
call fcn.004a3330
add esp, 4
cmp eax, ebx
jb 0x4a7fc1
push esi
call fcn.004a2d30
add esp, 4
test eax, eax
je 0x4a80b2
push 0
push eax
push esi
call fcn.004a6ae0
add esp, 0xc
push edi
push esi
call fcn.004a4b40
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a814a
push edi
push esi
call fcn.0049b040
push esi
call fcn.004a2970
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a814a
test byte [esi + 0x8e8], 8
je 0x4a8037
cmp byte [esi + 0x8f0], al
je 0x4a8037
cmp byte [esi + 0x68a], al
je 0x4a8026
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a8018
cmp dword [eax + 4], 1
jl 0x4a8026
push 0x404e3c
push esi
call fcn.004ab3a0
add esp, 8
mov dword [esi + 0x8e8], 0
mov byte [esi + 0x8f0], 0
test byte [esi + 0x8f8], 8
je 0x4a8081
cmp byte [esi + 0x900], 0
je 0x4a8081
cmp byte [esi + 0x68a], 0
je 0x4a8070
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a8062
cmp dword [eax + 4], 1
jl 0x4a8070
push 0x404e68
push esi
call fcn.004ab3a0
add esp, 8
mov dword [esi + 0x8f8], 0
mov byte [esi + 0x900], 0
push edi
push esi
call fcn.004a6db0
push esi
call fcn.004a9ec0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a814a
mov eax, dword [esp + 0x20]
cmp byte [edi + 0x247], bl
je 0x4a812e
mov byte [eax], bl
jmp 0x4a813f
cmp byte [esi + 0x68a], 0
je 0x4a8100
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a80cb
cmp dword [eax + 4], 1
jl 0x4a80d9
push 0x404dfc
push esi
call fcn.004ab3a0
add esp, 8
cmp byte [esi + 0x68a], 0
je 0x4a8100
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4a80f2
cmp dword [eax + 4], 1
jl 0x4a8100
push 0x404e20
push esi
call fcn.004ab3a0
add esp, 8
push edi
push esi
call fcn.004a75e0
mov eax, dword [esp + 0x24]
mov ebx, 0x59
add esp, 8
mov dword [eax], 0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret
push eax
push edi
push esi
call fcn.004a9c00
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a814a
push esi
call fcn.004aac80
add esp, 4
mov ebx, eax
mov eax, ebx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed9d4
add esp, 0x30
ret