Function at 0x442837
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 0x44263c
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
test esi, esi
je 0x442649
neg esi
add esi, edx
jmp 0x44264e
mov esi, edx
sub esi, dword [edi + 0x38]
movsx ebx, byte [edi + 0x154]
lea ecx, [esi + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x44268e
cmp ebx, 1
je 0x44268e
push 0x200
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call fcn.0043c2a0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
jne 0x443682
movsx ebx, byte [edi + 0x154]
dec ebx
cmp ebx, 7
ja case.0x44269f.3
mov ebx, dword [ebx*4 + 0x4df8b0]
jmp ebx
cmp byte [edi + 0x156], 1
je case.0x44269f.5
test byte [edi + 0x16d], 0x40
jne case.0x44269f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x442710
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x442710
cmp dword [edi + 0x138], 1
je case.0x44269f.5
cmp dword [0x5454e0], 0
je 0x442710
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x4426fe
cmp ecx, 0xfffffffa
je case.0x44269f.5
cmp ecx, 1
je case.0x44269f.5
cmp ecx, 2
je case.0x44269f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x443726
mov byte [edx + esi], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi + 1], 0xa
add esi, 2
jmp case.0x44269f.5
cmp byte [edi + 0x156], 1
je case.0x44269f.5
test byte [edi + 0x16d], 0x40
jne case.0x44269f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x44279e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x44279e
cmp dword [edi + 0x138], 1
je case.0x44269f.5
cmp dword [0x5454e0], 0
je 0x44279e
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x44278c
cmp ecx, 0xfffffffa
je case.0x44269f.5
cmp ecx, 1
je case.0x44269f.5
cmp ecx, 2
je case.0x44269f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x4437d2
mov byte [edx + esi], 0xd
inc esi
jmp case.0x44269f.5
cmp byte [edi + 0x156], 1
je case.0x44269f.5
test byte [edi + 0x16d], 0x40
jne case.0x44269f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x442822
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x442822
cmp dword [edi + 0x138], 1
je case.0x44269f.5
cmp dword [0x5454e0], 0
je 0x442822
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x442810
cmp ecx, 0xfffffffa
je case.0x44269f.5
cmp ecx, 1
je case.0x44269f.5
cmp ecx, 2
je case.0x44269f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x44373d
mov byte [edx + esi], 0xa
inc esi
jmp case.0x44269f.5
add esi, 0xfffffffc
mov edx, esi
and edx, 0xff
mov ebx, dword [edi + 0x40]
test ebx, ebx
mov dword [ebp - 0x10], esi
je 0x44374a
test byte [edi + 0x16d], 0x20
je 0x44288f
mov eax, esi
shr eax, 0x18
mov byte [ebx], al
mov ebx, dword [edi + 0x40]
mov dword [ebp - 0x1c], 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 - 0x18], 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 0x4428bc
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 - 0x18], ebx
mov byte [eax + 2], bl
mov ebx, dword [edi + 0x40]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x1c], eax
mov byte [ebx + 3], al
test byte [edi + 0x16d], 0x20
je 0x4428e7
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
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 0x442907
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov byte [esi], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 1], al
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x1c]
mov byte [esi + 2], bl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], al
mov esi, ecx
jmp case.0x44269f.5
mov ecx, dword [edi + 0xf8]
cmp esi, ecx
jae 0x44292c
sub ecx, esi
push ecx
push 0x20
push edx
call fcn.004baea0
add esp, 0xc
mov esi, dword [edi + 0xf8]
test byte [edi + 0x168], 4
je case.0x44269f.5
test byte [edi + 0x16a], 0x40
je case.0x44269f.5
test byte [edi + 0x16b], 8
je case.0x44269f.5
cmp byte [edi + 0x156], 1
je case.0x44269f.5
test byte [edi + 0x16d], 0x40
jne case.0x44269f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4429ae
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x4429ae
cmp dword [edi + 0x138], 1
je case.0x44269f.5
cmp dword [0x5454e0], 0
je 0x4429ae
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x4429a4
cmp ecx, 0xfffffffa
je case.0x44269f.5
cmp ecx, 1
je case.0x44269f.5
cmp ecx, 2
je case.0x44269f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x4437bd
mov byte [edx + esi - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi - 1], 0xa
jmp case.0x44269f.5
push 0x386
push str.for_put.c
push 2
push 8
call fcn.0041ff60
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x4429e9
mov ebx, ecx
jmp 0x4429ec
mov ebx, dword [edi + 0x38]
movsx edx, byte [edi + 0x156]
cmp edx, 2
jne 0x442be7
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x442a7b
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x442a13
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x442a74
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x442a51
cmp dword [edi + 0x138], 1
je 0x442a74
cmp dword [0x5454e0], 0
je 0x442a51
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x442a47
cmp eax, 0xfffffffa
je 0x442a74
cmp eax, 1
je 0x442a74
cmp eax, 2
je 0x442a74
mov eax, edi
lea edx, [ebp - 0x14]
mov ecx, 1
mov byte [ebp - 0x14], 0xa
call fcn.004420fc
cmp eax, 0xffffffff
je 0x4437df
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x442a7b
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x168], 4
je 0x442a9a
test byte [edi + 0x16a], 0x40
je 0x442a9a
test byte [edi + 0x16b], 8
jne 0x442b35
movsx ecx, byte [edi + 0x154]
cmp ecx, 6
je 0x442b35
movzx eax, byte [edi + 0x16d]
cmp ecx, 8
mov dword [ebp - 0x18], eax
je 0x442b2d
test byte [ebp - 0x18], 0x40
jne 0x442b2d
test edx, edx
je 0x442b08
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x442b08
mov ecx, dword [edi + 0x138]
cmp ecx, 1
je 0x442b45
cmp dword [0x5454e0], 0
je 0x442b08
mov eax, dword [edi + 0x140]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x170]
test eax, 0x80
je 0x442afc
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x442b45
cmp dword [ebp - 0x1c], 1
je 0x442b45
cmp dword [ebp - 0x1c], 2
je 0x442b45
mov edx, dword [edi + 0x40]
test edx, edx
je 0x4437fd
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 0x442b45
mov ecx, dword [edi + 0x138]
jmp 0x442b45
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 0x442b9c
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x442b9c
cmp ecx, 1
je 0x442b93
cmp dword [0x5454e0], 0
je 0x442ba8
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x442b85
cmp eax, 0xfffffffa
je 0x442b93
cmp eax, 2
je 0x442b93
cmp eax, 1
jne 0x443857
mov byte [edx + 0x20], 1
jmp 0x443634
cmp ecx, 1
je 0x442bd6
cmp dword [0x5454e0], 0
je 0x443634
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x442bc8
cmp eax, 0xfffffffa
je 0x442bd6
cmp eax, 2
je 0x442bd6
cmp eax, 1
jne 0x443634
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
cmp edx, 1
jne 0x4435a5
cmp esi, 5
lea edx, [esi + 1]
je 0x442bfa
mov edx, esi
test ecx, ecx
je 0x442c03
lea ebx, [ecx + 4]
jmp 0x442c09
mov ebx, dword [edi + 0x38]
add ebx, 4
test ecx, ecx
lea esi, [edx - 4]
je 0x443809
movsx ecx, byte [ecx + 5]
cmp ecx, 0x31
ja case.0x442c28.1
mov ecx, dword [ecx*4 + 0x4df8e0]
jmp ecx
movzx eax, byte [edi + 0x168]
test al, 2
je 0x442de4
cmp dword [edi + 0x138], 1
je 0x442c7d
cmp dword [0x5454e0], 0
je 0x442de4
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x442c6d
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x442c7d
cmp dword [ebp - 0x1c], 2
je 0x442c7d
cmp dword [ebp - 0x1c], 1
jne 0x442de4
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x442d8a
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x442d2e
and eax, 4
shr eax, 2
test eax, eax
je 0x442cb2
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x20]
test esi, esi
je 0x442cb2
lea esi, [edx - 5]
jmp 0x442d05
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x1c]
test esi, esi
jne 0x442cc5
movzx esi, byte [ecx + 0x1d]
test esi, esi
je 0x442d01
test eax, eax
je 0x442ced
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 0x442cf9
mov byte [ebx], 0xc
lea esi, [edx - 5]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x442d05
jmp 0x442d22
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 0x442d22
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 0x443634
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x442d4f
test al, 4
je 0x442d44
mov byte [ebx + esi - 1], 0xd
jmp 0x442db4
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x442db4
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x442d65
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x442d8a
test al, 4
je 0x442dac
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 0x442db4
test al, 4
je 0x442dac
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 0x442db4
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x442e27
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x442e02
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x442e27
test al, 4
je 0x442e49
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 0x442e51
test al, 4
je 0x442e49
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 0x442e51
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
movzx eax, byte [edi + 0x168]
test al, 2
je 0x44303e
cmp dword [edi + 0x138], 1
je 0x442ed4
cmp dword [0x5454e0], 0
je 0x44303e
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x442ec4
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x442ed4
cmp dword [ebp - 0x1c], 2
je 0x442ed4
cmp dword [ebp - 0x1c], 1
jne 0x44303e
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x442fee
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x442f84
and eax, 4
shr eax, 2
test eax, eax
je 0x442f09
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x442f09
inc ebx
lea esi, [edx - 5]
jmp 0x442f5b
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x442f1f
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x442f55
test eax, eax
je 0x442f3d
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 0x442f4d
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 0x442f5b
jmp 0x442f78
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 0x442f78
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 0x443634
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x442fa8
test al, 4
je 0x442f9b
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x44300e
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x44300e
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x442fbe
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x442fee
test al, 4
je 0x442fdb
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 0x44300e
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x44300e
test al, 4
je 0x443005
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x44300e
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x44308b
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x44305b
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x44308b
test al, 4
je 0x443078
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 0x4430ab
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x4430ab
test al, 4
je 0x4430a2
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x4430ab
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
movzx eax, byte [edi + 0x168]
test al, 2
je 0x4431d1
cmp dword [edi + 0x138], 1
je 0x44312e
cmp dword [0x5454e0], 0
je 0x4431d1
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x44311e
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x44312e
cmp dword [ebp - 0x1c], 2
je 0x44312e
cmp dword [ebp - 0x1c], 1
jne 0x4431d1
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x443179
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x443179
test al, 4
je 0x443155
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x443155
inc ebx
lea esi, [edx - 5]
jmp 0x44315b
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 0x443170
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x443634
test al, 4
je 0x443196
cmp dword [ebp - 0x1c], 0
je 0x443196
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x443196
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x4431a1
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
test byte [edi + 0x168], 2
je 0x443301
cmp dword [edi + 0x138], 1
je 0x443256
cmp dword [0x5454e0], 0
je 0x443301
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x443248
cmp ecx, 0xfffffffa
je 0x443256
cmp ecx, 2
je 0x443256
cmp ecx, 1
jne 0x443301
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4432d2
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4432a6
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x443275
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x443285
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x44328b
jmp 0x44329d
add ebx, 2
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x44329d
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x443634
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4432b6
add ebx, 2
lea esi, [edx - 6]
jmp 0x4432dc
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4432c6
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x4432d2
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x4432d8
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x4432e3
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 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x443324
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x443318
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x443324
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x44332a
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x443335
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 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
test byte [edi + 0x168], 2
je 0x4433fa
cmp dword [edi + 0x138], 1
je 0x443399
cmp dword [0x5454e0], 0
je 0x4433fa
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x44338f
cmp ecx, 0xfffffffa
je 0x443399
cmp ecx, 2
je 0x443399
cmp ecx, 1
jne 0x4433fa
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4433a6
movzx ecx, byte [eax + 0x1e]
jmp 0x4433a8
xor ecx, ecx
add ebx, 2
lea esi, [edx - 6]
test ecx, ecx
je 0x4433d1
test eax, eax
je 0x4433c8
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4433c8
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x443634
test eax, eax
je 0x4433dc
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 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x44340e
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 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
movzx ecx, byte [edi + 0x168]
test cl, 2
mov dword [ebp - 0x1c], ecx
je 0x44354a
cmp dword [edi + 0x138], 1
je 0x44347d
cmp dword [0x5454e0], 0
je 0x44354a
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x44346f
cmp eax, 0xfffffffa
je 0x44347d
cmp eax, 2
je 0x44347d
cmp eax, 1
jne 0x44354a
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x443511
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4434e2
test byte [ebp - 0x1c], 4
je 0x4434a4
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4434a4
lea esi, [edx - 5]
jmp 0x4434c7
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4434b4
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x4434c3
mov byte [ebx], 0xa
lea esi, [edx - 5]
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x4434c7
jmp 0x4434d9
inc ebx
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4434d9
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x443634
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4434f7
test byte [ebp - 0x1c], 4
je 0x443511
mov byte [ebx + esi - 1], 0xd
jmp 0x44351a
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x443507
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x443511
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x44351a
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x44356c
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x443562
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x44356c
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x443575
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 0x443634
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x443634
mov byte [edx + 0x20], 0
jmp 0x443634
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x44383a
mov ecx, dword [edi + 0x138]
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x4435fa
cmp ecx, 1
je 0x4435f4
cmp dword [0x5454e0], 0
je 0x443606
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x4435e6
cmp ecx, 0xfffffffa
je 0x4435f4
cmp ecx, 2
je 0x4435f4
cmp ecx, 1
jne 0x443845
mov byte [eax + 0x20], 1
jmp 0x443634
cmp ecx, 1
je 0x44362c
cmp dword [0x5454e0], 0
je 0x443634
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x443622
cmp ecx, 0xfffffffa
je 0x44362c
cmp ecx, 2
je 0x44362c
cmp ecx, 1
jne 0x443634
test eax, eax
je 0x443634
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.004420fc
and byte [edi + 0x16c], 0xbf
cmp eax, 0xffffffff
je 0x4437df
test byte [edi + 0x16d], 8
je 0x443673
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x443815
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.0043c2a0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
je 0x442687
mov eax, dword [edi + 0x18]
test eax, eax
je 0x443707
test byte [eax + 0x44], 2
je 0x4436dd
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 0x4436cb
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.00434f50
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.0041de90
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.0x44269f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
inc esi
jmp case.0x44269f.5
test byte [edi + 0x16d], 0x20
je 0x443788
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 - 0x18], eax
mov dword [ebp - 0x1c], 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 0x4428bc
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 - 0x18], ebx
mov byte [eax + 2], bl
mov esi, dword [edi + 0x38]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x1c], eax
mov byte [esi + 3], al
jmp 0x4428bc
mov edx, dword [edi + 0x38]
mov byte [edx + esi - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi - 1], 0xa
jmp case.0x44269f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
inc esi
jmp case.0x44269f.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 0x442b17
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x442c18
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 0x4435fa
cmp dword [0x5454e0], 0
jne 0x443608
jmp 0x443634
cmp dword [0x5454e0], 0
jne 0x442bae
jmp 0x443634