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

Disassembly:
mov eax, 0x1d1c
call fcn.1007d430
mov eax, dword [0x1008a2c0]
xor eax, esp
mov dword [esp + 0x1d18], eax
mov ecx, dword [esp + 0x1d24]
mov eax, dword [esp + 0x1d2c]
mov edx, dword [esp + 0x1d30]
push ebx
push ebp
push esi
lea esi, [esp + 0xa0]
mov dword [esp + 0x6c], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x78], esi
push edi
mov edi, dword [esp + 0x1d30]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x8c], esi
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1d48]
imul eax, dword [esp + 0x8c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x1d44]
imul edx, dword [esp + 0x24]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x1d4c]
add esi, 0xfffffff8
mov dword [esp + 0x6c], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub esi, dword [esp + 0x48]
sub ecx, dword [esp + 0x58]
add eax, edx
add eax, dword [edi + 0x18]
inc esi
xor ebx, ebx
inc ecx
lea ebp, [esp + 0x428]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0xa0], eax
cmp esi, 0x640
jle 0x10050ff8
lea eax, [esi*4]
push eax
call sub.MSVCR100.dll_malloc
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10051035
mov esi, dword [esp + 0x58]
imul esi, dword [esp + 0x48]
cmp esi, 0xe1
jle 0x1005103f
lea ecx, [esi*4]
push ecx
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
jne 0x10051043
lea edx, [esp + 0x428]
cmp ebp, edx
je 0x10051035
push ebp
call sub.MSVCR100.dll_free
add esp, 4
mov eax, 1
jmp 0x10052033
mov eax, dword [esp + 0x70]
test esi, esi
jle 0x1005105e
mov ecx, dword [esp + 0x1d38]
sub ecx, eax
mov edx, dword [ecx + eax]
sar edx, 8
mov dword [eax], edx
add eax, 4
dec esi
jne 0x10051050
mov dword [esp + 0x74], ebx
cmp dword [esp + 0x24], ebx
jle 0x10052005
lea esp, [esp]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x74]
mov eax, 1
dec ecx
shl eax, cl
test dword [esp + 0x1d50], eax
je 0x10051ff2
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x9c]
lea ecx, [eax + edx]
add eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x78], ecx
test edx, edx
jle 0x100510bf
mov ecx, edx
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, edx
cmp dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
jle 0x10051ff2
jmp 0x100510e0
cmp dword [esp + 0x58], 0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], 0
jle 0x10051f13
jmp 0x10051100
mov ecx, dword [esp + 0x4c]
imul ecx, dword [esp + 0x7c]
add ecx, dword [esp + 0x78]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x5c], 0
jle 0x10051f00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
lea edx, [eax + eax*2]
lea eax, [eax + eax*4]
add ecx, 0xfffffffe
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x80]
mov ebx, ecx
imul ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x90]
sub eax, ecx
mov dword [esp + 0x18], edx
cmp eax, 0xe
jle 0x1005117f
mov eax, 7
jmp 0x10051189
cmp eax, 7
jle 0x10051189
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + ebx]
mov dword [esp + 0x1c], edx
lea edx, [ecx + ecx]
movzx edi, byte [edx + ebx]
movzx edx, byte [ebx + edx*2]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x98]
movzx edx, byte [edx + ebx]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x94]
movzx edi, byte [edi + ebx]
mov dword [esp + 0x34], edi
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x14]
movzx esi, byte [ebx]
add dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
lea edx, [edx + eax*4]
mov dword [esp + 0x64], edx
lea edx, [eax - 1]
imul edx, ecx
add ebx, edx
mov dword [esp + 0x68], edi
cmp eax, 7
jne 0x100514c6
mov eax, dword [esp + 0x58]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x100513b7
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x100513b7
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051264
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
movzx edx, byte [ebx]
mov dword [esp + 0x50], edx
movzx edx, byte [ecx + ebx]
mov ecx, dword [esp + 0x10]
imul ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
imul ecx, edx
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x60]
imul edx, dword [esp + 0x50]
add dword [esp + 0x14], edx
add dword [esp + 0x14], ecx
mov edx, dword [esp + 0x40]
imul edx, dword [esp + 0x20]
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x1005135e
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x1005137f
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051260
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
movzx ecx, byte [ecx + ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
movzx edx, byte [ebx]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
imul ecx, esi
add edx, ecx
add dword [ebp + eax*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
imul edx, edi
imul ecx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
imul edx, dword [esp + 0x50]
add dword [esp + 0x14], ecx
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
imul edx, dword [esp + 0x20]
add dword [esp + 0x14], ecx
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x100513c3
jmp 0x10051ef2
cmp eax, 6
jne 0x10051726
mov eax, dword [esp + 0x58]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051637
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051637
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051504
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
movzx edx, byte [ebx]
mov dword [esp + 0x34], edx
movzx edx, byte [ecx + ebx]
mov ecx, dword [esp + 0x10]
imul ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
imul ecx, edx
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x54]
imul edx, dword [esp + 0x34]
add dword [esp + 0x14], edx
add dword [esp + 0x14], ecx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x100515de
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x100515ff
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051500
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
movzx ecx, byte [ecx + ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
imul ecx, edi
movzx edx, byte [ebx]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
imul ecx, esi
add edx, ecx
add dword [ebp + eax*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
imul edx, edi
imul ecx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x54]
imul edx, dword [esp + 0x34]
add dword [esp + 0x14], ecx
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051643
jmp 0x10051ef2
cmp eax, 5
jne 0x10051946
mov eax, dword [esp + 0x58]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051877
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051877
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051764
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
movzx edx, byte [ebx]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
movzx edx, byte [ecx + ebx]
mov ecx, dword [esp + 0x10]
imul ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x54]
imul ecx, edx
add dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
imul edx, dword [esp + 0x20]
add dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x1005181e
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x1005183f
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051760
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
movzx ecx, byte [ecx + ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
movzx edx, byte [ebx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
imul ecx, edi
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
imul ecx, esi
add edx, ecx
add dword [ebp + eax*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
imul edx, edi
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
imul edx, dword [esp + 0x20]
add dword [esp + 0x30], ecx
add dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051883
jmp 0x10051ef2
cmp eax, 4
jne 0x10051b26
mov eax, dword [esp + 0x58]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051a77
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051a77
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051984
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov dword [esp + 0x1c], edx
movzx edx, byte [ecx + ebx]
mov ecx, dword [esp + 0x10]
imul ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x40]
imul ecx, edx
add dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x10051a1e
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x10051a3f
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051980
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
movzx ecx, byte [ecx + ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
imul ecx, esi
add edx, ecx
add dword [ebp + eax*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
imul edx, edi
imul ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
add dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051a83
jmp 0x10051ef2
cmp eax, 3
jne 0x10051cb7
mov eax, dword [esp + 0x58]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051c33
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051c33
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051b64
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [ecx + ebx]
mov dword [esp + 0x10], edx
imul edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
imul edx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
movzx esi, byte [ebx]
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
mov edi, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x10051bda
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x10051bfb
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051b60
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
nop
movzx ecx, byte [ecx + ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
imul edx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x2c]
movzx esi, byte [ebx]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x38]
imul ecx, esi
add edx, ecx
add dword [ebp + eax*4], edx
mov edx, dword [esp + 0x10]
imul edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x28]
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051c40
jmp 0x10051ef2
cmp eax, 2
mov eax, dword [esp + 0x58]
jne 0x10051e13
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051dab
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051dab
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051cf4
mov edi, dword [esp + 0x68]
movzx edx, byte [ebx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], esi
movzx esi, byte [ecx + ebx]
mov ecx, edx
mov edx, dword [esp + 0x28]
imul ecx, edi
imul edx, esi
add ecx, edx
add ecx, dword [ebp + eax*4 + 4]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
imul ecx, edi
mov edi, dword [esp + 0x6c]
add edx, ecx
add edx, dword [ebp + eax*4]
mov ecx, edi
sar edx, cl
test edx, 0xffffff00
je 0x10051d4e
test edx, edx
mov edx, dword [esp + 0x18]
sets cl
dec cl
mov byte [edx], cl
jmp 0x10051d54
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x10051d73
test edx, edx
sets dl
dec dl
mov byte [ecx + edi], dl
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051cf0
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051dc0
movzx edx, byte [ebx]
mov dword [esp + 0x10], edx
imul edx, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
movzx esi, byte [ecx + ebx]
mov ecx, dword [esp + 0x2c]
imul ecx, edi
add edx, ecx
add dword [ebp + eax*4], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
imul ecx, edi
imul edx, esi
add ecx, edx
add dword [ebp + eax*4 + 4], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 2
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x10], edx
cmp eax, edx
jle 0x10051dc0
jmp 0x10051ef2
dec eax
cmp dword [esp + 0x4c], eax
jl 0x10051ec9
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x48]
jl 0x10051ec9
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
jmp 0x10051e40
movzx ecx, byte [ecx + ebx]
movzx edx, byte [ebx]
imul ecx, edi
add ecx, dword [ebp + eax*4 + 4]
imul edx, edi
add edx, dword [ebp + eax*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
sar edx, cl
test edx, 0xffffff00
je 0x10051e76
test edx, edx
mov edx, dword [esp + 0x18]
sets cl
dec cl
mov byte [edx], cl
jmp 0x10051e7c
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sar edx, cl
mov ecx, dword [esp + 0x24]
test edx, 0xffffff00
je 0x10051e9d
test edx, edx
sets dl
dec dl
mov byte [ecx + esi], dl
mov dword [ebp + eax*4], 0
mov dword [ebp + eax*4 + 4], 0
lea edx, [ecx + ecx]
add dword [esp + 0x18], edx
add eax, 2
lea ebx, [ebx + ecx*2]
cmp eax, dword [esp + 0x10]
jle 0x10051e40
jmp 0x10051ef2
xor eax, eax
cmp dword [esp + 0x10], eax
jl 0x10051ef2
movzx edx, byte [ecx + ebx]
movzx esi, byte [ebx]
imul edx, edi
add dword [ebp + eax*4 + 4], edx
imul esi, edi
add dword [ebp + eax*4], esi
add eax, 2
lea ebx, [ebx + ecx*2]
cmp eax, dword [esp + 0x10]
jle 0x10051ed1
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x5c], ecx
jl 0x10051150
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x58]
jl 0x10051100
mov esi, dword [esp + 0x44]
cmp eax, esi
jge 0x10051fc0
mov ecx, dword [esp + 0x24]
mov edx, eax
imul edx, ecx
add edx, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov edx, esi
sub edx, eax
mov dword [esp + 0x4c], edx
add eax, edx
lea ebx, [ebx]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x70]
xor edx, edx
test edi, edi
jle 0x10051f91
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], edi
lea ebx, [ebx]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
test edi, edi
jle 0x10051f83
mov dword [esp + 0x60], edi
movzx edi, byte [ebx]
imul edi, dword [esi]
add edx, edi
add ebx, ecx
add esi, 4
dec dword [esp + 0x60]
jne 0x10051f70
mov edi, dword [esp + 0x7c]
add dword [esp + 0x3c], edi
dec dword [esp + 0x64]
jne 0x10051f60
mov ecx, dword [esp + 0x6c]
sar edx, cl
mov ecx, dword [esp + 0x18]
test edx, 0xffffff00
je 0x10051faa
test edx, edx
sets dl
dec dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x24]
add dword [esp + 0x18], ecx
add dword [esp + 0x30], ecx
add ebx, ecx
dec dword [esp + 0x4c]
jne 0x10051f40
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
add dword [esp + 0x78], edx
inc ecx
mov dword [esp + 0x88], ecx
cmp ecx, dword [esp + 0x84]
jl 0x100510e0
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
cmp eax, dword [esp + 0x24]
jl 0x10051070
lea edx, [esp + 0x428]
cmp ebp, edx
je 0x10052019
push ebp
call sub.MSVCR100.dll_free
add esp, 4
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x10052031
push eax
call sub.MSVCR100.dll_free
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1d28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d356
add esp, 0x1d1c
ret