Function at 0x4c1110
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4c1600
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4c1600
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4c1600
mov ebx, dword [edi + 0x1c]
mov eax, 0xfffffffe
test ebx, ebx
je 0x4c1149
cmp edi, dword [ebx]
je 0x4c1151
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
lea edx, [eax - 0x39]
cmp eax, 0x2a
setne cl
and edx, 0xffffffef
mov esi, ecx
mov edx, 1
setne byte [esp + 0x10]
cmp eax, 0x45
setne cl
mov ebp, ecx
lea ecx, [eax - 0x5b]
cmp ecx, 0x16
ja 0x4c1188
mov edx, 0x401001
shr edx, cl
not edx
and edx, 1
cmp eax, 0x29a
setne cl
and esi, ebp
and ecx, esi
test byte [esp + 0x10], cl
je 0x4c11a2
test dl, dl
jne 0x4c1600
cmp dword [esp + 0x44], 5
ja 0x4c1600
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4c2014
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c11c9
mov ebp, dword [edi]
test ebp, ebp
je 0x4c2014
cmp dword [esp + 0x44], 4
setne dl
cmp eax, 0x29a
jne 0x4c11e0
test dl, dl
jne 0x4c2014
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4c1e70
cmp dword [ebx + 0x14], 0
mov ebp, dword [esp + 0x44]
mov esi, dword [ebx + 0x28]
mov dword [ebx + 0x28], ebp
jne 0x4c1415
test ecx, ecx
jne 0x4c12c4
mov ecx, ebp
lea ebp, [ebp + ebp]
cmp ecx, 5
mov ecx, 1
cmovne ecx, ebp
cmp esi, 4
mov dword [esp + 0x10], ecx
lea ecx, [esi + esi]
lea ebp, [ecx - 9]
cmovg ecx, ebp
cmp dword [esp + 0x10], ecx
jg 0x4c1236
test dl, dl
jne 0x4c1e70
cmp eax, 0x29a
jne 0x4c12cf
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c1e70
mov eax, dword [edi + 4]
test eax, eax
je 0x4c1440
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x4c1a60
mov edx, dword [ebx + 0x88]
cmp edx, 2
je 0x4c1c90
cmp edx, 3
je 0x4c20ec
mov esi, dword [esp + 0x44]
lea eax, [eax + eax*2]
mov dword [esp], ebx
mov dword [esp + 4], esi
call dword [eax*4 + 0xc863c8]
lea edx, [eax - 2]
cmp edx, 1
ja 0x4c12a1
mov dword [ebx + 4], 0x29a
test eax, 0xfffffffd
jne 0x4c1630
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c12ba
mov dword [ebx + 0x28], 0xffffffff
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x29a
je 0x4c1e70
cmp eax, 0x2a
jne 0x4c13dd
mov eax, dword [ebx + 0x30]
shl eax, 0xc
cmp dword [ebx + 0x88], 1
lea ecx, [eax - 0x7800]
jle 0x4c15e0
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x4c12fb
or ecx, 0x20
mov eax, ecx
mov edx, 0x8421085
mul edx
mov eax, ecx
mov ecx, dword [ebx + 8]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, edx
mov edx, dword [ebx + 0x14]
add eax, 0x1f
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], ah
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x4c138c
mov eax, dword [edi + 0x30]
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 8]
lea esi, [edx + 1]
mov ecx, eax
shr eax, 0x10
shr ecx, 0x18
mov dword [ebx + 0x14], esi
mov byte [ebp + edx], cl
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebx + 0x14]
movzx edx, word [edi + 0x30]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dh
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dl
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c5dd0
mov ebp, dword [edi + 0x1c]
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x71
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c15a0
mov ebp, dword [ebx + 0x14]
test ebp, ebp
jne 0x4c12b3
mov eax, dword [ebx + 4]
cmp eax, 0x39
je 0x4c18d0
cmp eax, 0x45
je 0x4c1470
cmp eax, 0x49
je 0x4c1ee1
cmp eax, 0x5b
je 0x4c2030
cmp eax, 0x67
jne 0x4c124c
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
jmp 0x4c1aba
mov dword [esp], ebx
call fcn.004c4af0
mov esi, dword [ebx + 0x14]
mov edx, dword [edi + 0x10]
cmp esi, edx
cmova esi, edx
test esi, esi
jne 0x4c1560
test edx, edx
je 0x4c12b3
mov eax, dword [ebx + 4]
jmp 0x4c1236
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4c1257
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c12ba
cmp dword [ebx + 4], 0x29a
jne 0x4c1257
jmp 0x4c1639
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4c1737
movzx ecx, word [ecx + 0x14]
mov eax, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
sub ecx, eax
mov dword [esp + 0x10], ecx
add ecx, ebp
cmp esi, ecx
jb 0x4c14c7
jmp 0x4c16e0
mov ebp, dword [ebx + 0x14]
test ebp, ebp
jne 0x4c12b3
sub dword [esp + 0x10], esi
mov esi, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
cmp esi, ecx
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
jae 0x4c16e0
mov ecx, dword [ebx + 8]
add edx, eax
sub esi, ebp
mov dword [esp + 4], edx
mov dword [esp + 8], esi
add ecx, ebp
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [ebx + 0x14], eax
test ecx, ecx
je 0x4c14f8
cmp eax, ebp
ja 0x4c1610
mov edx, dword [edi + 0x1c]
add dword [ebx + 0x20], esi
mov dword [esp], edx
mov dword [esp + 0x14], edx
call fcn.004c4af0
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + 0x14]
cmp dword [edi + 0x10], ebp
cmovbe ebp, dword [edi + 0x10]
test ebp, ebp
je 0x4c14a0
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x14]
add dword [edi + 0xc], ebp
add dword [edx + 0x10], ebp
add dword [edi + 0x14], ebp
sub dword [edi + 0x10], ebp
sub dword [edx + 0x14], ebp
jne 0x4c14a0
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c14a0
mov edx, dword [ebx + 0x10]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [edi + 0x10]
add dword [edi + 0xc], esi
add dword [ebx + 0x10], esi
add dword [edi + 0x14], esi
sub edx, esi
mov dword [edi + 0x10], edx
sub dword [ebx + 0x14], esi
jne 0x4c1430
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x4c1430
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c13cf
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c13cf
mov edx, dword [ebx + 0x84]
cmp edx, 1
jle 0x4c12f1
cmp edx, 5
jg 0x4c1db4
or ecx, 0x40
jmp 0x4c12f1
mov eax, 0xfffffffe
jmp 0x4c1149
sub eax, ebp
mov dword [esp + 8], eax
add ebp, dword [ebx + 8]
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov dword [edi + 0x30], eax
jmp 0x4c14f8
cmp eax, 1
je 0x4c1bd4
cmp dword [esp + 0x44], 4
jne 0x4c12ba
mov ecx, dword [ebx + 0x18]
mov eax, 1
test ecx, ecx
jle 0x4c1149
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + 0x30]
lea esi, [eax + 1]
add eax, dword [ebx + 8]
cmp ecx, 2
mov dword [ebx + 0x14], esi
je 0x4c1dd0
mov ecx, edx
shr edx, 0x10
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
lea eax, [ecx + 1]
mov dword [ebx + 0x14], eax
mov byte [esi + ecx], dl
mov eax, dword [ebx + 0x14]
movzx edx, word [edi + 0x30]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dh
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dl
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c2080
mov eax, dword [ebx + 0x18]
test eax, eax
jle 0x4c16d0
neg eax
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x14]
xor eax, eax
test edx, edx
sete al
jmp 0x4c1149
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x10]
add eax, edx
mov dword [esp + 4], eax
add ecx, ebp
mov dword [esp + 8], esi
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x14]
mov edx, dword [ecx + 0x2c]
add eax, esi
mov dword [ebx + 0x14], eax
test edx, edx
je 0x4c1730
cmp eax, ebp
jbe 0x4c1730
sub eax, ebp
mov dword [esp + 8], eax
add ebp, dword [ebx + 8]
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x30], eax
nop
mov dword [ebx + 0x20], 0
mov dword [ebx + 4], 0x49
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x4c181a
mov esi, dword [ebx + 0x14]
mov eax, esi
jmp 0x4c1776
mov edx, dword [ebx + 0x20]
mov ecx, dword [ecx + 0x1c]
lea ebp, [edx + 1]
mov dword [ebx + 0x20], ebp
movzx edx, byte [ecx + edx]
lea ebp, [eax + 1]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x14], ebp
test dl, dl
mov byte [ecx + eax], dl
je 0x4c17e4
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], eax
jne 0x4c1750
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4c178a
cmp esi, eax
jb 0x4c1b94
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c17b5
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c12b3
mov ecx, dword [ebx + 0x1c]
xor esi, esi
jmp 0x4c1750
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c17a3
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c17a3
mov ecx, dword [ebx + 0x1c]
mov ebp, dword [ecx + 0x2c]
test ebp, ebp
je 0x4c1813
mov eax, dword [ebx + 0x14]
cmp eax, esi
jbe 0x4c1813
sub eax, esi
mov dword [esp + 8], eax
add esi, dword [ebx + 8]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x30], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 4], 0x5b
mov esi, dword [ecx + 0x24]
test esi, esi
je 0x4c1ab0
mov esi, dword [ebx + 0x14]
mov eax, esi
jmp 0x4c185d
mov edx, dword [ebx + 0x20]
mov ecx, dword [ecx + 0x24]
lea ebp, [edx + 1]
mov dword [ebx + 0x20], ebp
movzx edx, byte [ecx + edx]
lea ebp, [eax + 1]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x14], ebp
test dl, dl
mov byte [ecx + eax], dl
je 0x4c1a75
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], eax
jne 0x4c1833
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4c1871
cmp esi, eax
jb 0x4c1bb4
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c18a0
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c12b3
mov ecx, dword [ebx + 0x1c]
xor esi, esi
jmp 0x4c1833
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c188a
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c188a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c65a0
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0x1f
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0x8b
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 8
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4c1f20
mov ebp, dword [eax]
mov ecx, dword [eax + 0x2c]
test ebp, ebp
setne dl
test ecx, ecx
jne 0x4c1c80
mov esi, dword [eax + 0x10]
test esi, esi
je 0x4c1946
add edx, 4
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4c1950
add edx, 8
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4c195a
add edx, 0x10
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], ch
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
movzx ecx, word [eax + 6]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
movzx ecx, byte [eax + 7]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov edx, 2
mov eax, dword [ebx + 0x84]
cmp eax, 9
je 0x4c19e4
cmp dword [ebx + 0x88], 1
jg 0x4c19df
xor edx, edx
cmp eax, 1
jg 0x4c19e4
mov edx, 4
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov ecx, dword [ebx + 0x1c]
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x4c1a3c
mov eax, dword [ebx + 0x14]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], ch
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ecx + 0x2c]
test esi, esi
jne 0x4c1ff0
mov dword [ebx + 0x20], 0
mov dword [ebx + 4], 0x45
jmp 0x4c1473
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004be8a0
jmp 0x4c1292
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4c1b5e
mov edx, dword [ebx + 0x14]
cmp edx, esi
jbe 0x4c1ab3
sub edx, esi
mov dword [esp + 8], edx
add esi, dword [ebx + 8]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
jmp 0x4c1ab3
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 4], 0x67
test eax, eax
je 0x4c1b5e
mov eax, dword [ebx + 0x14]
lea edx, [eax + 2]
cmp edx, dword [ebx + 0xc]
jbe 0x4c1b1e
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
je 0x4c1b13
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c1b13
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c12b3
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], ch
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c65a0
mov dword [edi + 0x30], eax
mov ebp, dword [edi + 0x1c]
mov dword [ebx + 4], 0x71
mov dword [esp], ebp
call fcn.004c4af0
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x10], eax
cmovbe eax, dword [edi + 0x10]
test eax, eax
mov esi, eax
jne 0x4c1c43
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c124c
jmp 0x4c12b3
sub eax, esi
mov dword [esp + 8], eax
add esi, dword [ebx + 8]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov dword [edi + 0x30], eax
jmp 0x4c178a
sub eax, esi
mov dword [esp + 8], eax
add esi, dword [ebx + 8]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov dword [edi + 0x30], eax
jmp 0x4c1871
cmp dword [esp + 0x44], 1
je 0x4c1e59
cmp dword [esp + 0x44], 5
je 0x4c1c11
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004c4990
cmp dword [esp + 0x44], 3
je 0x4c240b
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
mov eax, dword [edi + 0x10]
cmp esi, eax
cmova esi, eax
test esi, esi
jne 0x4c2040
test eax, eax
jne 0x4c1639
mov dword [ebx + 0x28], 0xffffffff
jmp 0x4c1149
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c1b84
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c1b84
add edx, 2
jmp 0x4c193c
mov dword [esp + 0x40], edi
mov eax, dword [ebx + 0x74]
jmp 0x4c1d05
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
xor esi, esi
mov dword [ebx + 0x60], 0
mov ecx, dword [ebx + 0x16a4]
movzx eax, byte [edx + eax]
mov edx, dword [ebx + 0x16a0]
mov word [ecx + edx*2], si
mov ecx, dword [ebx + 0x1698]
lea esi, [edx + 1]
mov dword [ebx + 0x16a0], esi
mov byte [ecx + edx], al
add word [ebx + eax*4 + 0x94], 1
mov eax, dword [ebx + 0x169c]
mov edi, dword [ebx + 0x6c]
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x74]
lea edx, [edi + 1]
mov dword [ebx + 0x6c], edx
sub eax, 1
cmp dword [ebx + 0x16a0], ecx
mov dword [ebx + 0x74], eax
je 0x4c1e82
test eax, eax
jne 0x4c1ca0
mov eax, ebx
call fcn.004be540
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4c1ca0
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
test ebp, ebp
je 0x4c12ac
cmp dword [esp + 0x44], 4
mov dword [ebx + 0x16b4], 0
je 0x4c2360
mov eax, dword [ebx + 0x16a0]
test eax, eax
je 0x4c1bd4
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c1d5d
mov ecx, dword [ebx + 0x38]
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], ebx
call fcn.004c4cc0
mov ebp, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x5c], eax
mov dword [esp], edx
mov dword [esp + 0x10], edx
call fcn.004c4af0
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c24bf
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
setne al
movzx eax, al
jmp 0x4c12a1
mov esi, ecx
mov eax, ecx
or esi, 0x80
or al, 0xc0
cmp edx, 6
cmovne esi, eax
mov ecx, esi
jmp 0x4c12f1
mov byte [eax], dl
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], ch
mov eax, dword [ebx + 0x14]
movzx ecx, word [edi + 0x32]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x14]
movzx ecx, byte [edi + 0x33]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], ch
mov eax, dword [ebx + 0x14]
movzx ecx, word [edi + 0xa]
mov edx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
movzx ecx, byte [edi + 0xb]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edx + eax], cl
jmp 0x4c16a7
mov dword [esp], ebx
call fcn.004c4b80
jmp 0x4c1c11
mov eax, dword [str.buffer_error]
mov dword [edi + 0x18], eax
mov eax, 0xfffffffb
jmp 0x4c1149
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
sub edx, eax
test eax, eax
js 0x4c1e92
add eax, dword [ebx + 0x38]
mov ecx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], ebx
call fcn.004c4cc0
mov ebp, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x5c], eax
mov dword [esp], edi
call fcn.004c4af0
mov esi, dword [edi + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c1ef0
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c1c94
mov edi, dword [esp + 0x40]
jmp 0x4c12ac
mov ecx, dword [ebx + 0x1c]
jmp 0x4c173e
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [ebp + 0xc], esi
add dword [edi + 0x10], esi
add dword [ebp + 0x14], esi
sub dword [ebp + 0x10], esi
sub dword [edi + 0x14], esi
jne 0x4c1ecb
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
jmp 0x4c1ecb
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0
mov edx, 2
mov eax, dword [ebx + 0x84]
cmp eax, 9
je 0x4c1f95
cmp dword [ebx + 0x88], 1
jg 0x4c1f90
xor edx, edx
cmp eax, 1
jg 0x4c1f95
mov edx, 4
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
mov byte [edx + eax], 0xa
mov ebp, dword [edi + 0x1c]
mov dword [ebx + 4], 0x71
mov dword [esp], ebp
call fcn.004c4af0
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c20b6
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x4c12b3
mov eax, dword [ebx + 4]
jmp 0x4c13e6
mov eax, dword [ebx + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.004c65a0
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x30], eax
jmp 0x4c1a47
mov eax, dword [str.stream_error]
mov dword [edi + 0x18], eax
mov eax, 0xfffffffe
jmp 0x4c1149
mov ecx, dword [ebx + 0x1c]
jmp 0x4c1821
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [edi + 0x10]
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub eax, esi
mov dword [edi + 0x10], eax
sub dword [ebp + 0x14], esi
jne 0x4c1c2f
mov edx, dword [ebp + 8]
mov dword [ebp + 0x10], edx
jmp 0x4c1c2f
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c16c4
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c16c4
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add dword [edi + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edi + 0x14], esi
sub dword [edi + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c1fd8
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c1fd8
movzx eax, byte [0xc866e0]
mov dword [esp + 0x40], edi
shl eax, 2
mov edi, eax
mov ebp, dword [ebx + 0x74]
jmp 0x4c2184
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x60], 0
test eax, eax
je 0x4c2125
lea esi, [edx + eax - 1]
movzx ecx, byte [esi]
cmp cl, byte [esi + 1]
je 0x4c21d5
movzx eax, byte [edx + eax]
mov ecx, dword [ebx + 0x16a4]
xor esi, esi
mov edx, dword [ebx + 0x16a0]
mov word [ecx + edx*2], si
mov ecx, dword [ebx + 0x1698]
lea esi, [edx + 1]
mov dword [ebx + 0x16a0], esi
mov byte [ecx + edx], al
add word [ebx + eax*4 + 0x94], 1
xor edx, edx
mov eax, dword [ebx + 0x169c]
sub eax, 1
cmp eax, dword [ebx + 0x16a0]
mov eax, dword [ebx + 0x74]
lea ebp, [eax - 1]
mov eax, dword [ebx + 0x6c]
sete dl
mov dword [ebx + 0x74], ebp
add eax, 1
mov dword [ebx + 0x6c], eax
test edx, edx
jne 0x4c22f6
cmp ebp, 0x102
ja 0x4c2104
mov eax, ebx
call fcn.004be540
mov ebp, dword [ebx + 0x74]
cmp ebp, 0x102
ja 0x4c2104
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c1ed8
test ebp, ebp
je 0x4c245b
cmp ebp, 2
mov dword [ebx + 0x60], 0
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x38]
jbe 0x4c2125
jmp 0x4c2111
cmp cl, byte [esi + 2]
jne 0x4c2125
cmp cl, byte [esi + 3]
jne 0x4c2125
add esi, 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
lea esi, [edx + eax + 0x102]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x10]
cmp cl, byte [esi + 1]
jne 0x4c257e
cmp cl, byte [esi + 2]
jne 0x4c25a6
cmp cl, byte [esi + 3]
jne 0x4c2592
cmp cl, byte [esi + 4]
jne 0x4c25f6
cmp cl, byte [esi + 5]
jne 0x4c25e2
cmp cl, byte [esi + 6]
jne 0x4c25ce
cmp cl, byte [esi + 7]
jne 0x4c25ba
add esi, 8
cmp byte [esi], cl
sete bl
cmp dword [esp + 0x1c], esi
seta dl
test bl, dl
jne 0x4c2205
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
sub esi, dword [esp + 0x1c]
mov ecx, esi
add ecx, 0x102
cmp ecx, ebp
mov dword [ebx + 0x60], ecx
jbe 0x4c2570
mov dword [ebx + 0x60], ebp
mov ecx, ebp
mov edx, dword [ebx + 0x16a0]
lea eax, [ecx - 3]
mov ecx, dword [ebx + 0x16a4]
mov ebp, 1
mov word [ecx + edx*2], bp
mov ecx, dword [ebx + 0x1698]
lea esi, [edx + 1]
mov dword [ebx + 0x16a0], esi
mov byte [ecx + edx], al
movzx eax, al
xor edx, edx
movzx eax, byte [eax + 0xc865e0]
add word [ebx + eax*4 + 0x498], 1
add word [ebx + edi + 0x988], 1
mov eax, dword [ebx + 0x169c]
mov ebp, dword [ebx + 0x74]
sub eax, 1
cmp eax, dword [ebx + 0x16a0]
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x60], 0
sete dl
sub ebp, eax
add eax, dword [ebx + 0x6c]
mov dword [ebx + 0x74], ebp
mov dword [ebx + 0x6c], eax
jmp 0x4c217c
mov edx, dword [ebx + 0x5c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c2306
mov ecx, dword [ebx + 0x38]
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], ebx
call fcn.004c4cc0
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ebp, dword [edx + 0x1c]
mov dword [ebx + 0x5c], eax
mov dword [esp + 0x10], edx
mov dword [esp], ebp
call fcn.004c4af0
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x14]
cmp dword [edx + 0x10], esi
cmovbe esi, dword [edx + 0x10]
test esi, esi
jne 0x4c23d1
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c20fc
jmp 0x4c1ed8
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c2373
mov ecx, dword [ebx + 0x38]
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 1
mov dword [esp], ebx
call fcn.004c4cc0
mov ebp, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x5c], eax
mov dword [esp], edx
mov dword [esp + 0x10], edx
call fcn.004c4af0
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c24f9
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov dword [ebx + 4], 0x29a
test eax, eax
jne 0x4c1644
jmp 0x4c12ac
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x10]
add dword [edx + 0xc], esi
add dword [ebp + 0x10], esi
add dword [edx + 0x14], esi
sub dword [edx + 0x10], esi
sub dword [ebp + 0x14], esi
jne 0x4c234b
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c234b
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x44]
xor esi, esi
add eax, 0x7fffffff
lea ecx, [eax + eax]
mov word [edx + eax*2], si
mov dword [esp + 4], 0
mov dword [esp], edx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memset
mov ebp, dword [ebx + 0x74]
test ebp, ebp
jne 0x4c1c11
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x16b4], 0
jmp 0x4c1c11
cmp dword [esp + 0x44], 4
mov edi, dword [esp + 0x40]
mov dword [ebx + 0x16b4], 0
je 0x4c2533
mov eax, dword [ebx + 0x16a0]
test eax, eax
je 0x4c1bd4
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c2495
mov ecx, dword [ebx + 0x38]
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004c4cc0
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
call fcn.004be4d0
jmp 0x4c1da2
mov ecx, dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x10]
add dword [ebp + 0xc], esi
add dword [edx + 0x10], esi
add dword [ebp + 0x14], esi
sub dword [ebp + 0x10], esi
sub dword [edx + 0x14], esi
jne 0x4c1da2
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c1da2
mov ecx, dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x10]
add dword [ebp + 0xc], esi
add dword [edx + 0x10], esi
add dword [ebp + 0x14], esi
sub dword [ebp + 0x10], esi
sub dword [edx + 0x14], esi
jne 0x4c23b8
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c23b8
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c2546
mov ecx, dword [ebx + 0x38]
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004c4cc0
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
call fcn.004be4d0
jmp 0x4c23b8
cmp ecx, 2
ja 0x4c227f
jmp 0x4c2125
add esi, 1
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 3
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 2
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 7
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 6
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 5
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263
add esi, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c2263