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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
cmp dword [ecx + 0x50], 0x3e80
push esi
movzx esi, word [ecx + 0x100]
push edi
mov dword [ebp - 4], ecx
jl 0x102c266
mov eax, dword [ecx + 0x100]
cdq
idiv dword [ebx + 0x77a0]
movzx eax, ax
mov dword [ebp - 0x18], eax
xor edi, edi
xor edx, edx
mov dword [ebp - 0x1c], edi
cmp dx, word [ecx + 0x22]
jae 0x102cabc
xorps xmm0, xmm0
movsx esi, si
lea eax, [esi + esi*2]
mov dword [ebp - 8], esi
sar esi, 1
cdq
sub eax, edx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], edi
mov edi, dword [ebp + 0xc]
sar eax, 1
add esi, 0x58
mov dword [ebp - 0xc], eax
add edi, 0x44
jmp 0x102c2a4
mov ecx, dword [ebp - 4]
lea eax, [esi - 0x58]
lea edx, [edi - 0x44]
mov dword [eax], edx
mov dword [edi + 0x68], eax
movsx eax, word [ebp + 0x14]
mov dword [edi], 0
movzx edx, word [ecx + 0x22]
imul edx, eax
add edx, dword [ebp + 8]
mov eax, dword [ebx + 0x76d0]
imul edx, dword [ecx + 0xfc]
movss xmm1, dword [0x1007118]
lea edx, [eax + edx*4]
mov eax, dword [ebp - 8]
imul eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov dword [esi - 0xc], edx
mov edx, dword [ebx + 0x76d4]
add eax, eax
add eax, eax
add edx, eax
mov dword [esi], edx
cmp dword [ebx + 0x107a8], 0
mov dword [ebp + 0xc], eax
je 0x102c30d
mov edx, dword [ebx + 0x76d8]
add edx, eax
mov dword [esi + 8], edx
mov edx, dword [ebx + 0x76dc]
add edx, eax
mov dword [esi + 4], edx
mov dword [esi + 0x28], 0
mov edx, dword [ecx + 0x13c]
add edx, eax
mov eax, dword [ebp - 8]
add eax, 0x10
imul eax, dword [ebp + 8]
mov dword [edi - 0x44], edx
mov edx, dword [ebx + 0x775c]
lea eax, [eax*8 + 0x80]
add edx, eax
mov dword [esi + 0x60], edx
mov edx, dword [ebx + 0x7760]
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x64], edx
mov edx, dword [ecx + 0x1c0]
test edx, edx
je 0x102c36b
mov ecx, dword [ecx + 0x1c8]
shl eax, cl
mov ecx, dword [ebp - 4]
test edx, edx
mov edx, dword [ebp - 0x10]
je 0x102c37b
mov ecx, dword [ecx + 0x1c8]
shl edx, cl
mov ecx, dword [ebp - 4]
imul eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0x144]
lea eax, [edx + eax*4]
mov dword [edi - 0xc], eax
mov dword [edi + 0x4c], eax
xor edx, edx
mov word [edi + 0x30], dx
mov word [edi + 0x2e], dx
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm0
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm0
mov eax, 0x7fff
mov word [edi + 0x2c], ax
xor eax, eax
mov dword [edi + 0x36], eax
mov dword [edi + 0x3a], eax
mov dword [edi + 0x3e], eax
mov word [edi + 0x42], ax
mov word [edi + 0x32], ax
mov edx, dword [ebx + 0x7754]
mov eax, dword [ebp + 0xc]
add edx, eax
mov dword [esi + 0x20], edx
mov edx, dword [ebx + 0x7758]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], edx
imul eax, eax, 0xfc
add eax, dword [ebx + 0x77d4]
mov dword [esi - 0x54], eax
add eax, 0x70
mov dword [esi - 0x48], eax
add eax, 0x70
mov dword [esi - 0x4c], eax
movzx edx, word [ecx + 0x22]
movsx eax, word [ebp + 0x14]
imul edx, eax
add edx, dword [ebp + 8]
mov eax, dword [ebx + 0x77d8]
imul edx, dword [ecx + 0xe4]
imul edx, edx, 0x70
add eax, edx
mov dword [esi - 0x50], eax
mov dword [esi - 0x44], eax
mov dword [esi - 0x40], eax
mov dword [esi - 0x3c], eax
movzx edx, word [ecx + 0x22]
movsx eax, word [ebp + 0x14]
imul edx, eax
add edx, dword [ebp + 8]
movsx eax, word [ebp + 0x14]
imul edx, dword [ecx + 0xe4]
imul edx, edx, 0x70
add edx, dword [ebx + 0x77ec]
mov dword [esi - 0x38], edx
movzx edx, word [ecx + 0x22]
imul edx, eax
add edx, dword [ebp + 8]
mov eax, dword [ebx + 0x77dc]
imul edx, dword [ecx + 0xe4]
imul edx, edx, 0x70
add eax, edx
mov edx, eax
mov dword [esi - 0x34], eax
mov dword [esi - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi - 0x2c], edx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebx + 0x77e8]
lea edx, [eax + edx*4]
mov dword [esi - 0x28], edx
mov eax, dword [ecx + 0x100]
mov edx, dword [ebx + 0x1072c]
add eax, 0x10
imul eax, dword [ebp + 8]
lea eax, [edx + eax*8]
movsx edx, word [ebp + 0x14]
mov dword [esi - 0x24], eax
movzx eax, word [ecx + 0x22]
imul eax, edx
add eax, dword [ebp + 8]
push 0x200
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x107dc]
lea edx, [eax + edx*4]
movsx eax, word [ebp + 0x14]
mov dword [esi - 0x20], edx
movzx edx, word [ecx + 0x22]
imul edx, eax
mov eax, dword [ebp + 8]
add edx, eax
shl edx, 9
add edx, dword [ebx + 0x107e0]
push 0
mov dword [esi - 0x1c], edx
movzx edx, word [ecx + 0x22]
movsx ecx, word [ebp + 0x14]
imul edx, ecx
add edx, eax
shl edx, 9
add edx, dword [ebx + 0x107e4]
mov dword [esi - 0x18], edx
mov eax, dword [esi - 0x20]
movss dword [eax], xmm1
mov ecx, dword [esi - 0x20]
movss dword [ecx + 4], xmm1
mov edx, dword [esi - 0x20]
movss dword [edx + 8], xmm1
mov eax, dword [esi - 0x20]
movss dword [eax + 0xc], xmm1
mov ecx, dword [esi - 0x20]
movss dword [ecx + 0x10], xmm1
mov edx, dword [esi - 0x1c]
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [esi - 0x18]
push 0x200
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0x22]
movsx ecx, word [ebp + 0x14]
imul eax, ecx
mov ecx, dword [ebp + 8]
add eax, ecx
lea edx, [eax*8]
sub edx, eax
shl edx, 4
add edx, dword [ebx + 0x107e8]
add esp, 0x18
mov dword [edi + 0x6c], edx
xor eax, eax
mov edx, dword [edi + 0x6c]
mov dword [eax + edx], 1
add eax, 4
cmp eax, 0x70
jl 0x102c591
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x22]
movsx edx, word [ebp + 0x14]
imul eax, edx
mov edx, dword [ebx + 0x107ec]
add eax, ecx
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
push 0x70
lea eax, [edx + ecx*8]
push 0
push eax
mov dword [esi - 0x14], eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14c]
shl ecx, 4
add edx, ecx
mov dword [edi - 0x40], edx
mov edx, dword [eax + 0x150]
add edx, ecx
mov dword [edi - 0x3c], edx
mov edx, dword [eax + 0x1b4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
add ecx, ecx
add ecx, ecx
add edx, ecx
mov dword [edi - 0x10], edx
mov edx, dword [eax + 0x1b4]
add edx, ecx
mov dword [edi + 0x54], edx
mov edx, dword [eax + 0x1b4]
add edx, ecx
mov dword [edi + 0x50], edx
mov edx, dword [ebx + 0x7770]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
mov dword [esi + 0x5c], ecx
mov edx, dword [ebx + 0x7774]
mov ecx, dword [ebp - 0x14]
add edx, ecx
mov dword [esi + 0x2c], edx
mov edx, dword [ebx + 0x7778]
add edx, ecx
add esp, 0xc
mov dword [esi + 0x30], edx
cmp dword [ebx + 0x109c0], 0
je 0x102c691
mov edx, dword [ebx + 0x7784]
add edx, ecx
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 0x130]
imul ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x7788]
lea ecx, [edx + ecx*4]
mov dword [esi + 0x38], ecx
mov edx, dword [ebx + 0x778c]
add edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x3c], edx
mov edx, dword [ebx + 0x7790]
add edx, ecx
mov dword [esi + 0x4c], edx
mov edx, dword [ebx + 0x7794]
add edx, ecx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
imul ecx, ecx, 0x72
mov dword [esi + 0x50], edx
mov edx, dword [ebx + 0x7798]
lea ecx, [ecx + edx + 2]
mov dword [esi + 0x54], ecx
mov edx, dword [ebx + 0x77b8]
add edx, dword [ebp + 0x10]
mov dword [esi + 0x68], edx
mov ecx, dword [eax + 0x10c]
sub ecx, dword [eax + 0x108]
mov dword [edi - 0x20], ecx
xor ecx, ecx
mov dword [esi + 0x78], ecx
movss dword [edi + 0x58], xmm0
movss dword [esi + 0x128], xmm0
mov dword [esi + 0x12c], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], ecx
mov edx, dword [eax + 0xd4]
neg edx
sbb edx, edx
and edx, 2
mov dword [esi + 0x8c], edx
mov dword [edi - 0x14], ecx
movss dword [esi + 0xd4], xmm0
movss dword [esi + 0xd8], xmm0
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm0
cmp dword [eax + 0x50], 0x3e80
jl 0x102c884
mov eax, dword [ebx + 0x77a8]
mov edx, dword [ebx + 0x7654]
mov ecx, dword [ebp + 8]
inc eax
shl eax, 4
add eax, dword [edx + ecx*4]
movsx edx, word [ebp - 0x18]
mov dword [esi + 0xe4], eax
shl edx, 4
add eax, edx
mov dword [esi + 0xf0], eax
mov edx, dword [ebx + 0x7694]
lea eax, [eax + edx*4]
mov dword [esi + 0xf4], eax
mov edx, dword [ebx + 0x7694]
lea eax, [eax + edx*4]
mov dword [esi + 0xf8], eax
mov edx, dword [ebx + 0x7698]
lea eax, [eax + edx*4]
mov dword [esi + 0xfc], eax
mov edx, dword [ebx + 0x7698]
lea eax, [eax + edx*4]
mov dword [esi + 0x100], eax
mov edx, dword [ebx + 0x769c]
lea eax, [eax + edx*4]
mov dword [esi + 0x104], eax
mov edx, dword [ebx + 0x769c]
lea eax, [eax + edx*4]
mov dword [esi + 0x108], eax
mov edx, dword [ebx + 0x76a0]
lea eax, [eax + edx*4]
mov dword [esi + 0x10c], eax
mov edx, dword [ebx + 0x7658]
mov eax, dword [edx + ecx*4]
mov dword [esi + 0xcc], eax
mov ecx, dword [ebx + 0x7668]
lea edx, [eax + ecx*2]
cmp eax, edx
jae 0x102c80e
nop
mov ecx, 0xfffffffe
mov word [eax], cx
mov edx, dword [ebx + 0x7668]
mov ecx, dword [esi + 0xcc]
add eax, 2
lea edx, [ecx + edx*2]
cmp eax, edx
jb 0x102c7f0
mov eax, dword [ebx + 0x765c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0xd0], eax
mov edx, dword [ebx + 0x7668]
add edx, edx
add edx, edx
push edx
push 0
push eax
call sub.MSVCR100.dll_memset
xorps xmm0, xmm0
add esp, 0xc
cmp dword [ebx + 0x107cc], 0
je 0x102c87f
movsx eax, word [ebp - 0x18]
mov edx, dword [ebx + 0x7668]
mov ecx, dword [ebp + 8]
imul edx, eax
imul edx, ecx
shl edx, 4
add edx, dword [ebx + 0x7660]
mov dword [esi + 0xe8], edx
mov edx, dword [ebx + 0x7668]
imul edx, eax
imul edx, ecx
shl edx, 4
add edx, dword [ebx + 0x7664]
mov dword [esi + 0xec], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebx]
cmp dword [edx + 0x24c], ecx
je 0x102c8a5
mov dword [esi + 0x6c], 0x1014e50
mov dword [esi + 0x70], 0x1015a60
mov dword [esi + 0x74], 0x1c
jmp 0x102c8fd
mov ecx, dword [eax + 0x120]
cmp ecx, 1
jne 0x102c8c7
mov dword [esi + 0x6c], 0x1009d60
mov dword [esi + 0x70], 0x1012b70
mov dword [esi + 0x74], 0x3c
jmp 0x102c8fd
cmp ecx, 2
jne 0x102c8e3
mov dword [esi + 0x6c], 0x100c398
mov dword [esi + 0x70], 0x1012c48
mov dword [esi + 0x74], 0x154
jmp 0x102c8fd
cmp ecx, 3
jne 0x102c8fd
mov dword [esi + 0x6c], 0x1010ee8
mov dword [esi + 0x70], 0x1013068
mov dword [esi + 0x74], 0x46
mov edx, dword [eax + 0x130]
mov ecx, dword [ebp + 8]
imul edx, ecx
add edx, dword [eax + 0x1a0]
mov dword [edi - 0x38], edx
mov edx, dword [eax + 0x130]
imul edx, ecx
mov ecx, dword [eax + 0x1a4]
lea edx, [ecx + edx*4]
mov dword [edi - 0x34], edx
mov ecx, dword [eax + 0x130]
imul ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1a8]
lea ecx, [edx + ecx*4]
mov dword [edi - 0x30], ecx
cmp dword [eax + 0x28], 0
mov edx, 1
je 0x102c962
cmp dword [eax + 0x118], edx
jne 0x102c962
mov ecx, dword [ebp + 8]
mov ecx, dword [ebx + ecx*4 + 0x76a8]
mov dword [esi + 0x110], ecx
jmp 0x102c96c
mov dword [esi + 0x110], 0
mov ecx, 2
cmp dword [eax + 0x3c], ecx
jg 0x102c97e
mov dword [edi + 0x170], edx
jmp 0x102c9af
movss xmm1, dword [eax + 0x30]
comiss xmm1, dword [0x1007154]
jbe 0x102c994
mov dword [edi + 0x170], edx
jmp 0x102c9af
comiss xmm1, dword [0x1007150]
jbe 0x102c9a5
mov dword [edi + 0x170], ecx
jmp 0x102c9af
mov dword [edi + 0x170], 3
mov edx, dword [edi + 0x164]
mov ecx, 1
mov word [edx], cx
mov edx, dword [edi + 0x164]
mov ecx, dword [edx + 8]
movzx edx, word [eax + 0x100]
mov word [ecx], dx
mov ecx, dword [edi + 0x164]
mov edx, dword [ecx + 8]
mov cx, word [eax + 0x100]
mov word [edx - 2], cx
mov edx, dword [edi + 0x164]
mov ecx, dword [edx + 0xc]
xor edx, edx
mov word [ecx], dx
mov ecx, dword [edi + 0x164]
mov edx, dword [ecx + 0x10]
mov byte [edx], 1
mov ecx, dword [edi + 0x164]
mov edx, 1
mov word [ecx + 2], dx
mov ecx, dword [edi + 0x164]
movzx edx, word [ecx]
mov word [ecx + 0x1c], dx
movzx edx, word [ecx + 2]
mov word [ecx + 0x1e], dx
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x102ca4e
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x102ca4e
mov eax, dword [eax + 0xe4]
lea eax, [eax + eax*2]
lea eax, [eax + eax + 4]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
xorps xmm0, xmm0
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx + 0x10adc]
add ecx, ecx
add ecx, ecx
add edx, ecx
xor ecx, ecx
mov dword [esi + 0x16c], edx
cmp dword [ebx + 0x10aec], ecx
je 0x102ca8b
mov ecx, dword [ebp - 8]
lea edx, [ecx*4]
mov ecx, dword [ebp + 0x10]
shl ecx, 4
mov dword [esi + 0x174], edx
add ecx, dword [ebx + 0x10aec]
jmp 0x102ca91
mov dword [esi + 0x174], ecx
mov dword [esi + 0x170], ecx
mov ecx, dword [ebp - 0x1c]
movzx eax, word [eax + 0x22]
inc ecx
mov dword [ebp - 0x1c], ecx
movsx ecx, cx
add edi, 0x6f0
add esi, 0x1d0
mov dword [ebp + 8], ecx
cmp ecx, eax
jl 0x102c2a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10