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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebp, edx
push 0xc40
push 0
push edi
mov ebx, dword [ebp + 0x1c]
mov esi, ecx
mov dword [esp + 0x20], ebx
call fcn.1011df10
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
mov byte [edi + 0x20], cl
mov edx, 0x1015c06c
mov ecx, ebp
mov dword [esp + 0x5c], 0
push edi
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x14], eax
movups xmmword [esp + 0x50], xmm0
mov dword [edi], esi
mov dword [edi + 4], ebp
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
call fcn.1003ac80
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov ebx, dword [esp + 0x74]
test bl, bl
je 0x10041316
cmp byte [edi + 0x18], 2
jne 0x100413ff
cmp byte [edi + 0x1a], 5
jb 0x100413ff
mov edx, dword [ebp + 8]
lea eax, [edx + 1]
cmp eax, dword [ebp + 4]
jae 0x100412cf
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100412a6
push 2
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebp
call eax
cmp eax, 2
jne 0x100412cf
mov edx, dword [ebp + 8]
lea eax, [esp + 0x68]
jmp 0x100412b2
mov eax, dword [ebp]
mov ecx, 0
add eax, edx
je 0x100412be
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
lea eax, [edx + 2]
mov dword [ebp + 8], eax
mov al, byte [edi + 0x1a]
mov dword [edi + 0x1c], ecx
jmp 0x1004136f
mov dword [edi + 0x1c], 0
mov ebx, 0x55
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004130a
mov edx, dword [esp + 0x5c]
mov esi, dword [eax + 0x1c]
test edx, edx
je 0x100412fb
cmp dword [eax + 0x14], 0
je 0x100412fb
mov eax, dword [esi + 8]
mov ecx, esi
call eax
mov edx, dword [esp + 0x58]
test edx, edx
je 0x1004130a
mov eax, dword [esi + 8]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x50
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov byte [esp + 0x68], 0
test eax, eax
je 0x10041340
push 1
lea edx, [esp + 0x6c]
push edx
mov edx, ecx
mov ecx, ebp
call eax
cmp eax, 1
jne 0x100412d6
mov ecx, dword [ebp + 8]
mov dl, byte [esp + 0x68]
jmp 0x1004134b
cmp ecx, dword [ebp + 4]
jae 0x100412d6
mov eax, dword [ebp]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
cmp byte [edi + 0x18], 1
jne 0x100413ff
mov al, byte [edi + 0x1a]
cmp al, 4
jb 0x100413ff
cmp dl, 4
ja 0x100413ff
movzx esi, al
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100413ea
push 0
push 0
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
jne 0x100413ef
mov dword [ebp + 8], esi
test bl, bl
je 0x1004146d
xorps xmm0, xmm0
movups xmmword [edi + 0x4d8], xmm0
movups xmmword [edi + 0x4e8], xmm0
mov dword [edi + 0x4f8], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x4ec], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x4f0], eax
test eax, eax
js 0x100412d6
mov esi, dword [ebp + 8]
add esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10041409
push 0
push 0
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x10041412
jmp 0x100412d6
cmp esi, dword [ebp + 4]
jbe 0x1004138b
cmp byte [esp + 0x70], 0
mov ebx, 0x55
je 0x100412db
mov ebx, 2
jmp 0x100412db
cmp esi, dword [ebp + 4]
ja 0x100412d6
push ebx
lea ecx, [edi + 0x6c]
mov dword [ebp + 8], esi
push 1
mov edx, ebp
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
lea esi, [edi + 0x4d8]
cmp byte [esp + 0x70], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x54c], eax
je 0x100415a5
movzx edx, cx
mov dword [esp + 0x64], edx
test ecx, ecx
jle 0x10041540
cmp edx, dword [edi + 0x30]
jb 0x10041540
mov ebx, 6
jmp 0x100412db
push 0
push 0
lea ecx, [edi + 0x24]
mov edx, ebp
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
je 0x10041496
cmp byte [esp + 0x70], 0
je 0x100412db
mov ebx, 2
jmp 0x100412db
mov eax, dword [edi + 0x30]
cmp eax, 1
jbe 0x100414b4
cmp dword [edi + 0x3c], eax
jae 0x100414b4
xor ebx, ebx
cmp byte [esp + 0x70], bl
sete bl
add ebx, 2
jmp 0x100412db
push 0
lea esi, [edi + 0x4d8]
mov edx, ebp
push 0
mov ecx, esi
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
push eax
push 1
mov edx, ebp
lea ecx, [esp + 0x44]
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
push eax
lea ecx, [edi + 0x6c]
mov edx, ebp
push 1
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
lea eax, [edi + 0x558]
push eax
lea eax, [edi + 0x554]
push eax
lea edx, [edi + 0x550]
lea ecx, [esp + 0x44]
call fcn.1003eae0
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov eax, dword [edi + 0x30]
cmp eax, dword [edi + 0x4e4]
jbe 0x10041432
mov ebx, 3
jmp 0x100412db
mov eax, dword [edi + 0x30]
mov dword [edi + 0x10], eax
test ecx, ecx
js 0x100412db
push dword [esp + 0x6c]
cmp byte [esp + 0x78], 0
lea ecx, [edi + 0x55c]
push edi
mov eax, 0x1000
mov ebx, 0x3000
cmovne eax, ebx
push eax
push dword [esp + 0x1c]
push ebp
push edx
mov edx, esi
call fcn.10040d90
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov esi, dword [edi + 0x5cc]
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100415b9
push ebx
push ebx
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x100415c2
jmp 0x100412d6
xor edx, edx
cmp dword [edi + 0x30], 1
mov dword [esp + 0x64], edx
jbe 0x10041546
lea ebx, [edx + 3]
jmp 0x100412db
cmp esi, dword [ebp + 4]
ja 0x100412d6
push dword [esp + 0x74]
lea ecx, [edi + 0x4b4]
mov dword [ebp + 8], esi
push 0
mov edx, ebp
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
cmp dword [edi + 0x5e0], 0xffff
jne 0x100415ff
cmp byte [esp + 0x74], al
jne 0x100415ff
mov dword [edi + 0x7e8], eax
jmp 0x100417ad
push dword [edi + 0x610]
lea ecx, [edi + 0xc28]
mov edx, ebp
push dword [esp + 0x14]
call fcn.1003f890
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov esi, dword [edi + 0x600]
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10041642
push ebx
push ebx
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x1004164b
jmp 0x100412d6
cmp esi, dword [ebp + 4]
ja 0x100412d6
push dword [esp + 0x74]
mov edx, ebp
mov dword [ebp + 8], esi
push 0
lea ecx, [esp + 0x20]
call fcn.1003e6a0
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov eax, dword [esp + 0x24]
cmp eax, 0x100
ja 0x10041776
lea ecx, [esp + 0x68]
mov dword [edi + 0x7e8], eax
push ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x28c
push ebx
push eax
push ebx
mov dword [esp + 0x78], ebx
call fcn.1003b010
mov ebx, dword [esp + 0x68]
mov esi, eax
mov ecx, dword [esp + 0x24]
test ebx, ebx
jne 0x10041776
test esi, esi
je 0x100416c7
test ecx, ecx
jle 0x100416c7
imul eax, ecx, 0x28c
push eax
push ebx
push esi
call fcn.1011df10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ebx, ebx
jne 0x10041776
test ecx, ecx
je 0x100416f0
lea eax, [edi + 0x7ec]
mov edx, ecx
nop dword [eax + eax]
mov dword [eax], esi
lea eax, [eax + 4]
add esi, 0x28c
sub edx, 1
jne 0x100416e0
xor esi, esi
test ecx, ecx
je 0x1004174b
cmp byte [esp + 0x74], 0
mov eax, 0x4000
mov edx, 0x1000
cmovne edx, eax
lea eax, [edi + 0x7ec]
mov dword [esp + 0x14], edx
mov dword [esp + 0x68], eax
push dword [esp + 0x6c]
mov ecx, dword [eax]
push edi
push edx
push dword [esp + 0x1c]
lea edx, [esp + 0x28]
push ebp
push esi
call fcn.10040d90
mov ebx, eax
test ebx, ebx
jne 0x10041776
mov eax, dword [esp + 0x68]
inc esi
mov ecx, dword [esp + 0x24]
add eax, 4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
cmp esi, ecx
jb 0x10041716
cmp byte [esp + 0x74], 0
je 0x10041757
cmp ecx, 1
jbe 0x10041776
mov eax, dword [edi + 0x604]
lea ecx, [edi + 0xbec]
add eax, dword [esp + 0x10]
mov edx, dword [edi + 0x4c0]
push eax
push ebp
call fcn.1003ef90
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100417a5
mov edx, dword [esp + 0x38]
mov esi, dword [eax + 0x1c]
test edx, edx
je 0x10041796
cmp dword [eax + 0x14], 0
je 0x10041796
mov eax, dword [esi + 8]
mov ecx, esi
call eax
mov edx, dword [esp + 0x34]
test edx, edx
je 0x100417a5
mov eax, dword [esi + 8]
mov ecx, esi
call eax
test ebx, ebx
jne 0x100412db
cmp dword [edi + 0x5cc], 0
jne 0x100417c0
mov ebx, 3
jmp 0x100412db
mov eax, dword [edi + 0x4c0]
lea edx, [edi + 0x548]
push 0
push 0
lea ecx, [edi + 0x6c]
mov dword [edi + 0x14], eax
call fcn.1003eae0
mov ebx, eax
test ebx, ebx
jne 0x100412db
cmp byte [esp + 0x74], al
jne 0x1004186b
mov edx, dword [edi + 0x14]
test edx, edx
je 0x1004186b
cmp dword [edi + 0x5e0], 0xffff
je 0x1004180d
cmp byte [esp + 0x70], al
mov byte [esp + 0x70], 1
jne 0x10041812
mov byte [esp + 0x70], 0
push dword [esp + 0x70]
lea ecx, [edi + 0x49c]
push dword [edi + 0x5c4]
push dword [esp + 0x18]
push ebp
call fcn.1003f290
mov ebx, eax
test ebx, ebx
jne 0x100412db
cmp dword [edi + 0x5e0], 0xffff
jne 0x1004186b
push dword [edi + 0x5c8]
lea ecx, [edi + 0x90]
push dword [esp + 0x14]
lea edx, [edi + 0x49c]
push ebp
push dword [edi + 0x14]
call fcn.10040650
mov ebx, eax
test ebx, ebx
jne 0x100412db
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.1003eef0
mov dword [edi + 0x544], eax
jmp 0x100412db