Function at 0x1021b590
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x1021b80e
mov ecx, dword [esi + 0x20c]
xor edx, edx
movzx eax, byte [ecx + 0x61]
mov dword [ebp - 0x48], eax
mov eax, 0x14
div dword [ebp - 0x48]
movsx ecx, byte [ecx + 0x58]
mov edx, dword [edi + 0x53f0]
add eax, 2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], ecx
test edx, edx
je 0x1021b606
mov eax, dword [edx + 0x20c]
movsx eax, byte [eax + 0x58]
cmp eax, ecx
je 0x1021b62e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x53f0], 0
push 8
push 8
push ecx
push dword [ebp - 0x48]
mov edx, 1
mov ecx, eax
push 0
push 1
call fcn.100abf80
mov edx, eax
mov dword [edi + 0x53f0], edx
test edx, edx
je 0x1021b80e
mov ecx, dword [edx + 0x20c]
mov eax, dword [ecx + 0x18c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1021b80e
mov eax, dword [ecx + 0x188]
add eax, dword [ebp - 0x4c]
je 0x1021b80e
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0
push eax
push dword [edx + 0x20c]
mov dword [ebp - 0x54], 1
push dword [esi + 0x20c]
mov dword [ebp - 0x70], 0
push edx
mov edx, esi
mov dword [ebp - 0x64], ecx
call fcn.102390a0
test al, al
je 0x1021b80e
mov eax, dword [edi + 0x53f0]
mov ecx, dword [eax + 0x20c]
mov eax, dword [ecx + 0x18c]
mov eax, dword [eax + 8]
mov edx, dword [eax + 4]
test edx, edx
je 0x1021b6d5
mov eax, dword [ecx + 0x188]
add eax, edx
jmp 0x1021b6d7
xor eax, eax
cmp byte [0x11d0d1eb], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x10], eax
je 0x1021b7f9
cmp dword [edi + 0x3744], 2
jne 0x1021b7f9
cmp dword [esi + 0x34], 2
jne 0x1021b7f9
cmp dword [ebp - 0x48], 4
jne 0x1021b7f9
cmp dword [ebx], 0x4433564e
jne 0x1021b7f9
mov ecx, dword [esi + 0x30]
mov edx, 1
push 8
push 8
push dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
push 4
push 0
push 1
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], 1
call fcn.100abf80
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x1021b7f9
lea eax, [ebp - 0x60]
mov edx, esi
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x20c]
push dword [esi + 0x20c]
push ebx
call fcn.102390a0
test al, al
je 0x1021b7f9
mov ecx, dword [edi + 0x53f0]
mov ecx, dword [ecx + 0x20c]
call fcn.10061c10
mov ecx, dword [ebx + 0x20c]
xor esi, esi
mov dword [ebp - 0x4c], eax
mov edi, dword [ecx]
shr edi, 2
test edi, edi
je 0x1021b7e7
mov ebx, eax
movss xmm0, dword [ebx + esi*4]
lea eax, [ebp - 0x40]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push 0x1046e510
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc esi
cmp esi, edi
jb 0x1021b7b4
mov ebx, dword [ebp - 0x44]
push 0x1046a140
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8