Function at 0x10126a00
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cdc61
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10216080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1021d1be], 0
jne 0x10126a47
cmp byte [0x1021d1bd], 0
jne 0x10126a47
cmp byte [0x1021d1bc], 0
je 0x10126dd4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1021c9f4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x104c0144]
mov dword [ebp - 0x44], ecx
cmp eax, dword [ecx + 4]
jle 0x10126a93
push 0x104c0144
call fcn.101a94df
add esp, 4
cmp dword [0x104c0144], 0xffffffff
jne 0x10126a93
mov eax, dword [0x104aa138]
push 0x104c0144
mov dword [0x104c0140], eax
call fcn.101a948e
add esp, 4
mov eax, dword [0x1021daf0]
cmp dword [0x104aad4c], eax
je 0x10126dd4
mov dword [0x104aad4c], eax
mov ecx, 1
mov eax, dword [0x104a9fdc]
mov dword [ebp - 0x30], ecx
cmp dword [eax + 0x18], ecx
jl 0x10126dd4
mov dword [ebp - 0x34], 0x103e2020
mov dword [ebp - 0x2c], 0x102eaec8
nop dword [eax]
mov edi, dword [0x104aa7f8]
mov esi, edi
test edi, edi
je 0x10126ade
mov esi, dword [edi]
mov esi, dword [esi + 0xc]
push ecx
mov ecx, esi
call dword [0x101d8258]
mov ecx, edi
call esi
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x10126db4
mov ecx, dword [0x104aa2ac]
cmp byte [ecx + ebx], 0
jne 0x10126db4
cmp ebx, dword [0x1021dae8]
jne 0x10126b34
mov eax, dword [0x102eae60]
test byte [eax], 1
je 0x10126db4
mov eax, dword [0x104a9fe0]
cmp byte [eax + 0xa9], 0
jne 0x10126b52
jmp 0x10126db4
mov ecx, ebx
call fcn.10181550
test al, al
mov eax, dword [0x102eae60]
jne 0x10126b49
test byte [eax], 2
jmp 0x10126b4c
test byte [eax], 4
je 0x10126db4
cmp byte [0x1021d1be], 0
mov eax, dword [0x104a9fdc]
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x54], xmm0
je 0x10126ba3
mov esi, dword [0x104c0140]
mov ecx, esi
call dword [0x101d8258]
mov ecx, dword [ebp - 0x30]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10126b9e
pushal
push 1
movss xmm1, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
call dword [0x104aa13c]
popal
mov ebx, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x14]
cmp byte [0x1021d1bd], 0
je 0x10126d7e
cmp byte [0x1021d3da], 0
je 0x10126d31
cmp ebx, dword [0x1021dae8]
je 0x10126d39
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 4], 0
je 0x10126d7e
mov ecx, dword [ebp - 0x44]
mov eax, dword [0x104b7114]
cmp eax, dword [ecx + 4]
jle 0x10126c80
push 0x104b7114
call fcn.101a94df
add esp, 4
cmp dword [0x104b7114], 0xffffffff
jne 0x10126c80
mov ecx, 0x300
mov eax, 0x104b7148
nop
mov dword [eax - 8], 0
lea eax, [eax + 0x30]
mov dword [eax - 0x34], 0
mov dword [eax - 0x30], 0
mov dword [eax - 0x2c], 0
mov dword [eax - 0x28], 0
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
mov dword [eax - 0x1c], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10126c10
push 0x104b7114
mov dword [ebp - 4], 0xffffffff
call fcn.101a948e
add esp, 4
mov eax, dword [esi + 4]
mov edi, 1
add eax, dword [esi]
mov ecx, dword [esi - 4]
mov dword [ebp - 0x3c], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [esi - 8]
mov esi, 0x104b7140
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x3c], eax
push edi
push esi
push ecx
push ebx
mov ecx, eax
call fcn.10127970
mov eax, dword [ebp - 0x3c]
add esi, 0x3000
inc edi
cmp esi, 0x104c0140
jl 0x10126ca2
mov eax, dword [0x102eae7c]
test byte [eax], 1
je 0x10126ced
movss xmm3, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov edx, 0x104ba140
mov dword [ebp - 0x18], 0xffff005f
mov ecx, ebx
call fcn.101499f0
mov eax, dword [0x102eae7c]
add esp, 4
test byte [eax], 2
je 0x10126d16
movss xmm3, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
mov edx, 0x104bd140
mov dword [ebp - 0x1c], 0xff000000
mov ecx, ebx
call fcn.101499f0
mov eax, dword [0x102eae7c]
add esp, 4
test byte [eax], 4
je 0x10126d7e
movss xmm3, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xffffffff
mov edx, 0x104b7140
jmp 0x10126d73
cmp ebx, dword [0x1021dae8]
jne 0x10126d40
mov edx, 0x102e7260
jmp 0x10126d66
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10126d7e
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [esi - 4]
mov dword [ebp - 0x3c], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [esi - 8]
mov edx, dword [eax + ecx*4]
add edx, 0x6d0
je 0x10126d7e
mov dword [ebp - 0x24], 0xff0000ff
lea eax, [ebp - 0x24]
movaps xmm3, xmm0
push eax
mov ecx, ebx
call fcn.101499f0
add esp, 4
cmp byte [0x1021d1bc], 0
je 0x10126db4
cmp ebx, dword [0x1021dae8]
je 0x10126db4
mov eax, dword [ebp - 0x34]
cmp byte [eax], 0
je 0x10126db4
movss xmm3, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [eax + 0x40]
mov dword [ebp - 0x28], 0xffff005f
mov ecx, ebx
call fcn.101499f0
add esp, 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x104a9fdc]
inc ecx
add dword [ebp - 0x2c], 0x14
add dword [ebp - 0x34], 0x3060
mov dword [ebp - 0x30], ecx
cmp ecx, dword [eax + 0x18]
jle 0x10126ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret