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

Disassembly:
sub esp, 0xa0
push esi
mov esi, ecx
xor edx, edx
mov eax, dword [esi + 8]
mov dword [esp + 0xc], edx
dec eax
js 0x100021ba
push ebx
push ebp
push edi
xor ebp, ebp
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + ebp]
mov eax, dword [eax + ebp]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax]
dec ecx
mov dword [esp + 0xac], eax
cmp ecx, edx
mov dword [esp + 0x38], ecx
jl 0x1000219f
mov ebx, 4
mov dword [esp + 0x20], ebx
jmp 0x10001e11
mov ebx, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebp]
mov eax, dword [eax + ebp]
mov ecx, dword [ecx + ebx]
mov eax, dword [eax + ebx]
mov ecx, dword [ecx + 8]
mov edi, dword [eax + 8]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
add eax, edi
push edx
mov dword [esp + 0x4c], ecx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.100016c0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
mov edx, dword [eax + ebp]
lea ecx, [eax + ebp]
mov eax, dword [edx + ebx]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
cmp edx, dword [esp + 0x38]
jge 0x10001eba
mov ecx, dword [ecx]
mov eax, dword [ecx + ebx + 4]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x7c], ecx
jmp 0x10001ec4
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
add edx, 0xfffffff6
add ebx, 0xffffffd8
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], 0x2710
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], 0x15
cmp edx, 0xffffffff
jle 0x100020e0
mov ecx, dword [esp + 0xac]
dec ecx
cmp edx, ecx
jge 0x100020e0
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [edx + ebp]
lea edx, [esp + 0x14]
mov eax, dword [eax + ebx]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
add eax, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.100016c0
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebp]
mov edi, dword [ebx + eax]
mov eax, dword [ebx + eax + 4]
mov ebx, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x10]
sub eax, ecx
sub eax, ebx
add eax, edx
cdq
mov ebx, eax
mov eax, dword [esp + 0x10]
xor ebx, edx
sub eax, ecx
sub ebx, edx
mov ecx, dword [esp + 0xa4]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x80]
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x7c]
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0xa0]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x9c]
add ecx, eax
mov eax, dword [esp + 0x78]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x30]
add ecx, eax
mov eax, dword [esp + 0x74]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x70]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x28]
add ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x24]
add ecx, eax
mov eax, dword [esp + 0x68]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x20]
add ecx, eax
mov eax, dword [esp + 0x64]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x60]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [edi + 0x18]
sub eax, ebx
imul ecx, dword [esi + 0x64]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x4c]
imul eax, dword [esi + 0x54]
add ecx, eax
mov eax, dword [esp + 0x48]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x5c]
imul eax, dword [esi + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x58]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x54]
imul eax, dword [esi + 0x68]
add ecx, eax
mov eax, dword [esp + 0x50]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2c]
imul eax, dword [esi + 0x50]
add ecx, eax
lea eax, [esp + 0x14]
mov eax, dword [eax]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x34]
imul eax, dword [esi + 0x58]
add ecx, eax
mov eax, dword [esp + 0x30]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
imul eax, dword [esi + 0x60]
add ecx, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
cdq
xor eax, edx
sub eax, edx
imul eax, dword [esi + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
jge 0x100020d8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
add ebx, 4
inc edx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
jne 0x10001ee9
mov ecx, dword [esi + 0x30]
mov eax, ebp
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + eax]
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 4]
mov ebx, dword [eax + 0x10]
add ebx, edi
dec ecx
cmp ebx, ecx
jle 0x1000211f
mov ebx, ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0x2c]
cmp edx, eax
jle 0x10002139
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea edx, [edx + edx*2]
cmp edx, 0xff
jle 0x10002149
mov edx, 0xff
cmp edi, ebx
mov dword [esp + 0x2c], edi
mov ecx, edi
jg 0x1000217d
xor eax, eax
mov edi, dword [esi + 0x48]
inc eax
cmp eax, 3
mov edi, dword [edi + 0x18]
mov edi, dword [edi + ecx*4]
mov edi, dword [edi + ebp]
mov byte [edi + eax - 1], dl
mov edi, dword [esi + 0x18]
mov edi, dword [edi + ecx*4]
mov edi, dword [edi + ebp]
mov byte [edi + eax - 1], dl
jl 0x10002155
inc ecx
cmp ecx, ebx
jle 0x10002153
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
jle 0x10001e0b
xor edx, edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
inc eax
add ebp, 4
dec ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
jle 0x10001dce
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xa0
ret