Function at 0x4c0240
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 0x4c0730
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4c0730
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4c0730
mov ebx, dword [edi + 0x1c]
mov eax, 0xfffffffe
test ebx, ebx
je 0x4c0279
cmp edi, dword [ebx]
je 0x4c0281
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 0x4c02b8
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 0x4c02d2
test dl, dl
jne 0x4c0730
cmp dword [esp + 0x44], 5
ja 0x4c0730
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4c1144
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c02f9
mov ebp, dword [edi]
test ebp, ebp
je 0x4c1144
cmp dword [esp + 0x44], 4
setne dl
cmp eax, 0x29a
jne 0x4c0310
test dl, dl
jne 0x4c1144
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4c0fa0
cmp dword [ebx + 0x14], 0
mov ebp, dword [esp + 0x44]
mov esi, dword [ebx + 0x28]
mov dword [ebx + 0x28], ebp
jne 0x4c0545
test ecx, ecx
jne 0x4c03f4
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 0x4c0366
test dl, dl
jne 0x4c0fa0
cmp eax, 0x29a
jne 0x4c03ff
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c0fa0
mov eax, dword [edi + 4]
test eax, eax
je 0x4c0570
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x4c0b90
mov edx, dword [ebx + 0x88]
cmp edx, 2
je 0x4c0dc0
cmp edx, 3
je 0x4c121c
mov esi, dword [esp + 0x44]
lea eax, [eax + eax*2]
mov dword [esp], ebx
mov dword [esp + 4], esi
call dword [eax*4 + 0xc851a8]
lea edx, [eax - 2]
cmp edx, 1
ja 0x4c03d1
mov dword [ebx + 4], 0x29a
test eax, 0xfffffffd
jne 0x4c0760
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c03ea
mov dword [ebx + 0x28], 0xffffffff
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x29a
je 0x4c0fa0
cmp eax, 0x2a
jne 0x4c050d
mov eax, dword [ebx + 0x30]
shl eax, 0xc
cmp dword [ebx + 0x88], 1
lea ecx, [eax - 0x7800]
jle 0x4c0710
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x4c042b
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 0x4c04bc
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.004c4f00
mov ebp, dword [edi + 0x1c]
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x71
mov dword [esp], ebp
call fcn.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c06d0
mov ebp, dword [ebx + 0x14]
test ebp, ebp
jne 0x4c03e3
mov eax, dword [ebx + 4]
cmp eax, 0x39
je 0x4c0a00
cmp eax, 0x45
je 0x4c05a0
cmp eax, 0x49
je 0x4c1011
cmp eax, 0x5b
je 0x4c1160
cmp eax, 0x67
jne 0x4c037c
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
jmp 0x4c0bea
mov dword [esp], ebx
call fcn.004c3c20
mov esi, dword [ebx + 0x14]
mov edx, dword [edi + 0x10]
cmp esi, edx
cmova esi, edx
test esi, esi
jne 0x4c0690
test edx, edx
je 0x4c03e3
mov eax, dword [ebx + 4]
jmp 0x4c0366
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4c0387
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c03ea
cmp dword [ebx + 4], 0x29a
jne 0x4c0387
jmp 0x4c0769
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4c0867
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 0x4c05f7
jmp 0x4c0810
mov ebp, dword [ebx + 0x14]
test ebp, ebp
jne 0x4c03e3
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 0x4c0810
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 0x4c0628
cmp eax, ebp
ja 0x4c0740
mov edx, dword [edi + 0x1c]
add dword [ebx + 0x20], esi
mov dword [esp], edx
mov dword [esp + 0x14], edx
call fcn.004c3c20
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + 0x14]
cmp dword [edi + 0x10], ebp
cmovbe ebp, dword [edi + 0x10]
test ebp, ebp
je 0x4c05d0
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 0x4c05d0
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c05d0
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 0x4c0560
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x4c0560
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 0x4c04ff
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c04ff
mov edx, dword [ebx + 0x84]
cmp edx, 1
jle 0x4c0421
cmp edx, 5
jg 0x4c0ee4
or ecx, 0x40
jmp 0x4c0421
mov eax, 0xfffffffe
jmp 0x4c0279
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.004c56d0
mov dword [edi + 0x30], eax
jmp 0x4c0628
cmp eax, 1
je 0x4c0d04
cmp dword [esp + 0x44], 4
jne 0x4c03ea
mov ecx, dword [ebx + 0x18]
mov eax, 1
test ecx, ecx
jle 0x4c0279
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 0x4c0f00
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.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c11b0
mov eax, dword [ebx + 0x18]
test eax, eax
jle 0x4c0800
neg eax
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x14]
xor eax, eax
test edx, edx
sete al
jmp 0x4c0279
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 0x4c0860
cmp eax, ebp
jbe 0x4c0860
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.004c56d0
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 0x4c094a
mov esi, dword [ebx + 0x14]
mov eax, esi
jmp 0x4c08a6
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 0x4c0914
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], eax
jne 0x4c0880
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4c08ba
cmp esi, eax
jb 0x4c0cc4
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c08e5
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c03e3
mov ecx, dword [ebx + 0x1c]
xor esi, esi
jmp 0x4c0880
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 0x4c08d3
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c08d3
mov ecx, dword [ebx + 0x1c]
mov ebp, dword [ecx + 0x2c]
test ebp, ebp
je 0x4c0943
mov eax, dword [ebx + 0x14]
cmp eax, esi
jbe 0x4c0943
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.004c56d0
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 0x4c0be0
mov esi, dword [ebx + 0x14]
mov eax, esi
jmp 0x4c098d
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 0x4c0ba5
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], eax
jne 0x4c0963
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4c09a1
cmp esi, eax
jb 0x4c0ce4
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c09d0
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c03e3
mov ecx, dword [ebx + 0x1c]
xor esi, esi
jmp 0x4c0963
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 0x4c09ba
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c09ba
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c56d0
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 0x4c1050
mov ebp, dword [eax]
mov ecx, dword [eax + 0x2c]
test ebp, ebp
setne dl
test ecx, ecx
jne 0x4c0db0
mov esi, dword [eax + 0x10]
test esi, esi
je 0x4c0a76
add edx, 4
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4c0a80
add edx, 8
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4c0a8a
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 0x4c0b14
cmp dword [ebx + 0x88], 1
jg 0x4c0b0f
xor edx, edx
cmp eax, 1
jg 0x4c0b14
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 0x4c0b6c
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 0x4c1120
mov dword [ebx + 0x20], 0
mov dword [ebx + 4], 0x45
jmp 0x4c05a3
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004bd9d0
jmp 0x4c03c2
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4c0c8e
mov edx, dword [ebx + 0x14]
cmp edx, esi
jbe 0x4c0be3
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.004c56d0
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x2c]
jmp 0x4c0be3
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 4], 0x67
test eax, eax
je 0x4c0c8e
mov eax, dword [ebx + 0x14]
lea edx, [eax + 2]
cmp edx, dword [ebx + 0xc]
jbe 0x4c0c4e
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
je 0x4c0c43
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 0x4c0c43
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4c03e3
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.004c56d0
mov dword [edi + 0x30], eax
mov ebp, dword [edi + 0x1c]
mov dword [ebx + 4], 0x71
mov dword [esp], ebp
call fcn.004c3c20
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x10], eax
cmovbe eax, dword [edi + 0x10]
test eax, eax
mov esi, eax
jne 0x4c0d73
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c037c
jmp 0x4c03e3
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.004c56d0
mov dword [edi + 0x30], eax
jmp 0x4c08ba
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.004c56d0
mov dword [edi + 0x30], eax
jmp 0x4c09a1
cmp dword [esp + 0x44], 1
je 0x4c0f89
cmp dword [esp + 0x44], 5
je 0x4c0d41
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004c3ac0
cmp dword [esp + 0x44], 3
je 0x4c153b
mov ebp, dword [edi + 0x1c]
mov dword [esp], ebp
call fcn.004c3c20
mov esi, dword [ebp + 0x14]
mov eax, dword [edi + 0x10]
cmp esi, eax
cmova esi, eax
test esi, esi
jne 0x4c1170
test eax, eax
jne 0x4c0769
mov dword [ebx + 0x28], 0xffffffff
jmp 0x4c0279
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 0x4c0cb4
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c0cb4
add edx, 2
jmp 0x4c0a6c
mov dword [esp + 0x40], edi
mov eax, dword [ebx + 0x74]
jmp 0x4c0e35
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 0x4c0fb2
test eax, eax
jne 0x4c0dd0
mov eax, ebx
call fcn.004bd670
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4c0dd0
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
test ebp, ebp
je 0x4c03dc
cmp dword [esp + 0x44], 4
mov dword [ebx + 0x16b4], 0
je 0x4c1490
mov eax, dword [ebx + 0x16a0]
test eax, eax
je 0x4c0d04
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c0e8d
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.004c3df0
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.004c3c20
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c15ef
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
setne al
movzx eax, al
jmp 0x4c03d1
mov esi, ecx
mov eax, ecx
or esi, 0x80
or al, 0xc0
cmp edx, 6
cmovne esi, eax
mov ecx, esi
jmp 0x4c0421
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 0x4c07d7
mov dword [esp], ebx
call fcn.004c3cb0
jmp 0x4c0d41
mov eax, dword [str.buffer_error]
mov dword [edi + 0x18], eax
mov eax, 0xfffffffb
jmp 0x4c0279
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
sub edx, eax
test eax, eax
js 0x4c0fc2
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.004c3df0
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.004c3c20
mov esi, dword [edi + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c1020
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c0dc4
mov edi, dword [esp + 0x40]
jmp 0x4c03dc
mov ecx, dword [ebx + 0x1c]
jmp 0x4c086e
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 0x4c0ffb
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
jmp 0x4c0ffb
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 0x4c10c5
cmp dword [ebx + 0x88], 1
jg 0x4c10c0
xor edx, edx
cmp eax, 1
jg 0x4c10c5
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.004c3c20
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x10], esi
cmovbe esi, dword [edi + 0x10]
test esi, esi
jne 0x4c11e6
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x4c03e3
mov eax, dword [ebx + 4]
jmp 0x4c0516
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.004c56d0
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x30], eax
jmp 0x4c0b77
mov eax, dword [str.stream_error]
mov dword [edi + 0x18], eax
mov eax, 0xfffffffe
jmp 0x4c0279
mov ecx, dword [ebx + 0x1c]
jmp 0x4c0951
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 0x4c0d5f
mov edx, dword [ebp + 8]
mov dword [ebp + 0x10], edx
jmp 0x4c0d5f
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 0x4c07f4
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c07f4
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 0x4c1108
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c1108
movzx eax, byte [0xc854c0]
mov dword [esp + 0x40], edi
shl eax, 2
mov edi, eax
mov ebp, dword [ebx + 0x74]
jmp 0x4c12b4
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x60], 0
test eax, eax
je 0x4c1255
lea esi, [edx + eax - 1]
movzx ecx, byte [esi]
cmp cl, byte [esi + 1]
je 0x4c1305
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 0x4c1426
cmp ebp, 0x102
ja 0x4c1234
mov eax, ebx
call fcn.004bd670
mov ebp, dword [ebx + 0x74]
cmp ebp, 0x102
ja 0x4c1234
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c1008
test ebp, ebp
je 0x4c158b
cmp ebp, 2
mov dword [ebx + 0x60], 0
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x38]
jbe 0x4c1255
jmp 0x4c1241
cmp cl, byte [esi + 2]
jne 0x4c1255
cmp cl, byte [esi + 3]
jne 0x4c1255
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 0x4c16ae
cmp cl, byte [esi + 2]
jne 0x4c16d6
cmp cl, byte [esi + 3]
jne 0x4c16c2
cmp cl, byte [esi + 4]
jne 0x4c1726
cmp cl, byte [esi + 5]
jne 0x4c1712
cmp cl, byte [esi + 6]
jne 0x4c16fe
cmp cl, byte [esi + 7]
jne 0x4c16ea
add esi, 8
cmp byte [esi], cl
sete bl
cmp dword [esp + 0x1c], esi
seta dl
test bl, dl
jne 0x4c1335
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 0x4c16a0
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 + 0xc853c0]
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 0x4c12ac
mov edx, dword [ebx + 0x5c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c1436
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.004c3df0
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.004c3c20
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x14]
cmp dword [edx + 0x10], esi
cmovbe esi, dword [edx + 0x10]
test esi, esi
jne 0x4c1501
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c122c
jmp 0x4c1008
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c14a3
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.004c3df0
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.004c3c20
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x14]
cmp dword [ebp + 0x10], esi
cmovbe esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c1629
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov dword [ebx + 4], 0x29a
test eax, eax
jne 0x4c0774
jmp 0x4c03dc
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 0x4c147b
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x4c147b
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 0x4c0d41
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x16b4], 0
jmp 0x4c0d41
cmp dword [esp + 0x44], 4
mov edi, dword [esp + 0x40]
mov dword [ebx + 0x16b4], 0
je 0x4c1663
mov eax, dword [ebx + 0x16a0]
test eax, eax
je 0x4c0d04
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c15c5
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.004c3df0
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
call fcn.004bd600
jmp 0x4c0ed2
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 0x4c0ed2
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c0ed2
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 0x4c14e8
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0x4c14e8
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
sub eax, edx
test edx, edx
js 0x4c1676
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.004c3df0
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
call fcn.004bd600
jmp 0x4c14e8
cmp ecx, 2
ja 0x4c13af
jmp 0x4c1255
add esi, 1
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 3
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 2
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 7
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 6
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 5
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393
add esi, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x4c1393