Function at 0x437ed0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x437eec
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
test esi, esi
je 0x437ef9
neg esi
add esi, edx
jmp 0x437efe
mov esi, edx
sub esi, dword [edi + 0x38]
movsx ebx, byte [edi + 0x154]
lea ecx, [esi + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x437f3e
cmp ebx, 1
je 0x437f3e
push 0x200
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call fcn.0043aef0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
jne 0x438f2e
movsx ebx, byte [edi + 0x154]
dec ebx
cmp ebx, 7
ja case.0x437f48.3
jmp dword [ebx*4 + 0x4e9510]
cmp byte [edi + 0x156], 1
je case.0x437f48.5
test byte [edi + 0x16d], 0x40
jne case.0x437f48.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x437fbe
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x437fbe
cmp dword [edi + 0x138], 1
je case.0x437f48.5
cmp dword [0x516200], 0
je 0x437fbe
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x437fac
cmp ecx, 0xfffffffa
je case.0x437f48.5
cmp ecx, 1
je case.0x437f48.5
cmp ecx, 2
je case.0x437f48.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x438fd2
mov byte [edx + esi], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi + 1], 0xa
add esi, 2
jmp case.0x437f48.5
cmp byte [edi + 0x156], 1
je case.0x437f48.5
test byte [edi + 0x16d], 0x40
jne case.0x437f48.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x43804c
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x43804c
cmp dword [edi + 0x138], 1
je case.0x437f48.5
cmp dword [0x516200], 0
je 0x43804c
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x43803a
cmp ecx, 0xfffffffa
je case.0x437f48.5
cmp ecx, 1
je case.0x437f48.5
cmp ecx, 2
je case.0x437f48.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x43907e
mov byte [edx + esi], 0xd
inc esi
jmp case.0x437f48.5
cmp byte [edi + 0x156], 1
je case.0x437f48.5
test byte [edi + 0x16d], 0x40
jne case.0x437f48.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4380d0
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x4380d0
cmp dword [edi + 0x138], 1
je case.0x437f48.5
cmp dword [0x516200], 0
je 0x4380d0
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x4380be
cmp ecx, 0xfffffffa
je case.0x437f48.5
cmp ecx, 1
je case.0x437f48.5
cmp ecx, 2
je case.0x437f48.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x438fe9
mov byte [edx + esi], 0xa
inc esi
jmp case.0x437f48.5
add esi, 0xfffffffc
mov edx, esi
and edx, 0xff
mov ebx, dword [edi + 0x40]
test ebx, ebx
mov dword [ebp - 0x10], esi
je 0x438ff6
test byte [edi + 0x16d], 0x20
je 0x43813d
mov eax, esi
shr eax, 0x18
mov byte [ebx], al
mov ebx, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
movzx eax, al
mov byte [ebx + 1], al
mov ebx, dword [edi + 0x40]
shr esi, 8
mov dword [ebp - 0x1c], eax
mov eax, esi
and eax, 0xff
mov byte [ebx + 2], al
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x14], eax
mov byte [esi + 3], dl
jmp 0x43816a
movzx edx, byte [ebp - 0x10]
mov byte [ebx], dl
mov esi, dword [edi + 0x40]
movzx eax, byte [ebp - 0xf]
mov dword [ebp - 0x14], eax
mov byte [esi + 1], al
mov eax, dword [edi + 0x40]
movzx ebx, byte [ebp - 0xe]
mov dword [ebp - 0x1c], ebx
mov byte [eax + 2], bl
mov ebx, dword [edi + 0x40]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [ebx + 3], al
test byte [edi + 0x16d], 0x20
je 0x438195
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov byte [esi], al
mov eax, dword [edi + 0x3c]
mov byte [eax + 1], bl
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov byte [ebx + 2], al
mov esi, dword [edi + 0x3c]
mov byte [esi + 3], dl
jmp 0x4381b5
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov byte [esi], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 1], al
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x18]
mov byte [esi + 2], bl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], al
mov esi, ecx
jmp case.0x437f48.5
mov ecx, dword [edi + 0xf8]
cmp esi, ecx
jae 0x4381da
sub ecx, esi
push ecx
push 0x20
push edx
call fcn.004c3b20
add esp, 0xc
mov esi, dword [edi + 0xf8]
test byte [edi + 0x168], 4
je case.0x437f48.5
test byte [edi + 0x16a], 0x40
je case.0x437f48.5
test byte [edi + 0x16b], 8
je case.0x437f48.5
cmp byte [edi + 0x156], 1
je case.0x437f48.5
test byte [edi + 0x16d], 0x40
jne case.0x437f48.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x43825c
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x43825c
cmp dword [edi + 0x138], 1
je case.0x437f48.5
cmp dword [0x516200], 0
je 0x43825c
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x438252
cmp ecx, 0xfffffffa
je case.0x437f48.5
cmp ecx, 1
je case.0x437f48.5
cmp ecx, 2
je case.0x437f48.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x439069
mov byte [edx + esi - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi - 1], 0xa
jmp case.0x437f48.5
push 0x3c3
push str.for_put.c
push 2
push 8
call fcn.0041d870
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x438297
mov ebx, ecx
jmp 0x43829a
mov ebx, dword [edi + 0x38]
movsx edx, byte [edi + 0x156]
cmp edx, 2
jne 0x438495
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438329
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x4382c1
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x438322
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x4382ff
cmp dword [edi + 0x138], 1
je 0x438322
cmp dword [0x516200], 0
je 0x4382ff
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x4382f5
cmp eax, 0xfffffffa
je 0x438322
cmp eax, 1
je 0x438322
cmp eax, 2
je 0x438322
mov eax, edi
lea edx, [ebp - 0x14]
mov ecx, 1
mov byte [ebp - 0x14], 0xa
call fcn.0043791c
cmp eax, 0xffffffff
je 0x43908b
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438329
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x168], 4
je 0x438348
test byte [edi + 0x16a], 0x40
je 0x438348
test byte [edi + 0x16b], 8
jne 0x4383e3
movsx ecx, byte [edi + 0x154]
cmp ecx, 6
je 0x4383e3
movzx eax, byte [edi + 0x16d]
cmp ecx, 8
mov dword [ebp - 0x18], eax
je 0x4383db
test byte [ebp - 0x18], 0x40
jne 0x4383db
test edx, edx
je 0x4383b6
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x4383b6
mov ecx, dword [edi + 0x138]
cmp ecx, 1
je 0x4383f3
cmp dword [0x516200], 0
je 0x4383b6
mov eax, dword [edi + 0x140]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x170]
test eax, 0x80
je 0x4383aa
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x4383f3
cmp dword [ebp - 0x1c], 1
je 0x4383f3
cmp dword [ebp - 0x1c], 2
je 0x4383f3
mov edx, dword [edi + 0x40]
test edx, edx
je 0x4390a9
mov byte [edx + esi], 0xa
movzx eax, byte [edi + 0x16d]
inc esi
mov ecx, dword [edi + 0x138]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x18], eax
jmp 0x4383f3
mov ecx, dword [edi + 0x138]
jmp 0x4383f3
movzx eax, byte [edi + 0x16d]
mov ecx, dword [edi + 0x138]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xffffffbf
mov byte [edi + 0x16d], al
test edx, edx
je 0x43844a
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x43844a
cmp ecx, 1
je 0x438441
cmp dword [0x516200], 0
je 0x438456
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x438433
cmp eax, 0xfffffffa
je 0x438441
cmp eax, 2
je 0x438441
cmp eax, 1
jne 0x439103
mov byte [edx + 0x20], 1
jmp 0x438ee0
cmp ecx, 1
je 0x438484
cmp dword [0x516200], 0
je 0x438ee0
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x438476
cmp eax, 0xfffffffa
je 0x438484
cmp eax, 2
je 0x438484
cmp eax, 1
jne 0x438ee0
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
cmp edx, 1
jne 0x438e51
cmp esi, 5
lea edx, [esi + 1]
je 0x4384a8
mov edx, esi
test ecx, ecx
je 0x4384b1
lea ebx, [ecx + 4]
jmp 0x4384b7
mov ebx, dword [edi + 0x38]
add ebx, 4
test ecx, ecx
lea esi, [edx - 4]
je 0x4390b5
movsx ecx, byte [ecx + 5]
cmp ecx, 0x31
ja case.0x4384cf.1
jmp dword [ecx*4 + 0x4e9540]
movzx eax, byte [edi + 0x168]
test al, 2
je 0x438690
cmp dword [edi + 0x138], 1
je 0x438529
cmp dword [0x516200], 0
je 0x438690
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x438519
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x438529
cmp dword [ebp - 0x1c], 2
je 0x438529
cmp dword [ebp - 0x1c], 1
jne 0x438690
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x438636
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x4385da
and eax, 4
shr eax, 2
test eax, eax
je 0x43855e
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x20]
test esi, esi
je 0x43855e
lea esi, [edx - 5]
jmp 0x4385b1
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x1c]
test esi, esi
jne 0x438571
movzx esi, byte [ecx + 0x1d]
test esi, esi
je 0x4385ad
test eax, eax
je 0x438599
add ebx, 0xfffffffc
mov eax, 0xd
lea esi, [edx - 1]
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x4385a5
mov byte [ebx], 0xc
lea esi, [edx - 5]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x4385b1
jmp 0x4385ce
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 0x4385ce
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 0x438ee0
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x4385fb
test al, 4
je 0x4385f0
mov byte [ebx + esi - 1], 0xd
jmp 0x438660
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x438660
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x438611
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x438636
test al, 4
je 0x438658
add ebx, 0xfffffffc
mov eax, 0xd
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x438660
test al, 4
je 0x438658
add ebx, 0xfffffffd
mov eax, 0xd
mov byte [ebx], 0xc
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 0x438660
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4386d3
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x4386ae
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x4386d3
test al, 4
je 0x4386f5
add ebx, 0xfffffffc
mov eax, 0xd
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x4386fd
test al, 4
je 0x4386f5
add ebx, 0xfffffffd
mov eax, 0xd
mov byte [ebx], 0xc
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 0x4386fd
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
movzx eax, byte [edi + 0x168]
test al, 2
je 0x4388ea
cmp dword [edi + 0x138], 1
je 0x438780
cmp dword [0x516200], 0
je 0x4388ea
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x438770
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x438780
cmp dword [ebp - 0x1c], 2
je 0x438780
cmp dword [ebp - 0x1c], 1
jne 0x4388ea
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x43889a
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x438830
and eax, 4
shr eax, 2
test eax, eax
je 0x4387b5
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x4387b5
inc ebx
lea esi, [edx - 5]
jmp 0x438807
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x4387cb
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x438801
test eax, eax
je 0x4387e9
dec ebx
mov eax, 0xa
lea esi, [edx - 3]
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x4387f9
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 0x438807
jmp 0x438824
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 0x438824
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 0x438ee0
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x438854
test al, 4
je 0x438847
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x4388ba
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x4388ba
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x43886a
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x43889a
test al, 4
je 0x438887
dec ebx
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x4388ba
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x4388ba
test al, 4
je 0x4388b1
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x4388ba
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x438937
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x438907
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x438937
test al, 4
je 0x438924
dec ebx
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x438957
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x438957
test al, 4
je 0x43894e
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x438957
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
movzx eax, byte [edi + 0x168]
test al, 2
je 0x438a7d
cmp dword [edi + 0x138], 1
je 0x4389da
cmp dword [0x516200], 0
je 0x438a7d
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x4389ca
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x4389da
cmp dword [ebp - 0x1c], 2
je 0x4389da
cmp dword [ebp - 0x1c], 1
jne 0x438a7d
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x438a25
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x438a25
test al, 4
je 0x438a01
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x438a01
inc ebx
lea esi, [edx - 5]
jmp 0x438a07
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 0x438a1c
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x438ee0
test al, 4
je 0x438a42
cmp dword [ebp - 0x1c], 0
je 0x438a42
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x438a42
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x438a4d
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
test byte [edi + 0x168], 2
je 0x438bad
cmp dword [edi + 0x138], 1
je 0x438b02
cmp dword [0x516200], 0
je 0x438bad
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x438af4
cmp ecx, 0xfffffffa
je 0x438b02
cmp ecx, 2
je 0x438b02
cmp ecx, 1
jne 0x438bad
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438b7e
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x438b52
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438b21
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438b31
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x438b37
jmp 0x438b49
add ebx, 2
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438b49
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x438ee0
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x438b62
add ebx, 2
lea esi, [edx - 6]
jmp 0x438b88
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438b72
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438b7e
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x438b84
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x438b8f
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 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438bd0
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438bc4
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438bd0
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x438bd6
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x438be1
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 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
test byte [edi + 0x168], 2
je 0x438ca6
cmp dword [edi + 0x138], 1
je 0x438c45
cmp dword [0x516200], 0
je 0x438ca6
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x438c3b
cmp ecx, 0xfffffffa
je 0x438c45
cmp ecx, 2
je 0x438c45
cmp ecx, 1
jne 0x438ca6
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438c52
movzx ecx, byte [eax + 0x1e]
jmp 0x438c54
xor ecx, ecx
add ebx, 2
lea esi, [edx - 6]
test ecx, ecx
je 0x438c7d
test eax, eax
je 0x438c74
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438c74
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x438ee0
test eax, eax
je 0x438c88
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 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438cba
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 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
movzx ecx, byte [edi + 0x168]
test cl, 2
mov dword [ebp - 0x1c], ecx
je 0x438df6
cmp dword [edi + 0x138], 1
je 0x438d29
cmp dword [0x516200], 0
je 0x438df6
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x438d1b
cmp eax, 0xfffffffa
je 0x438d29
cmp eax, 2
je 0x438d29
cmp eax, 1
jne 0x438df6
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x438dbd
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x438d8e
test byte [ebp - 0x1c], 4
je 0x438d50
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x438d50
lea esi, [edx - 5]
jmp 0x438d73
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438d60
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438d6f
mov byte [ebx], 0xa
lea esi, [edx - 5]
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x438d73
jmp 0x438d85
inc ebx
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438d85
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x438ee0
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x438da3
test byte [ebp - 0x1c], 4
je 0x438dbd
mov byte [ebx + esi - 1], 0xd
jmp 0x438dc6
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438db3
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438dbd
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x438dc6
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x438e18
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x438e0e
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x438e18
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x438e21
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 0x438ee0
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x438ee0
mov byte [edx + 0x20], 0
jmp 0x438ee0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4390e6
mov ecx, dword [edi + 0x138]
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x438ea6
cmp ecx, 1
je 0x438ea0
cmp dword [0x516200], 0
je 0x438eb2
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x438e92
cmp ecx, 0xfffffffa
je 0x438ea0
cmp ecx, 2
je 0x438ea0
cmp ecx, 1
jne 0x4390f1
mov byte [eax + 0x20], 1
jmp 0x438ee0
cmp ecx, 1
je 0x438ed8
cmp dword [0x516200], 0
je 0x438ee0
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x438ece
cmp ecx, 0xfffffffa
je 0x438ed8
cmp ecx, 2
je 0x438ed8
cmp ecx, 1
jne 0x438ee0
test eax, eax
je 0x438ee0
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.0043791c
and byte [edi + 0x16c], 0xbf
cmp eax, 0xffffffff
je 0x43908b
test byte [edi + 0x16d], 8
je 0x438f1f
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4390c1
and byte [edi + 0x16d], 0xf7
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push 4
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call fcn.0043aef0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
je 0x437f37
mov eax, dword [edi + 0x18]
test eax, eax
je 0x438fb3
test byte [eax + 0x44], 2
je 0x438f89
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 0x438f77
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov eax, 0x42
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, 0x42
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.0043f580
add esp, 0x14
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.0041b770
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
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.0x437f48.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
inc esi
jmp case.0x437f48.5
test byte [edi + 0x16d], 0x20
je 0x439034
mov esi, dword [edi + 0x38]
movzx edx, byte [ebp - 0xd]
movzx eax, byte [ebp - 0xe]
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov byte [ebx + 1], al
mov eax, dword [edi + 0x38]
movzx edx, byte [ebp - 0xf]
mov dword [ebp - 0x14], edx
mov byte [eax + 2], dl
mov ebx, dword [edi + 0x38]
movzx edx, byte [ebp - 0x10]
mov byte [ebx + 3], dl
jmp 0x43816a
mov esi, dword [edi + 0x38]
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0xf]
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebx + 1], al
mov eax, dword [edi + 0x38]
movzx ebx, byte [ebp - 0xe]
mov dword [ebp - 0x1c], ebx
mov byte [eax + 2], bl
mov esi, dword [edi + 0x38]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [esi + 3], al
jmp 0x43816a
mov edx, dword [edi + 0x38]
mov byte [edx + esi - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi - 1], 0xa
jmp case.0x437f48.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
inc esi
jmp case.0x437f48.5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
jmp 0x4383c5
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x4384c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov eax, 0x26
and byte [edi + 0x16d], 0xf7
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x138]
jmp 0x438ea6
cmp dword [0x516200], 0
jne 0x438eb4
jmp 0x438ee0
cmp dword [0x516200], 0
jne 0x43845c
jmp 0x438ee0