Function at 0x41cfc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x41cfdc
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
test esi, esi
je 0x41cfe9
neg esi
add esi, edx
jmp 0x41cfee
mov esi, edx
sub esi, dword [edi + 0x38]
movsx ebx, byte [edi + 0x14c]
lea ecx, [esi + 4]
cmp ecx, dword [edi + 0xe4]
jbe 0x41d02e
cmp ebx, 1
je 0x41d02e
push 0x200
mov dword [ebp - 0x1c], edx
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041ff40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x41e042
movsx ebx, byte [edi + 0x14c]
dec ebx
cmp ebx, 7
ja case.0x41d03f.3
mov ebx, dword [ebx*4 + 0x4c829c]
jmp ebx
cmp byte [edi + 0x14e], 1
je case.0x41d03f.5
test byte [edi + 0x165], 0x40
jne case.0x41d03f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d0b0
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x41d0b0
cmp dword [edi + 0x130], 1
je case.0x41d03f.5
cmp dword [0x4edea0], 0
je 0x41d0b0
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41d09e
cmp ecx, 0xfffffffa
je case.0x41d03f.5
cmp ecx, 1
je case.0x41d03f.5
cmp ecx, 2
je case.0x41d03f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x41e0e6
mov byte [edx + esi], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi + 1], 0xa
add esi, 2
jmp case.0x41d03f.5
cmp byte [edi + 0x14e], 1
je case.0x41d03f.5
test byte [edi + 0x165], 0x40
jne case.0x41d03f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d13e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x41d13e
cmp dword [edi + 0x130], 1
je case.0x41d03f.5
cmp dword [0x4edea0], 0
je 0x41d13e
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41d12c
cmp ecx, 0xfffffffa
je case.0x41d03f.5
cmp ecx, 1
je case.0x41d03f.5
cmp ecx, 2
je case.0x41d03f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x41e192
mov byte [edx + esi], 0xd
inc esi
jmp case.0x41d03f.5
cmp byte [edi + 0x14e], 1
je case.0x41d03f.5
test byte [edi + 0x165], 0x40
jne case.0x41d03f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d1c2
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x41d1c2
cmp dword [edi + 0x130], 1
je case.0x41d03f.5
cmp dword [0x4edea0], 0
je 0x41d1c2
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41d1b0
cmp ecx, 0xfffffffa
je case.0x41d03f.5
cmp ecx, 1
je case.0x41d03f.5
cmp ecx, 2
je case.0x41d03f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x41e0fd
mov byte [edx + esi], 0xa
inc esi
jmp case.0x41d03f.5
mov ebx, dword [edi + 0x40]
add esi, 0xfffffffc
mov dword [ebp - 0x10], esi
mov edx, esi
and edx, 0xff
test ebx, ebx
je 0x41e10a
test byte [edi + 0x165], 0x20
je 0x41d22f
mov eax, esi
shr eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebx], al
mov ebx, dword [edi + 0x40]
mov eax, esi
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], eax
mov byte [ebx + 1], al
mov ebx, dword [edi + 0x40]
shr esi, 8
mov eax, esi
and eax, 0xff
mov dword [ebp - 0x14], eax
mov byte [ebx + 2], al
mov esi, dword [edi + 0x40]
mov byte [esi + 3], dl
jmp 0x41d25c
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0xf]
mov dword [ebp - 0x14], eax
mov byte [ebx], dl
mov esi, dword [edi + 0x40]
movzx ebx, byte [ebp - 0xe]
mov dword [ebp - 0x18], ebx
mov byte [esi + 1], al
mov eax, dword [edi + 0x40]
mov byte [eax + 2], bl
movzx eax, byte [ebp - 0xd]
mov ebx, dword [edi + 0x40]
mov dword [ebp - 0x1c], eax
mov byte [ebx + 3], al
test byte [edi + 0x165], 0x20
je 0x41d287
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [edi + 0x3c]
mov byte [esi], al
mov eax, dword [edi + 0x3c]
mov byte [eax + 1], bl
mov eax, dword [ebp - 0x14]
mov ebx, dword [edi + 0x3c]
mov byte [ebx + 2], al
mov esi, dword [edi + 0x3c]
mov byte [esi + 3], dl
jmp 0x41d2a7
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [edi + 0x3c]
mov byte [esi], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi + 0x3c]
mov byte [esi + 2], bl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], al
mov esi, ecx
jmp case.0x41d03f.5
mov ecx, dword [edi + 0xf0]
cmp esi, ecx
jae 0x41d2cc
sub ecx, esi
push ecx
push 0x20
push edx
call fcn.004a6330
add esp, 0xc
mov esi, dword [edi + 0xf0]
test byte [edi + 0x160], 4
je case.0x41d03f.5
test byte [edi + 0x162], 0x40
je case.0x41d03f.5
test byte [edi + 0x163], 8
je case.0x41d03f.5
cmp byte [edi + 0x14e], 1
je case.0x41d03f.5
test byte [edi + 0x165], 0x40
jne case.0x41d03f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d34e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x41d34e
cmp dword [edi + 0x130], 1
je case.0x41d03f.5
cmp dword [0x4edea0], 0
je 0x41d34e
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41d344
cmp ecx, 0xfffffffa
je case.0x41d03f.5
cmp ecx, 1
je case.0x41d03f.5
cmp ecx, 2
je case.0x41d03f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x41e17d
mov byte [edx + esi - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi - 1], 0xa
jmp case.0x41d03f.5
push 0x386
push str.for_put.c
push 2
push 8
call fcn.00404de0
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x41d389
mov ebx, ecx
jmp 0x41d38c
mov ebx, dword [edi + 0x38]
movsx edx, byte [edi + 0x14e]
cmp edx, 2
jne 0x41d598
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d41b
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x41d3b3
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x41d414
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x41d3f1
cmp dword [edi + 0x130], 1
je 0x41d414
cmp dword [0x4edea0], 0
je 0x41d3f1
mov eax, dword [edi + 0x138]
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41d3e7
cmp eax, 0xfffffffa
je 0x41d414
cmp eax, 1
je 0x41d414
cmp eax, 2
je 0x41d414
mov byte [ebp - 0x14], 0xa
lea edx, [ebp - 0x14]
mov eax, edi
mov ecx, 1
call fcn.0041ca7c
cmp eax, 0xffffffff
je 0x41e19f
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41d41b
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x160], 4
je 0x41d43a
test byte [edi + 0x162], 0x40
je 0x41d43a
test byte [edi + 0x163], 8
jne 0x41d4d5
movsx ecx, byte [edi + 0x14c]
cmp ecx, 6
je 0x41d4d5
movzx eax, byte [edi + 0x165]
mov dword [ebp - 0x18], eax
cmp ecx, 8
je 0x41d4cd
test byte [ebp - 0x18], 0x40
jne 0x41d4cd
test edx, edx
je 0x41d4a8
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x41d4a8
mov ecx, dword [edi + 0x130]
cmp ecx, 1
je 0x41d4e5
cmp dword [0x4edea0], 0
je 0x41d4a8
mov eax, dword [edi + 0x138]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x168]
test eax, 0x80
je 0x41d49c
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x41d4e5
cmp dword [ebp - 0x1c], 1
je 0x41d4e5
cmp dword [ebp - 0x1c], 2
je 0x41d4e5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x41e1bd
mov byte [edx + esi], 0xa
mov edx, dword [edi + 0x7c]
mov ecx, dword [edi + 0x130]
movzx eax, byte [edi + 0x165]
mov dword [ebp - 0x18], eax
inc esi
jmp 0x41d4e5
mov ecx, dword [edi + 0x130]
jmp 0x41d4e5
mov ecx, dword [edi + 0x130]
movzx eax, byte [edi + 0x165]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xffffffbf
mov byte [edi + 0x165], al
test edx, edx
je 0x41d54d
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x41d54d
cmp ecx, 1
je 0x41db21
cmp dword [0x4edea0], 0
je 0x41d559
mov eax, dword [edi + 0x138]
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41d52d
cmp eax, 0xfffffffa
je 0x41db21
cmp eax, 2
je 0x41db21
cmp eax, 1
je 0x41db21
cmp dword [0x4edea0], 0
jne 0x41d55f
jmp 0x41dff4
cmp ecx, 1
je 0x41d587
cmp dword [0x4edea0], 0
je 0x41dff4
mov eax, dword [edi + 0x138]
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41d579
cmp eax, 0xfffffffa
je 0x41d587
cmp eax, 2
je 0x41d587
cmp eax, 1
jne 0x41dff4
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
cmp edx, 1
jne 0x41df54
lea edx, [esi + 1]
cmp esi, 5
je 0x41d5ab
mov edx, esi
test ecx, ecx
je 0x41d5b4
lea ebx, [ecx + 4]
jmp 0x41d5ba
mov ebx, dword [edi + 0x38]
add ebx, 4
lea esi, [edx - 4]
test ecx, ecx
je 0x41e1c9
movsx ecx, byte [ecx + 5]
cmp ecx, 0x31
ja case.0x41d5d9.1
mov ecx, dword [ecx*4 + 0x4c82c0]
jmp ecx
movzx eax, byte [edi + 0x160]
test al, 2
je 0x41d795
cmp dword [edi + 0x130], 1
je 0x41d62e
cmp dword [0x4edea0], 0
je 0x41d795
mov ecx, dword [edi + 0x138]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41d61e
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x41d62e
cmp dword [ebp - 0x1c], 2
je 0x41d62e
cmp dword [ebp - 0x1c], 1
jne 0x41d795
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
inc ebx
test ecx, ecx
je 0x41d73b
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x41d6df
and eax, 4
shr eax, 2
test eax, eax
je 0x41d663
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x20]
test esi, esi
je 0x41d663
lea esi, [edx - 5]
jmp 0x41d6b6
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x1c]
test esi, esi
jne 0x41d676
movzx esi, byte [ecx + 0x1d]
test esi, esi
je 0x41d6b2
test eax, eax
je 0x41d69e
add ebx, 0xfffffffc
mov byte [ebx], 0xa
mov eax, 0xd
mov byte [ebx + 2], al
mov byte [ebx + 1], 0xc
mov byte [ebx + 4], al
lea esi, [edx - 1]
mov byte [ebx + 3], 0x20
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x41d6aa
mov byte [ebx], 0xc
lea esi, [edx - 5]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x41d6b6
jmp 0x41d6d3
inc ebx
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x41d6d3
mov edx, ecx
mov byte [edx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x20], 1
jmp 0x41dff4
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x41d700
test al, 4
je 0x41d6f5
mov byte [ebx + esi - 1], 0xd
jmp 0x41d765
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x41d765
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x41d716
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x41d73b
test al, 4
je 0x41d75d
add ebx, 0xfffffffc
mov byte [ebx], 0xa
mov eax, 0xd
mov byte [ebx + 2], al
mov byte [ebx + 1], 0xc
mov byte [ebx + 4], al
mov byte [ebx + 3], 0x20
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x41d765
test al, 4
je 0x41d75d
add ebx, 0xfffffffd
mov byte [ebx], 0xc
mov eax, 0xd
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x20
mov byte [ebx + 3], al
mov byte [ebx + esi + 2], al
lea esi, [edx - 1]
jmp 0x41d765
mov byte [ebx], 0xc
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
inc ebx
test ecx, ecx
je 0x41d7d8
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x41d7b3
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x41d7d8
test al, 4
je 0x41d7fa
add ebx, 0xfffffffc
mov byte [ebx], 0xa
mov eax, 0xd
mov byte [ebx + 2], al
mov byte [ebx + 1], 0xc
mov byte [ebx + 4], al
mov byte [ebx + 3], 0x20
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x41d802
test al, 4
je 0x41d7fa
add ebx, 0xfffffffd
mov byte [ebx], 0xc
mov eax, 0xd
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x20
mov byte [ebx + 3], al
mov byte [ebx + esi + 2], al
lea esi, [edx - 1]
jmp 0x41d802
mov byte [ebx], 0xc
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
movzx eax, byte [edi + 0x160]
test al, 2
je 0x41d9ef
cmp dword [edi + 0x130], 1
je 0x41d885
cmp dword [0x4edea0], 0
je 0x41d9ef
mov ecx, dword [edi + 0x138]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41d875
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x41d885
cmp dword [ebp - 0x1c], 2
je 0x41d885
cmp dword [ebp - 0x1c], 1
jne 0x41d9ef
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41d99f
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x41d935
and eax, 4
shr eax, 2
test eax, eax
je 0x41d8ba
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x41d8ba
inc ebx
lea esi, [edx - 5]
jmp 0x41d90c
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x41d8d0
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x41d906
test eax, eax
je 0x41d8ee
dec ebx
mov byte [ebx + 1], 0xd
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 2], al
lea esi, [edx - 3]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x41d8fe
mov edx, 0xa
mov byte [ebx], dl
mov byte [ebx + 1], dl
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x41d90c
jmp 0x41d929
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x41d929
mov edx, ecx
mov byte [edx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x20], 1
jmp 0x41dff4
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x41d959
test al, 4
je 0x41d94c
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x41d9bf
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x41d9bf
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x41d96f
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x41d99f
test al, 4
je 0x41d98c
dec ebx
mov byte [ebx + 1], 0xd
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x41d9bf
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x41d9bf
test al, 4
je 0x41d9b6
mov byte [ebx + 1], 0xa
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x41d9bf
inc ebx
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41da3c
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x41da0c
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x41da3c
test al, 4
je 0x41da29
dec ebx
mov byte [ebx + 1], 0xd
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x41da5c
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x41da5c
test al, 4
je 0x41da53
mov byte [ebx + 1], 0xa
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x41da5c
inc ebx
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
movzx eax, byte [edi + 0x160]
test al, 2
je 0x41db82
cmp dword [edi + 0x130], 1
je 0x41dadf
cmp dword [0x4edea0], 0
je 0x41db82
mov ecx, dword [edi + 0x138]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41dacf
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x41dadf
cmp dword [ebp - 0x1c], 2
je 0x41dadf
cmp dword [ebp - 0x1c], 1
jne 0x41db82
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41db2a
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x41db2a
test al, 4
je 0x41db06
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x41db06
inc ebx
lea esi, [edx - 5]
jmp 0x41db0c
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41db21
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x41dff4
test al, 4
je 0x41db47
cmp dword [ebp - 0x1c], 0
je 0x41db47
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x41db47
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x41db52
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
test byte [edi + 0x160], 2
je 0x41dcb2
cmp dword [edi + 0x130], 1
je 0x41dc07
cmp dword [0x4edea0], 0
je 0x41dcb2
mov ecx, dword [edi + 0x138]
movzx eax, byte [edi + 0x168]
test eax, 0x80
je 0x41dbf9
cmp ecx, 0xfffffffa
je 0x41dc07
cmp ecx, 2
je 0x41dc07
cmp ecx, 1
jne 0x41dcb2
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x41dc83
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x41dc57
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41dc26
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41dc36
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
test eax, eax
jne 0x41dc3c
jmp 0x41dc4e
add ebx, 2
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x41dc4e
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x41dff4
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x41dc67
add ebx, 2
lea esi, [edx - 6]
jmp 0x41dc8d
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41dc77
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41dc83
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
jmp 0x41dc89
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x41dc94
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x41dcd5
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41dcc9
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41dcd5
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
jmp 0x41dcdb
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x41dce6
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
test byte [edi + 0x160], 2
je 0x41dda9
cmp dword [edi + 0x130], 1
je 0x41dd4a
cmp dword [0x4edea0], 0
je 0x41dda9
mov ecx, dword [edi + 0x138]
movzx eax, byte [edi + 0x168]
test eax, 0x80
je 0x41dd40
cmp ecx, 0xfffffffa
je 0x41dd4a
cmp ecx, 2
je 0x41dd4a
cmp ecx, 1
jne 0x41dda9
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x41dd7a
movzx eax, byte [ecx + 0x1e]
test eax, eax
je 0x41dd7a
mov byte [ecx + 0x1c], 0
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dd71
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x41dff4
add ebx, 2
lea esi, [edx - 6]
test ecx, ecx
je 0x41dd8b
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41ddbd
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
movzx ecx, byte [edi + 0x160]
mov dword [ebp - 0x1c], ecx
test cl, 2
je 0x41def9
cmp dword [edi + 0x130], 1
je 0x41de2c
cmp dword [0x4edea0], 0
je 0x41def9
mov eax, dword [edi + 0x138]
movzx ecx, byte [edi + 0x168]
test ecx, 0x80
je 0x41de1e
cmp eax, 0xfffffffa
je 0x41de2c
cmp eax, 2
je 0x41de2c
cmp eax, 1
jne 0x41def9
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x41dec0
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x41de91
test byte [ebp - 0x1c], 4
je 0x41de53
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x41de53
lea esi, [edx - 5]
jmp 0x41de76
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41de63
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41de72
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
test eax, eax
jne 0x41de76
jmp 0x41de88
inc ebx
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x41de88
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x41dff4
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x41dea6
test byte [ebp - 0x1c], 4
je 0x41dec0
mov byte [ebx + esi - 1], 0xd
jmp 0x41dec9
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41deb6
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41dec0
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x41dec9
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x41df1b
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x41df11
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x41df1b
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x41df24
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x41dff4
mov byte [edx + 0x20], 0
jmp 0x41dff4
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x41e218
mov ecx, dword [edi + 0x130]
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x41dfba
cmp ecx, 1
je 0x41dc4e
cmp dword [0x4edea0], 0
je 0x41dfc6
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41df9d
cmp ecx, 0xfffffffa
je 0x41dc4e
cmp ecx, 2
je 0x41dc4e
cmp ecx, 1
je 0x41dc4e
cmp dword [0x4edea0], 0
jne 0x41dfc8
jmp 0x41dff4
cmp ecx, 1
je 0x41dfec
cmp dword [0x4edea0], 0
je 0x41dff4
mov ecx, dword [edi + 0x138]
movzx edx, byte [edi + 0x168]
test edx, 0x80
je 0x41dfe2
cmp ecx, 0xfffffffa
je 0x41dfec
cmp ecx, 2
je 0x41dfec
cmp ecx, 1
jne 0x41dff4
test eax, eax
je 0x41dff4
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.0041ca7c
and byte [edi + 0x164], 0xbf
cmp eax, 0xffffffff
je 0x41e1fa
test byte [edi + 0x165], 8
je 0x41e033
push dword [edi + 0xdc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x41e1d5
and byte [edi + 0x165], 0xf7
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 4
mov dword [ebp - 0x1c], edx
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041ff40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add esp, 8
test eax, eax
je 0x41d027
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41e0c7
test byte [eax + 0x44], 2
je 0x41e09d
mov edx, 0x42
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x41e08b
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, 0x42
mov esp, ebp
pop ebp
ret
movzx edx, byte [edi + 0x164]
and edx, 7
mov eax, 0x42
push eax
push eax
push edx
push 0xffffffffffffffff
push edi
call fcn.00424300
add esp, 0x14
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.00402d40
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi + 1], 0xa
add esi, 2
jmp case.0x41d03f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
inc esi
jmp case.0x41d03f.5
test byte [edi + 0x165], 0x20
je 0x41e148
movzx edx, byte [ebp - 0xd]
movzx eax, byte [ebp - 0xe]
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x1c], edx
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
movzx edx, byte [ebp - 0xf]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebx + 1], al
mov eax, dword [edi + 0x38]
mov byte [eax + 2], dl
movzx edx, byte [ebp - 0x10]
mov ebx, dword [edi + 0x38]
mov byte [ebx + 3], dl
jmp 0x41d25c
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0xf]
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
mov byte [ebx + 1], al
movzx ebx, byte [ebp - 0xe]
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x18], ebx
mov byte [eax + 2], bl
movzx eax, byte [ebp - 0xd]
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x1c], eax
mov byte [esi + 3], al
jmp 0x41d25c
mov edx, dword [edi + 0x38]
mov byte [edx + esi - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi - 1], 0xa
jmp case.0x41d03f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
inc esi
jmp case.0x41d03f.5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [edi + 0xe0], eax
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
jmp 0x41d4b7
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x41d5c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
and byte [edi + 0x165], 0xf7
mov dword [edi + 0xe0], eax
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [edi + 0xe0], eax
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x130]
jmp 0x41dfba