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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp - 0x40], ecx
cmp esi, ecx
je 0x522d37
lea eax, [edi + 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], edi
lea eax, [esi + 0x10]
mov dword [ebp - 0x28], eax
push 0xdc
call fcn.005283f4
add esp, 4
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x34], xmm0
mov dword [eax], 0x57c4b8
movups xmmword [eax + 0x48], xmm0
movups xmmword [eax + 0x58], xmm0
movups xmmword [eax + 0x68], xmm0
xor ebx, ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x78], ebx
mov eax, 4
push eax
call fcn.005283f4
add esp, 4
mov dword [eax], ebx
mov dword [edi + 0x80], eax
lea eax, [edi + 0x84]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x88], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x8c], ebx
mov eax, 0x57c608
mov dword [edi + 0x44], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x94], xmm0
movups xmmword [edi + 0xa4], xmm0
movups xmmword [edi + 0xb4], xmm0
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xc4], ebx
mov eax, 4
push eax
call fcn.005283f4
add esp, 4
mov dword [eax], ebx
mov dword [edi + 0xcc], eax
lea eax, [edi + 0xd0]
mov dword [ebp - 0x30], eax
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd8], ebx
mov dword [ebp - 0x34], edi
mov eax, 0x57c608
mov dword [edi + 0x90], eax
mov dword [ebp - 0x3c], esi
lea ebx, [esi + 0x1c]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.0042edbc
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.0042edbc
mov esi, dword [ebp - 0x24]
mov edi, dword [esi]
mov edx, esi
test edi, edi
je 0x522c74
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
lea eax, [edi + 0x10]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00431620
add esp, 0xc
lea eax, [edi + 4]
cmp byte [ebp - 0x20], 0
cmovns eax, edi
cmovns ebx, edi
mov edi, dword [eax]
test edi, edi
jne 0x522baa
cmp ebx, dword [ebp - 0x24]
je 0x522c1f
lea eax, [ebx + 0x10]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
call fcn.00431620
add esp, 0xc
cmp byte [ebp - 0x1c], 0
js 0x522c1f
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x522d05
lea ecx, [edi + 0x90]
call fcn.00521564
lea ecx, [edi + 0x44]
call fcn.00521564
mov ecx, edi
call fcn.0050e0e0
push edi
call fcn.00528424
add esp, 4
jmp 0x522d05
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov edx, esi
test eax, eax
je 0x522c74
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov esi, eax
lea edi, [eax + 0x10]
push edi
mov ebx, dword [ebp - 0x2c]
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00431620
add esp, 0xc
cmp byte [ebp - 0x18], 0
js 0x522c6c
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00431620
add esp, 0xc
cmp byte [ebp - 0x14], 0
jns 0x522cf8
lea edx, [esi + 4]
mov eax, dword [esi + 4]
jmp 0x522c70
mov eax, dword [esi]
mov edx, esi
test eax, eax
jne 0x522c2d
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edx
push 0x20
call fcn.005283f4
add esp, 4
mov esi, eax
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x8f], 0
js 0x522ca8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x522cb9
push dword [eax + 0x88]
push dword [eax + 0x84]
call fcn.0044d7c8
mov edi, dword [ebp - 0x38]
xor eax, eax
mov ebx, esi
mov dword [esi + 0x1c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x28]
mov dword [edx], esi
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x522ce1
mov dword [edi + 0x3c], ecx
mov ebx, dword [edx]
push ebx
push dword [edi + 0x40]
call fcn.0043152a
add esp, 8
inc dword [edi + 0x44]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x1c], eax
jmp 0x522d0b
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx]
test ebx, ebx
je 0x522c74
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c], eax
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x522d4b
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x522d23
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x522d19
jmp 0x522d2c
mov eax, dword [edx + 8]
cmp dword [eax], edx
mov edx, eax
jne 0x522d23
mov esi, eax
cmp eax, dword [ebp - 0x40]
jne 0x522a9d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3