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

Disassembly:
mov eax, 0x1dc4
call fcn.1007d430
mov eax, dword [0x1008a2c0]
xor eax, esp
mov dword [esp + 0x1dc0], eax
mov eax, dword [esp + 0x1dcc]
mov ecx, dword [esp + 0x1dc8]
mov edx, dword [esp + 0x1ddc]
push ebx
mov ebx, dword [esp + 0x1dd8]
push ebp
mov ebp, dword [eax + 4]
push esi
lea esi, [esp + 0x148]
mov dword [esp + 0x8c], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x40], ebp
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x9c], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xac], ebp
mov ebp, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
push edi
mov edi, dword [esp + 0x1de8]
mov dword [esp + 0x24], esi
mov dword [esp + 0xbc], ebp
lea ebp, [ebx + esi - 1]
lea esi, [edi + 2]
imul esi, ebp
mov dword [esp + 0x70], edx
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x4d0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x1dfc]
mov dword [esp + 0x98], edx
add eax, 0xfffffff8
lea edx, [esp + 0xcc]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x8c], ebp
cmp esi, 0x640
jg 0x1004d6ab
cmp edi, 0xf
jle 0x1004d6d7
lea ecx, [esi + edi*2 + 2]
add ecx, ecx
add ecx, ecx
push ecx
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [esp + 0x98], eax
test eax, eax
je 0x1004d76b
mov edx, eax
lea edx, [edx + esi*4]
mov dword [esp + 0xa8], edx
lea ecx, [edi + 1]
xor eax, eax
test ecx, ecx
jle 0x1004d701
mov esi, dword [esp + 0x98]
add ebp, ebp
add ebp, ebp
jmp 0x1004d6f0
mov dword [edx + eax*4], esi
inc eax
add esi, ebp
cmp eax, ecx
jl 0x1004d6f0
mov ebp, dword [esp + 0x8c]
xor eax, eax
test ecx, ecx
jle 0x1004d724
lea esi, [edx + edi*4 + 4]
jmp 0x1004d710
mov ebp, dword [edx + eax*4]
mov dword [esi], ebp
inc eax
add esi, 4
cmp eax, ecx
jl 0x1004d710
mov ebp, dword [esp + 0x8c]
mov eax, dword [edx + edi*4]
imul edi, ebx
lea esi, [eax + ebp*4]
cmp edi, 0xe1
jle 0x1004d775
lea ecx, [edi*4]
push ecx
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [esp + 0x90], eax
test eax, eax
jne 0x1004d77c
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x4d0]
cmp eax, edx
je 0x1004d76b
push eax
call sub.MSVCR100.dll_free
add esp, 4
mov eax, 1
jmp 0x1004ec6a
mov eax, dword [esp + 0x90]
test edi, edi
jle 0x1004d79e
mov ecx, dword [esp + 0x1de0]
sub ecx, eax
lea esp, [esp]
mov edx, dword [ecx + eax]
sar edx, 8
mov dword [eax], edx
add eax, 4
dec edi
jne 0x1004d790
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x1df0]
mov dword [esp + 0xa4], 0
sub ebp, ecx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x8c], ebp
jle 0x1004ec32
jmp 0x1004d7d0
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0xa4]
mov edx, 1
dec ecx
shl edx, cl
test dword [esp + 0x1e00], edx
je 0x1004ec19
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xc8]
lea ebp, [eax + ecx]
add eax, dword [esp + 0xc0]
xor ecx, ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x50], ecx
jle 0x1004d8cf
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + ecx*4]
xor eax, eax
test ebx, ebx
jle 0x1004d840
movzx edi, byte [ebp]
mov dword [edx + eax*4], edi
inc eax
cmp eax, ebx
jl 0x1004d834
mov edi, dword [esp + 0x8c]
test edi, edi
jle 0x1004d867
mov ecx, ebp
lea eax, [edx + ebx*4]
movzx ebp, byte [ecx]
add ecx, dword [esp + 0x44]
mov dword [eax], ebp
add eax, 4
dec edi
jne 0x1004d850
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1df0]
test edi, edi
jle 0x1004d892
mov ecx, dword [esp + 0x8c]
lea eax, [ebx + ecx]
lea ecx, [edx + eax*4]
mov eax, ecx
mov edx, edi
mov edi, dword [ecx - 4]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x1004d883
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x1df4]
jl 0x1004d8c0
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x1df8]
mov eax, dword [esp + 0xa0]
lea edx, [edx + eax - 2]
cmp ecx, edx
jge 0x1004d8c0
add ebp, dword [esp + 0xb0]
mov dword [esp + 0x78], ebp
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x50]
jl 0x1004d824
mov ebx, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x9c], edx
cmp ebx, edx
jle 0x1004d8ea
mov ecx, ebx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edx, ebx
cmp dword [esp + 0xa0], 0
mov dword [esp + 0xb4], 0
jle 0x1004ec19
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x1df8]
add eax, 0xfffffffe
mov dword [esp + 0xc4], eax
jmp 0x1004d920
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x90]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xac], ecx
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x4c], 0
test eax, eax
jle 0x1004ea6f
jmp 0x1004d970
cmp dword [esp + 0x74], 0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x84], 0
jle 0x1004ea5c
jmp 0x1004d9a0
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
sub eax, ebp
lea edi, [edx + ebp*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x94], eax
cmp eax, 0xe
jle 0x1004d9e0
mov dword [esp + 0x94], 7
jmp 0x1004d9f1
cmp eax, 7
jle 0x1004d9f8
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
add ebp, eax
mov dword [esp + 0x84], ebp
cmp eax, 7
jne 0x1004dd3d
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x60], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x14]
dec ecx
mov dword [esp + 0x88], edx
cmp dword [esp + 0x4c], ecx
jl 0x1004dc3f
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x84], edx
jl 0x1004dc3f
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
mov ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x70]
lea ecx, [ecx + ebx*4]
lea ebx, [edi + 0x1c]
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], edi
mov edi, edi
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + ebx]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x54]
mov ebx, edi
imul ebx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x38]
add ebx, eax
mov eax, dword [esp + 0x48]
imul eax, dword [esp + 0x18]
add ebx, ecx
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x40]
imul edi, eax
add ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
imul ecx, ebp
imul eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x3c]
imul eax, dword [esp + 0x54]
add ebx, ecx
mov ecx, dword [esp + 0x88]
imul ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x18]
add edi, ecx
mov ecx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x28]
imul ecx, eax
add ebx, dword [esi + edx*4 + 4]
add edi, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebp
add edi, ecx
add edi, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar edi, cl
mov dword [esp + 0x30], edi
test edi, 0xffffff00
mov edi, dword [esp + 0x14]
je 0x1004dbc4
cmp dword [esp + 0x30], 0
setl cl
dec cl
jmp 0x1004dbc8
mov cl, byte [esp + 0x30]
mov byte [edi], cl
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004dbe7
mov edi, dword [esp + 0x1c]
test ebx, ebx
sets cl
dec cl
mov byte [edi], cl
jmp 0x1004dbed
mov ecx, dword [esp + 0x1c]
mov byte [ecx], bl
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
add ecx, ecx
add dword [esp + 0x2c], ecx
add dword [esp + 0x14], ecx
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add ebx, 8
add ecx, 8
add edi, 0xfffffffe
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], ecx
cmp edx, edi
jle 0x1004dac0
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
add edi, 0x1c
mov dword [esp + 0x10], edi
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov ebx, ebp
mov ebp, dword [esp + 0x18]
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [edi - 4]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov edi, ecx
imul ecx, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
add edi, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
imul eax, dword [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x38]
add edi, eax
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x28]
imul ebx, eax
add edi, ebx
mov ebx, dword [esp + 0x34]
imul ebx, ebp
add edi, ebx
add dword [esi + edx*4], edi
mov edi, dword [esp + 0x3c]
imul edi, dword [esp + 0x60]
add ecx, edi
mov edi, dword [esp + 0x88]
imul edi, dword [esp + 0x54]
add ecx, edi
mov edi, dword [esp + 0x5c]
imul edi, dword [esp + 0x38]
add ecx, edi
mov edi, dword [esp + 0x48]
imul edi, dword [esp + 0x18]
add ecx, edi
mov edi, dword [esp + 0x34]
imul edi, eax
add ecx, edi
mov edi, dword [esp + 0x40]
imul edi, ebp
add ecx, edi
add dword [esi + edx*4 + 4], ecx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add edx, 2
add edi, 8
add ecx, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edx, ecx
jle 0x1004dc55
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
cmp eax, 6
jne 0x1004e03a
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [ebx]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x10]
dec ecx
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x4c], ecx
jl 0x1004df51
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x84], edx
jl 0x1004df51
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
mov ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x70]
lea ecx, [ecx + ebx*4]
lea ebx, [edi + 0x18]
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0x6c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x68], edi
lea esp, [esp]
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + ebx]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x88]
imul ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x38]
mov ebx, edi
imul ebx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x48]
imul ecx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x28]
add ebx, ecx
add ebx, eax
mov eax, dword [esp + 0x40]
imul edi, eax
mov ecx, eax
mov eax, dword [esp + 0x30]
imul ecx, ebp
imul eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x38]
add ebx, ecx
mov ecx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x28]
add edi, ecx
mov ecx, dword [esp + 0x48]
imul ecx, eax
add ebx, dword [esi + edx*4 + 4]
add edi, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebp
add edi, ecx
add edi, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar edi, cl
mov dword [esp + 0x30], edi
test edi, 0xffffff00
mov edi, dword [esp + 0x14]
je 0x1004ded6
cmp dword [esp + 0x30], 0
setl cl
dec cl
jmp 0x1004deda
mov cl, byte [esp + 0x30]
mov byte [edi], cl
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004def9
mov edi, dword [esp + 0x1c]
test ebx, ebx
sets cl
dec cl
mov byte [edi], cl
jmp 0x1004deff
mov ecx, dword [esp + 0x1c]
mov byte [ecx], bl
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
add ecx, ecx
add dword [esp + 0x2c], ecx
add dword [esp + 0x14], ecx
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add ebx, 8
add ecx, 8
add edi, 0xfffffffe
mov dword [esp + 0x10], ebx
mov dword [esp + 0x58], ecx
cmp edx, edi
jle 0x1004ddf0
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
add edi, 0x18
mov dword [esp + 0x10], edi
jmp 0x1004df70
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov ebx, ebp
mov ebp, dword [esp + 0x18]
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [edi - 4]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edi, ecx
imul ecx, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
add edi, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x38]
add edi, eax
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x28]
imul ebx, eax
add edi, ebx
mov ebx, dword [esp + 0x34]
imul ebx, ebp
add edi, ebx
add dword [esi + edx*4], edi
mov edi, dword [esp + 0x88]
imul edi, dword [esp + 0x54]
add ecx, edi
mov edi, dword [esp + 0x5c]
imul edi, dword [esp + 0x38]
add ecx, edi
mov edi, dword [esp + 0x48]
imul edi, dword [esp + 0x18]
add ecx, edi
mov edi, dword [esp + 0x34]
imul edi, eax
add ecx, edi
mov edi, dword [esp + 0x40]
imul edi, ebp
add ecx, edi
add dword [esi + edx*4 + 4], ecx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add edx, 2
add edi, 8
add ecx, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edx, ecx
jle 0x1004df70
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
cmp eax, 5
jne 0x1004e2d9
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0xc]
dec ecx
mov dword [esp + 0x48], edx
cmp dword [esp + 0x4c], ecx
jl 0x1004e21d
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x84], edx
jl 0x1004e21d
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
mov ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x70]
lea ecx, [ecx + ebx*4]
lea ebx, [edi + 0x14]
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0x6c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x68], edi
jmp 0x1004e0e0
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + ebx]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
imul eax, dword [esp + 0x18]
mov ebx, edi
imul ebx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x40]
imul edi, eax
add ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
imul ecx, ebp
imul eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x18]
add ebx, ecx
mov ecx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x28]
imul ecx, eax
add ebx, dword [esi + edx*4 + 4]
add edi, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebp
add edi, ecx
add edi, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar edi, cl
mov dword [esp + 0x30], edi
test edi, 0xffffff00
mov edi, dword [esp + 0x14]
je 0x1004e1a2
cmp dword [esp + 0x30], 0
setl cl
dec cl
jmp 0x1004e1a6
mov cl, byte [esp + 0x30]
mov byte [edi], cl
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004e1c5
mov edi, dword [esp + 0x1c]
test ebx, ebx
sets cl
dec cl
mov byte [edi], cl
jmp 0x1004e1cb
mov ecx, dword [esp + 0x1c]
mov byte [ecx], bl
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
add edi, edi
add dword [esp + 0x2c], edi
add dword [esp + 0x14], edi
add dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add ebx, 8
add ecx, 8
add edi, 0xfffffffe
mov dword [esp + 0x10], ebx
mov dword [esp + 0x58], ecx
cmp edx, edi
jle 0x1004e0e0
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 0xfffffffe
js 0x1004ea3d
add edi, 0x14
mov dword [esp + 0x10], edi
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [edi - 4]
mov ebx, ebp
mov ebp, dword [esp + 0x18]
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edi, ecx
imul ecx, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
add edi, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x28]
imul ebx, eax
add edi, ebx
mov ebx, dword [esp + 0x34]
imul ebx, ebp
add edi, ebx
add dword [esi + edx*4], edi
mov edi, dword [esp + 0x5c]
imul edi, dword [esp + 0x38]
add ecx, edi
mov edi, dword [esp + 0x48]
imul edi, dword [esp + 0x18]
add ecx, edi
mov edi, dword [esp + 0x34]
imul edi, eax
add ecx, edi
mov edi, dword [esp + 0x40]
imul edi, ebp
add ecx, edi
add dword [esi + edx*4 + 4], ecx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add edx, 2
add edi, 8
add ecx, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edx, ecx
jle 0x1004e233
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
cmp eax, 4
jne 0x1004e514
mov eax, dword [ebx]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebp, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 8]
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x4c], eax
jl 0x1004e475
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x84], ecx
jl 0x1004e475
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
lea ebx, [eax + ebx*4]
lea eax, [edi + 0x10]
mov edi, dword [esp + 0x78]
sub edi, ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], edi
lea ecx, [ecx]
mov ecx, dword [eax - 4]
mov eax, dword [eax]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, byte [ecx]
mov ecx, dword [esp + 0x68]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
movzx ecx, byte [ecx + eax]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x48]
imul ecx, dword [esp + 0x18]
mov eax, edi
imul eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov ebx, ecx
imul edi, ecx
mov ecx, dword [esp + 0x48]
imul ebx, ebp
imul ecx, dword [esp + 0x28]
add eax, ebx
mov ebx, dword [esp + 0x30]
imul ebx, dword [esp + 0x20]
add eax, dword [esi + edx*4 + 4]
add ebx, edi
mov edi, dword [esp + 0x14]
add ebx, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebp
add ebx, ecx
add ebx, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004e40b
test ebx, ebx
sets bl
dec bl
sar eax, cl
mov ecx, dword [esp + 0x1c]
mov byte [edi], bl
test eax, 0xffffff00
je 0x1004e421
test eax, eax
sets al
dec al
mov ebx, dword [esp + 0x58]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add eax, eax
add dword [esp + 0x2c], eax
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add eax, 8
add ebx, 8
add ecx, 0xfffffffe
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], ebx
cmp edx, ecx
jle 0x1004e370
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
mov ecx, dword [esp + 0x28]
add edi, 0x10
mov dword [esp + 0x10], edi
nop
mov eax, ecx
mov ecx, dword [edi - 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi]
mov edi, eax
imul eax, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
mov ebx, ebp
imul ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
add edi, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
imul ebx, ecx
add edi, ebx
mov ebx, dword [esp + 0x34]
imul ebx, ebp
add edi, ebx
add dword [esi + edx*4], edi
mov edi, dword [esp + 0x48]
imul edi, dword [esp + 0x18]
add eax, edi
mov edi, dword [esp + 0x34]
imul edi, ecx
add eax, edi
mov edi, dword [esp + 0x40]
imul edi, ebp
add eax, edi
add dword [esi + edx*4 + 4], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, 2
add edi, 8
add eax, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edx, eax
jle 0x1004e490
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
cmp eax, 3
jne 0x1004e70a
mov eax, dword [ebx]
mov edx, dword [edi + 4]
mov ecx, dword [ebx + 4]
mov ebp, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x4c], eax
jl 0x1004e685
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x84], eax
jl 0x1004e685
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
lea ebx, [eax + ebx*4]
lea eax, [edi + 0xc]
mov edi, dword [esp + 0x78]
sub edi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], edi
mov edi, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], ebp
mov ebp, dword [eax - 4]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov dword [ebx], eax
mov eax, dword [esp + 0x68]
movzx ecx, byte [ecx + eax]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x28]
mov eax, edi
imul eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov ebx, ecx
imul edi, ecx
mov ecx, dword [esp + 0x34]
imul ebx, ebp
add eax, ebx
imul ecx, ebp
mov ebx, dword [esp + 0x30]
imul ebx, dword [esp + 0x20]
add eax, dword [esi + edx*4 + 4]
add ebx, edi
mov edi, dword [esp + 0x14]
add ebx, ecx
add ebx, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004e619
test ebx, ebx
sets bl
dec bl
sar eax, cl
mov ecx, dword [esp + 0x3c]
mov byte [edi], bl
test eax, 0xffffff00
je 0x1004e62f
test eax, eax
sets al
dec al
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
add eax, eax
add dword [esp + 0x2c], eax
add dword [esp + 0x14], eax
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add eax, 8
add ebx, 8
add edi, 0xfffffffe
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], ebx
cmp edx, edi
jle 0x1004e5a0
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
add edi, 0xc
mov dword [esp + 0x10], edi
jmp 0x1004e6a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebp
mov ebp, dword [edi - 4]
mov edi, dword [edi]
mov dword [esp + 0x28], edi
mov edi, eax
imul eax, dword [esp + 0x20]
imul edi, ecx
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x20]
add edi, ecx
mov ecx, dword [esp + 0x34]
imul ecx, ebp
add edi, ecx
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x28]
add dword [esi + edx*4], edi
add eax, ecx
mov ecx, dword [esp + 0x40]
mov edi, ecx
imul edi, ebp
add eax, edi
add dword [esi + edx*4 + 4], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, 2
add edi, 8
add eax, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edx, eax
jle 0x1004e6a0
jmp 0x1004ea3d
cmp eax, 2
jne 0x1004e8ca
mov eax, dword [ebx + 4]
mov ebp, dword [edi]
mov edx, dword [ebx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
cmp dword [esp + 0x4c], eax
jl 0x1004e86d
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x84], edx
jl 0x1004e86d
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
lea eax, [eax + ebp*4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
add edi, 8
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], edi
lea ebx, [ebx]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x30], ebp
mov ebp, dword [edi - 4]
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
movzx edi, byte [edi]
mov dword [eax], edi
mov edi, dword [esp + 0x68]
movzx ecx, byte [edi + ecx]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x1c]
mov eax, ebp
imul ebp, dword [esp + 0x40]
imul eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x20]
add eax, dword [esi + edx*4 + 4]
add ebp, ecx
add ebp, dword [esi + edx*4]
mov ecx, dword [esp + 0x64]
sar ebp, cl
mov dword [esp + 0x30], ebp
test ebp, 0xffffff00
je 0x1004e7fd
test ebp, ebp
setl cl
dec cl
jmp 0x1004e801
mov cl, byte [esp + 0x30]
mov byte [edi], cl
mov ecx, dword [esp + 0x64]
sar eax, cl
mov ecx, dword [esp + 0x3c]
test eax, 0xffffff00
je 0x1004e81b
test eax, eax
sets al
dec al
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
add eax, eax
add dword [esp + 0x2c], eax
add dword [esp + 0x14], eax
add ecx, eax
mov eax, dword [esp + 0x60]
mov dword [esi + edx*4], 0
mov dword [esi + edx*4 + 4], 0
add edx, 2
add edi, 8
add eax, 8
add ebp, 0xfffffffe
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x60], eax
cmp edx, ebp
jle 0x1004e790
jmp 0x1004ea3d
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
mov dword [esp + 0x3c], eax
js 0x1004ea3d
add edi, 8
mov dword [esp + 0x10], edi
mov eax, dword [edi - 4]
mov ecx, ebp
mov ebp, dword [edi]
imul ecx, dword [esp + 0x20]
mov edi, eax
imul eax, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
add edi, ecx
mov ecx, dword [esp + 0x40]
add dword [esi + edx*4], edi
imul ecx, ebp
mov edi, dword [esp + 0x10]
add eax, ecx
add dword [esi + edx*4 + 4], eax
add edx, 2
add edi, 8
mov dword [esp + 0x10], edi
cmp edx, dword [esp + 0x3c]
jle 0x1004e887
jmp 0x1004ea3d
mov eax, dword [esp + 0x50]
mov ebp, dword [ebx]
dec eax
mov dword [esp + 0x20], ebp
cmp dword [esp + 0x4c], eax
jl 0x1004e9f8
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x84], edx
jl 0x1004e9f8
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
js 0x1004ea3d
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
lea eax, [eax + ebp*4]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, edi
sub eax, esi
lea ebx, [esi + 4]
sub ebp, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ebp
jmp 0x1004e944
mov eax, dword [esp + 0x60]
mov eax, dword [eax + ebx]
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx]
mov ebp, dword [edi + edx*4]
mov ebx, dword [esp + 0x3c]
mov dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
imul ebp, ecx
imul eax, ecx
add ebp, dword [ebx - 4]
mov ecx, dword [esp + 0x64]
add eax, dword [ebx]
sar ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x14]
test ecx, 0xffffff00
je 0x1004e998
test ecx, ecx
sets cl
dec cl
mov byte [ebp], cl
mov ecx, dword [esp + 0x64]
sar eax, cl
mov ecx, dword [esp + 0x1c]
test eax, 0xffffff00
je 0x1004e9b3
test eax, eax
sets al
dec al
add dword [esp + 0x3c], 8
mov byte [ecx], al
mov eax, dword [esp + 0x44]
add eax, eax
add dword [esp + 0x2c], eax
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [ebx - 4], 0
mov dword [ebx], 0
add edx, 2
add ebx, 8
add eax, 0xfffffffe
mov dword [esp + 0x10], ebx
cmp edx, eax
jle 0x1004e940
mov ebx, dword [esp + 0x7c]
jmp 0x1004ea3d
mov eax, dword [esp + 0x24]
xor edx, edx
add eax, 0xfffffffe
mov dword [esp + 0x3c], eax
js 0x1004ea3d
mov ecx, edi
sub ecx, esi
lea eax, [esi + 4]
mov dword [esp + 0x60], ecx
jmp 0x1004ea18
mov ecx, dword [esp + 0x60]
mov ecx, dword [eax + ecx]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + edx*4]
imul ecx, ebp
add dword [eax - 4], ecx
mov ecx, dword [esp + 0x10]
imul ecx, ebp
add dword [eax], ecx
add edx, 2
add eax, 8
cmp edx, dword [esp + 0x3c]
jle 0x1004ea14
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x84]
lea ebx, [ebx + eax*4]
mov dword [esp + 0x7c], ebx
cmp ecx, dword [esp + 0x74]
jl 0x1004d9a0
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x50]
jl 0x1004d970
cmp edx, dword [esp + 0x24]
jge 0x1004eb44
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
add eax, edx
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov ebp, dword [esp + 0x90]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x50], eax
jle 0x1004eaf4
mov ecx, dword [esp + 0x74]
lea esp, [esp]
mov edi, dword [esp + 0xac]
mov edi, dword [edi + eax*4]
lea eax, [edx*4]
add edi, eax
xor eax, eax
test ecx, ecx
jle 0x1004eae5
lea esp, [esp]
mov ecx, dword [edi + eax*4]
imul ecx, dword [ebp]
add ebx, ecx
mov ecx, dword [esp + 0x74]
inc eax
add ebp, 4
cmp eax, ecx
jl 0x1004ead0
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x50]
jl 0x1004eab0
mov ecx, dword [esp + 0x64]
sar ebx, cl
test ebx, 0xffffff00
je 0x1004eb11
mov ecx, dword [esp + 0x14]
test ebx, ebx
sets al
dec al
mov byte [ecx], al
jmp 0x1004eb17
mov eax, dword [esp + 0x14]
mov byte [eax], bl
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x14], eax
add ecx, eax
inc edx
add edi, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], edi
cmp edx, dword [esp + 0x24]
jl 0x1004ea90
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
cmp edx, ecx
jge 0x1004eb80
lea eax, [edi + edx]
sub ecx, edx
mov edx, dword [esp + 0x2c]
lea eax, [ebx + eax*4]
movzx ebp, byte [edx]
add edx, dword [esp + 0x44]
mov dword [eax], ebp
add eax, 4
dec ecx
jne 0x1004eb66
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], edx
xor eax, eax
test edi, edi
jle 0x1004eb91
mov edx, dword [ebx + edi*4]
mov dword [ebx + eax*4], edx
inc eax
cmp eax, edi
jl 0x1004eb86
mov ebp, dword [esp + 0x1df0]
xor edx, edx
test ebp, ebp
jle 0x1004ebbb
add edi, ecx
lea ecx, [ebx + edi*4]
mov eax, ecx
mov edi, ebp
mov edx, ebp
lea esp, [esp]
mov ebx, dword [ecx - 4]
mov dword [eax], ebx
add eax, 4
dec edi
jne 0x1004ebb0
mov edi, dword [esp + 0xb4]
cmp edi, dword [esp + 0xc4]
jge 0x1004ebd6
mov eax, dword [esp + 0xb0]
add dword [esp + 0x78], eax
mov ecx, dword [esp + 0xbc]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x50]
inc ecx
inc eax
mov dword [esp + 0x9c], ecx
cmp ecx, eax
jl 0x1004ec04
mov dword [esp + 0x9c], 0
inc edi
mov dword [esp + 0xb4], edi
cmp edi, dword [esp + 0xa0]
jl 0x1004d920
mov eax, dword [esp + 0xa4]
inc eax
mov dword [esp + 0xa4], eax
cmp eax, dword [esp + 0x44]
jl 0x1004d7d0
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x4d0]
cmp eax, edx
je 0x1004ec4d
push eax
call sub.MSVCR100.dll_free
add esp, 4
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x1004ec68
push eax
call sub.MSVCR100.dll_free
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1dd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d356
add esp, 0x1dc4
ret