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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x6b4
mov eax, dword [0x10411ce0]
xor eax, esp
mov dword [esp + 0x6b0], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c]
mov ebx, dword [esi + 4]
mov dword [esp + 0x50], eax
push edi
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
add eax, 0x38
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xa0]
add eax, 0x38
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x78], eax
mov eax, ecx
imul eax, edx
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x250]
mov dword [esp + 0x48], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], edx
test ecx, ecx
jle 0x1011dac3
inc eax
push eax
mov eax, dword [esp + 0x58]
push ebx
push edi
push eax
call fcn.10124620
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov eax, ecx
imul eax, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, ecx
imul eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov esi, dword [esi + 0x18]
lea edx, [esi + 1]
mov esi, dword [esp + 0x7c]
cmp edx, esi
mov dword [esp + 0x50], ecx
jl 0x1011daf0
mov edx, esi
cmp ecx, edx
jge 0x1011dd4f
cdq
idiv esi
mov dword [esp + 0x60], 1
imul eax, esi
mov esi, dword [esp + 0x64]
lea eax, [eax + esi - 1]
cdq
idiv esi
mov edx, dword [esp + 0x5c]
imul eax, edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
cmp ecx, dword [eax + 0x18]
je 0x1011db29
mov dword [esp + 0x60], edx
cmp ecx, dword [eax + 0x14]
jne 0x1011db39
test ecx, ecx
jle 0x1011db39
mov edx, 1
jmp 0x1011db3b
xor edx, edx
cmp edx, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
jge 0x1011dd33
lea esp, [esp]
mov esi, dword [edi + 0x10]
imul esi, ecx
add esi, edx
imul esi, esi, 0x1e8
add esi, dword [ebx + 0x44]
cmp dword [esi + 0xec], 0x10
jne 0x1011dbad
test byte [edi + 0x18], 1
je 0x1011dd1e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
push eax
mov eax, dword [edi + 8]
push 0
push 0
push eax
push 0
push 0
push 0
lea eax, [ebx + 0x38]
push eax
mov eax, dword [esp + 0x8c]
push 0
push 0
push eax
push 0
push eax
push ecx
push edx
push esi
call fcn.10125af0
add esp, 0x40
jmp 0x1011dd16
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x70]
jle 0x1011dbff
test edx, edx
jle 0x1011dbff
mov edx, dword [esp + 0x54]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x70], eax
and ecx, 7
mov eax, 8
sub eax, ecx
mov ecx, dword [eax*4 + 0x1033be1c]
push ecx
call fcn.1011a9c0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add edx, eax
push edx
push ebx
push edi
push ecx
call fcn.10124620
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add esp, 0x14
cmp dword [esi + 0x178], 0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0xf0], eax
jne 0x1011dc1b
test byte [edi + 0x18], 1
je 0x1011dca6
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [edi + 0xe4]
push eax
lea eax, [edi + 0xcc]
push eax
lea eax, [edi + 0xc0]
push eax
mov eax, dword [esp + 0x8c]
push eax
lea eax, [edi + 0x140]
push eax
lea eax, [edi + 0x134]
push eax
lea eax, [edi + 0x128]
push eax
mov eax, dword [esp + 0x90]
push eax
lea eax, [ebx + 0x38]
push eax
push ecx
push edx
push esi
push edi
call fcn.10125ec0
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x3bc]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0xc0]
push edx
push eax
push ecx
push esi
push ebx
push edi
call fcn.10110cb0
movzx edx, al
add esp, 0x58
mov dword [esi + 0x178], edx
cmp dword [esi + 0xec], 5
jne 0x1011dcb9
mov dword [esi + 0xec], 0
cmp dword [esi + 0xec], 0
jne 0x1011dce2
mov eax, dword [esi + 0x120]
or eax, dword [esi + 0x11c]
or eax, dword [esi + 0x178]
jne 0x1011dce2
mov dword [esi + 0xec], 4
jmp 0x1011dcef
test byte [ebx + 0xc], 0x40
je 0x1011dcef
and dword [esi + 0x178], 0x3c
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x40]
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0x24]
push edx
mov edx, dword [ebx + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x390]
push eax
push esi
push ebx
call fcn.10113570
add esp, 0x1c
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
inc edx
cmp edx, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
jl 0x1011db50
mov esi, dword [esp + 0x48]
jmp 0x1011dd35
mov esi, eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x68], edx
inc ecx
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
jmp 0x1011dadc
mov edx, dword [esp + 0x54]
mov ecx, dword [edx + 0xc]
and ecx, 7
mov eax, 8
sub eax, ecx
mov ecx, dword [eax*4 + 0x1033be1c]
push ecx
call fcn.1011a9c0
add esp, 4
call dword [0x10506bc8]
mov ecx, dword [esp + 0x6bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102d6d23
mov esp, ebp
pop ebp
ret