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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov dword [esp + 0x48], edi
cmp dword [ebx + 0x44], ecx
je 0x4a2e7f
cmp dword [ebx + 0x34], ecx
jne 0x4a2e7f
test dword [ebx + 4], 0x100000
jne 0x4a2e7f
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a25d1
cmp dword [edi + 0x74], ecx
jne 0x4a25c6
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4a25c6
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0042a700
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
push 0
push 0x40
test ecx, ecx
je 0x4a2616
call fcn.00404a90
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x4a2621
call fcn.004043b0
mov esi, eax
mov dword [esp + 0x30], eax
add esp, 8
test esi, esi
je 0x4a2e96
push 0x40
push 0
push esi
call fcn.004c0cc0
add esp, 0xc
mov dword [esp + 0x84], edi
xorps xmm0, xmm0
mov dword [esp + 0x88], 0x44c5b0
mov edx, ebx
movlpd qword [esp + 0x90], xmm0
lea ecx, [esp + 0x84]
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x8c], fcn.00403d30
call fcn.0043ef20
test byte [ebx + 4], 8
mov dword [esp + 0x24], esi
jne 0x4a26de
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x88], 0x4a2530
mov dword [esp + 0x8c], 0
mov dword [esp + 0x24], esi
test ebx, ebx
je 0x4a26da
mov esi, dword [ebx]
add ebx, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
test esi, esi
jle 0x4a26da
mov dword [esp + 0x24], eax
nop dword [eax]
mov edx, dword [ebx]
lea ecx, [esp + 0x84]
call fcn.0043ef10
test eax, eax
jne 0x4a26da
dec esi
add ebx, 0x14
test esi, esi
jg 0x4a26c0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
xor edx, edx
mov esi, dword [esp + 0x18]
and eax, 0xfffffff7
or eax, 0x100000
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov ecx, edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 4], eax
push 1
push dword [esi + 8]
call fcn.004a2350
push 1
push dword [esi + 0xc]
mov edx, eax
mov ecx, edi
call fcn.004a2350
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x4a27ef
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4a27ef
mov edx, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x3c], edx
cmp eax, edx
jg 0x4a27ef
mov dword [esi], eax
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4a27e9
cmp eax, dword [edx]
jne 0x4a27e9
xor ebx, ebx
test eax, eax
jle 0x4a27c7
mov eax, dword [esp + 0x20]
lea ecx, [esi + 8]
sub eax, edx
mov dword [esp + 0x30], ecx
lea esi, [edx + 0x10]
mov dword [esp + 0x4c], eax
mov al, byte [esi + eax]
cmp al, byte [esi]
jne 0x4a27e1
mov edx, dword [ecx]
xor ecx, ecx
push 0xffffffffffffffff
push dword [esi - 8]
call fcn.0044bad0
add esp, 8
test eax, eax
jne 0x4a27e1
mov eax, dword [esp + 0x20]
inc ebx
mov ecx, dword [esp + 0x30]
add esi, 0x14
add ecx, 0x14
mov dword [esp + 0x30], ecx
cmp ebx, dword [eax]
mov eax, dword [esp + 0x4c]
jl 0x4a2783
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + 0x30]
jmp 0x4a27cb
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x4a27d8
mov ecx, dword [esp + 0x2c]
call fcn.00444910
mov dword [ebx + 0x30], 0
jmp 0x4a27e9
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esi], eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x54]
mov eax, dword [edi + 0x28]
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0x74], xmm0
mov dword [esi + 0x30], eax
add dword [edi + 0x28], 4
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0x4a2110
mov dword [esp + 0x70], 0x4a2320
mov dword [esp + 0x80], ecx
test ebx, ebx
je 0x4a2883
mov esi, dword [ebx]
add ebx, 8
test esi, esi
jle 0x4a287f
nop
mov edx, dword [ebx]
lea ecx, [esp + 0x68]
call fcn.0043ef10
test eax, eax
jne 0x4a2877
dec esi
add ebx, 0x14
test esi, esi
jg 0x4a2860
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
movlpd qword [esp + 0x74], xmm0
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0x4a2110
mov dword [esp + 0x70], 0x4a2320
mov dword [esp + 0x80], eax
test ebx, ebx
je 0x4a2902
mov esi, dword [ebx]
add ebx, 8
test esi, esi
jle 0x4a28fe
mov edx, dword [ebx]
lea ecx, [esp + 0x68]
call fcn.0043ef10
test eax, eax
jne 0x4a28fa
dec esi
add ebx, 0x14
test esi, esi
jg 0x4a28e3
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x18]
test edx, edx
je 0x4a290a
mov eax, dword [edx]
jmp 0x4a290c
xor eax, eax
push 0
push dword [esi + 8]
mov ecx, edi
mov dword [esi + 0x4c], eax
call fcn.004a2350
push 0
push dword [esi + 0xc]
mov edx, eax
mov ecx, edi
call fcn.004a2350
mov edx, dword [esp + 0x28]
add esp, 0x10
mov esi, eax
mov dword [esp + 0x30], edx
mov ebx, edx
nop dword [eax + eax]
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
test dword [eax + 4], 0x100000
je 0x4a29fd
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0x4a2110
mov dword [esp + 0x70], 0x4a2320
mov dword [esp + 0x80], eax
test ecx, ecx
je 0x4a29e3
mov ebx, dword [ecx]
lea eax, [ecx + 8]
mov dword [esp + 0x3c], eax
test ebx, ebx
jle 0x4a29df
mov edi, eax
nop dword [eax]
mov edx, dword [edi]
lea ecx, [esp + 0x68]
call fcn.0043ef10
test eax, eax
jne 0x4a29d7
dec ebx
add edi, 0x14
test ebx, ebx
jg 0x4a29c0
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
test esi, esi
je 0x4a29f2
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
mov byte [ebx + 0x60], 1
jmp 0x4a2a1b
xor eax, eax
mov byte [ebx + 0x60], 1
mov dword [ebx + 0x50], eax
jmp 0x4a2a1b
test esi, esi
je 0x4a2a05
mov eax, dword [esi]
jmp 0x4a2a07
xor eax, eax
push 0
push ecx
mov edx, esi
mov dword [ebx + 0x50], eax
mov ecx, edi
call fcn.004a2350
add esp, 8
mov esi, eax
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x4a2a84
mov ecx, dword [esp + 0x2c]
push 0
push 0
call fcn.00443850
add esp, 8
mov edx, eax
test esi, esi
jne 0x4a2a43
mov ecx, dword [edi]
call fcn.00444470
mov esi, eax
jmp 0x4a2a84
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 4], ecx
jge 0x4a2a62
mov ecx, dword [edi]
push edx
mov edx, esi
call fcn.004444e0
add esp, 4
mov esi, eax
jmp 0x4a2a84
movups xmm0, xmmword [0x4e237c]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [0x4e238c]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x34], eax
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x74]
cmp dword [eax + 0x78], ecx
jg 0x4a2abb
push 0
push edx
push 0
mov edx, 0x49
mov ecx, eax
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a2af4
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, edi
mov edi, dword [esp + 0x48]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x4a2940
test esi, esi
jne 0x4a2b3d
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push esi
push eax
mov edx, 0x9a
mov dword [esp + 0x44], 0x4dd340
mov dword [esp + 0x48], 1
call fcn.00442b90
mov ecx, dword [edi]
add esp, 8
mov edx, eax
call fcn.00444470
mov esi, eax
mov ecx, dword [edi]
push 0
push 0x4c
call fcn.00404a90
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
lea ebx, [esp + 0xa0]
cmovne ebx, eax
test esi, esi
jne 0x4a2b7a
mov ecx, dword [edi]
mov edx, 0xb3
push esi
call fcn.00442ce0
mov ecx, dword [edi]
add esp, 4
mov edx, eax
call fcn.00444470
mov esi, eax
mov dword [ebx + 0x1c], esi
mov byte [ebx], 0x89
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
inc dword [edi + 0x64]
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x10], eax
xor eax, eax
mov word [ebx + 2], ax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x18], 0xffffffff
test eax, eax
jne 0x4a2beb
mov ecx, dword [edi]
push eax
push 0x50
test ecx, ecx
je 0x4a2bca
call fcn.00404a90
jmp 0x4a2bcf
call fcn.004043b0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a2beb
push 0x50
push 0
push eax
call fcn.004c0cc0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
je 0x4a2c5d
xor eax, eax
lea edx, [esp + 0xa0]
cmp ebx, edx
mov edx, ebx
setne al
push eax
call fcn.00478500
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x4a2c61
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, eax
push 0
push 0x50
mov dword [esp + 0x40], eax
call fcn.00404a90
mov esi, eax
add esp, 8
mov dword [esp + 0x34], esi
test esi, esi
jne 0x4a2ca7
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x24]
test ebx, ebx
je 0x4a2dfb
mov ecx, dword [esp + 0x2c]
mov edx, ebx
push 1
call fcn.00478500
add esp, 4
jmp 0x4a2dfb
push 0x48
lea eax, [esi + 8]
mov dword [esi + 4], 1
push 0
push eax
mov dword [esi], 1
call fcn.004c0cc0
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword [esi + 0x34], 0xffffffff
xor edx, edx
mov eax, dword [esi]
lea eax, [eax + eax*8]
lea esi, [esi + eax*8]
call fcn.00456420
mov ecx, dword [esp + 0x10]
mov dword [esi - 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esi - 0x3c], 0
mov dword [ecx + 0x20], eax
mov dword [eax + 0x1c], ebx
mov ecx, dword [ecx + 0x20]
mov eax, dword [esp + 0x24]
mov esi, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4a2d46
xor ebx, ebx
cmp dword [ecx], ebx
jle 0x4a2d42
lea esi, [ecx + 0x34]
mov dword [esp + 0x34], eax
cmp dword [esi], 0
jge 0x4a2d36
mov eax, dword [edi + 0x28]
mov dword [esi], eax
inc dword [edi + 0x28]
mov edx, dword [esi - 0x18]
test edx, edx
je 0x4a2d36
mov edx, dword [edx + 0x20]
mov ecx, edi
call fcn.0045dbe0
mov ecx, dword [esp + 0x38]
inc ebx
add esi, 0x48
cmp ebx, dword [ecx]
jl 0x4a2d14
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
or dword [ebx + 4], 0x8000040
mov edx, ebx
push 0x40
mov ecx, edi
call fcn.0047c890
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
and eax, 8
or dword [ebx + 4], eax
test ecx, ecx
jne 0x4a2d75
mov ecx, 7
jmp 0x4a2dfd
movups xmm0, xmmword [ecx]
mov edx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esp + 0x10]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
lea ecx, [esp + 0x84]
movups xmmword [edx + 0x30], xmm0
or dword [edx + 0x1c], 0x4000
mov eax, dword [eax + 0x20]
xorps xmm0, xmm0
mov dword [eax + 0x18], edx
mov edx, ebx
mov dword [esp + 0x84], 0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x88], 0x4a2500
mov dword [esp + 0x8c], 0x43f100
mov dword [esp + 0x90], 0x43f110
call fcn.0043ef20
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, 7
push 0
push 0xc
cmp byte [eax + 0x53], 0
cmovne ecx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x4a2e22
call fcn.00404a90
jmp 0x4a2e27
call fcn.004043b0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a2e4a
mov eax, dword [edi + 0x80]
mov dword [ecx], eax
mov dword [edi + 0x80], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.00404730
jmp 0x4a2e57
test esi, esi
je 0x4a2e57
mov ecx, dword [edi]
mov edx, esi
call fcn.00404680
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4a2e7f
cmp dword [edi + 0x24], 0
jne 0x4a2e7f
mov eax, dword [edi]
test eax, eax
je 0x4a2e7f
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4a2e7f
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a2eb2
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4a2eb2
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov ecx, dword [esp + 0xf4]
mov eax, 7
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret