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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4b5991
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [edi + 0xa0]
mov dword [edi + 0x70], 0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
cmp esi, ecx
je 0x4b59e5
nop
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4b59c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x4b59d6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
add esi, 8
cmp esi, dword [esp + 0x24]
jne 0x4b59b0
lea eax, [edi + 0xa0]
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x4b59ef
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
call fcn.00511720
lea eax, [esp + 0x90]
mov dword [esp + 0xa0], 0
push eax
lea esi, [edi + 0xc]
mov dword [esp + 0xa8], 0xf
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
push esi
push dword [ebp + 8]
movaps xmmword [esp + 0x9c], xmm0
mov ecx, edi
mov byte [esp + 0x9c], 0
movups xmmword [esp + 0xb4], xmm0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov byte [esp + 0xd0], 0
call fcn.00509a90
mov ecx, dword [edi + 0x9c]
mov dl, byte [edi + 9]
push edx
push dword [edi + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
call fcn.00474350
mov ecx, dword [esi]
mov dword [edi + 0xac], eax
call fcn.004a4c70
mov edx, eax
mov eax, dword [esp + 0xb8]
mov dword [edi + 0xb0], edx
cmp eax, dword [esp + 0xbc]
je 0x4b5cc7
mov esi, dword [edi + 0x78]
test esi, esi
je 0x4b5ac2
mov ecx, esi
call fcn.004b71b0
push 0x10
push esi
call fcn.005ab85c
add esp, 8
push 0x10
call fcn.005ab82c
mov cl, byte [esp + 0xc8]
xorps xmm0, xmm0
add esp, 4
mov dword [esp + 0x18], 0
movups xmmword [eax], xmm0
mov dword [edi + 0x78], eax
mov byte [eax + 0xc], cl
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b5c57
xor eax, eax
mov edi, dword [ecx + 4]
xorps xmm0, xmm0
mov esi, dword [ecx]
xor edx, edx
mov dword [esp + 0x48], edx
movups xmmword [esp + 0x38], xmm0
mov ecx, dword [esp + 0x44]
cmp esi, edi
je 0x4b5b92
nop dword [eax]
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], eax
cmp ecx, edx
je 0x4b5b70
movups xmm0, xmmword [esp + 0x70]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
add ecx, 0x14
mov dword [esp + 0x44], ecx
jmp 0x4b5b87
lea eax, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.004b7520
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add esi, 0x18
cmp esi, edi
jne 0x4b5b30
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
mov esi, dword [edi + eax*8]
mov eax, dword [edi + eax*8 + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov eax, dword [eax + 0x78]
mov dword [esp + 0x20], eax
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4b5be3
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi], esi
xor esi, esi
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
add dword [eax + 4], 0x14
xor eax, eax
jmp 0x4b5bf8
lea ecx, [esp + 0x38]
push ecx
push edi
mov ecx, eax
call fcn.004b76b0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4b5c35
sub eax, esi
sar eax, 2
imul eax, eax, 0xcccccccd
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4b5c2b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6308
push ecx
push esi
call fcn.005ab85c
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
inc eax
add ecx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x10]
jb 0x4b5b12
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4b5c7a
add dword [esi], 0xffffffff
jne 0x4b5c7a
push dword [esi + 4]
call fcn.005ab969
add esp, 4
push 0xc
push esi
call fcn.005ab85c
add esp, 8
mov edi, dword [edi + 0x80]
mov esi, dword [edi]
cmp esi, edi
je 0x4b62ef
nop word [eax + eax]
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4b630d
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
call dword [eax + 8]
mov esi, dword [esi]
cmp esi, edi
jne 0x4b5c90
lea ecx, [esp + 0x90]
call fcn.004b6370
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, edx
call fcn.004b46c0
test byte [edi + 0x10], 0x20
xorps xmm0, xmm0
mov esi, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
movlpd qword [esp + 0xdc], xmm0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xf4], 0
movlpd qword [esp + 0x100], xmm0
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], 1
mov dword [esp + 0xe8], 1
mov dword [esp + 0x34], esi
jne 0x4b5d4d
mov dword [esp + 0xf8], 1
mov dword [esp + 0xfc], 8
jmp 0x4b5ec2
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0x28
cmp esi, ecx
je 0x4b5ec2
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 4]
je 0x4b5ec2
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x38]
call fcn.004b4ad0
mov eax, dword [edi + 4]
lea esi, [esp + 0xc]
cmp dword [esp + 0x4c], 0xf
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0x2a90]
push esi
lea esi, [esp + 0x20]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x40]
cmova eax, dword [esp + 0x40]
push eax
call edx
mov eax, dword [edi + 4]
cmp dword [esp + 0x4c], 0xf
mov ecx, dword [eax + 0x2a90]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 0x38]
cmova eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x74]
push eax
call edx
cmp dword [esp + 0x80], 0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x2a90]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
jne 0x4b5e0b
cmp dword [esp + 0x4c], 0xf
lea eax, [esp + 0x38]
cmova eax, dword [esp + 0x38]
jmp 0x4b5e1c
cmp dword [esp + 0x84], 0xf
lea eax, [esp + 0x70]
cmova eax, dword [esp + 0x70]
push eax
lea eax, [esp + 0x5c]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
push edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x10]
add dword [esp + 0x20], eax
mov ecx, dword [edx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
mov esi, dword [esp + 0xac]
mov dword [edi + 0x70], eax
test eax, eax
je 0x4b5ea0
mov ecx, dword [eax]
push edi
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 4]
push dword [ecx + 0x28dc]
mov ecx, eax
call edx
mov ecx, dword [edi + 0x70]
test al, al
je 0x4b5e8f
mov eax, dword [ecx]
push dword [esp + 0xc]
cmp dword [esp + 0x70], 0xf
push dword [esp + 0x20]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x60]
cmova eax, dword [esp + 0x60]
push eax
call edx
jmp 0x4b5ea0
test ecx, ecx
je 0x4b5e99
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x70], 0
lea ecx, [esp + 0x58]
call fcn.004143d0
lea ecx, [esp + 0x70]
call fcn.004143d0
lea ecx, [esp + 0x38]
call fcn.004143d0
mov ecx, dword [esp + 0xb0]
mov edx, esi
mov dword [esp + 0x20], esi
cmp edx, ecx
je 0x4b6222
mov eax, dword [edx + 4]
xor ecx, ecx
sub eax, dword [edx]
xor esi, esi
sar eax, 3
xor edi, edi
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xe4], eax
mov eax, dword [edx]
mov dword [esp + 0x60], edi
mov dword [esp + 0xc], ecx
mov eax, dword [eax]
mov dword [esp + 0xdc], eax
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x20
jne 0x4b5fa1
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x4b6007
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
imul eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
cmp ecx, edi
je 0x4b5f77
movq xmm0, qword [esp + 0x70]
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
add ecx, 0xc
mov dword [esp + 0x5c], ecx
jmp 0x4b5f92
lea eax, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004b7380
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
add esi, 0x18
cmp esi, dword [esp + 0x10]
jne 0x4b5f41
mov esi, dword [esp + 0x58]
jmp 0x4b6009
mov eax, dword [edx]
mov dword [esp + 0x10], eax
cmp eax, dword [edx + 4]
je 0x4b6009
mov esi, dword [eax + 4]
imul esi, dword [eax]
imul esi, dword [esp + 0x18]
push esi
call fcn.005ab960
add esp, 4
mov edi, eax
mov dword [esp + 0xc], edi
push esi
push 0
push edi
call fcn.005c3040
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], edi
mov ecx, dword [ecx]
imul ecx, dword [esp + 0x18]
push eax
push 0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x60]
call fcn.004b7380
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
jmp 0x4b6009
mov esi, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push edx
push esi
lea edx, [esp + 0xe4]
mov eax, dword [ecx + 0x9c]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push dword [esp + 0xc]
call fcn.005ab969
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x110], 0
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x108], eax
mov eax, dword [ecx + 0x10]
and eax, 0x4000000
or eax, 0x8000000
shr eax, 0x19
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x114], eax
test edx, edx
je 0x4b60aa
mov eax, dword [ecx + 0x9c]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x10c]
push edx
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
cmp ecx, edx
je 0x4b60d6
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
add dword [eax + 4], 8
jmp 0x4b61aa
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x2c], eax
cmp eax, 0x1fffffff
je 0x4b6303
sub edx, ecx
inc eax
sar edx, 3
mov dword [esp + 0x10], eax
mov ecx, edx
shr ecx, 1
mov eax, 0x1fffffff
sub eax, ecx
cmp edx, eax
jbe 0x4b6116
mov eax, 0x1fffffff
jmp 0x4b6122
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x10]
cmovb eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
call fcn.0043f280
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jne 0x4b6166
sub ecx, edx
push ecx
push edx
push dword [esp + 0x14]
jmp 0x4b618d
sub eax, edx
push eax
push edx
push dword [esp + 0x14]
call fcn.005c3580
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, 8
mov eax, dword [eax + 4]
sub eax, edx
push eax
push edx
push ecx
call fcn.005c3580
mov ecx, dword [esp + 0x34]
add esp, 0xc
push dword [esp + 0x30]
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004b7870
test esi, esi
je 0x4b61ff
sub edi, esi
sar edi, 2
imul eax, edi, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4b61dd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6308
push ecx
push esi
call fcn.005ab85c
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x20]
add edx, 0xc
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0xb0]
jne 0x4b5ed0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0xac]
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4b623e
mov edx, dword [edi + 0xa0]
cmp edx, dword [edi + 0xa4]
je 0x4b623e
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 8]
mov eax, dword [esp + 0xb0]
cmp esi, eax
je 0x4b629c
nop dword [eax]
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x4b6289
nop dword [eax]
test dword [esi + 0x14], 0x40000000
je 0x4b627b
push dword [esi + 8]
call fcn.005ab969
add esp, 4
mov dword [esi + 8], 0
add esi, 0x18
cmp esi, edi
jne 0x4b6260
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x34]
add esi, 0xc
mov dword [esp + 0x34], esi
cmp esi, eax
jne 0x4b6250
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4b62bf
add dword [esi], 0xffffffff
jne 0x4b62bf
push dword [esi + 4]
call fcn.005ab969
add esp, 4
push 0xc
push esi
call fcn.005ab85c
add esp, 8
mov edi, dword [edi + 0x80]
mov esi, dword [edi]
cmp esi, edi
je 0x4b62ef
nop dword [eax + eax]
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x4b630d
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov esi, dword [esi]
cmp esi, edi
jne 0x4b62d0
lea ecx, [esp + 0x90]
call fcn.004b6370
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00410570
call fcn.005c695f
call fcn.005acb77
int3