Function at 0x428910
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 0x42892c
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
test esi, esi
je 0x428939
neg esi
add esi, edx
jmp 0x42893e
mov esi, edx
sub esi, dword [edi + 0x38]
movsx ebx, byte [edi + 0x144]
lea ecx, [esi + 4]
cmp ecx, dword [edi + 0xdc]
jbe 0x42897e
cmp ebx, 1
je 0x42897e
push 0x200
mov dword [ebp - 0x1c], edx
push edi
mov dword [ebp - 0x18], ecx
call fcn.0042d4e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x429992
movsx ebx, byte [edi + 0x144]
dec ebx
cmp ebx, 7
ja case.0x42898f.3
mov ebx, dword [ebx*4 + 0x506c28]
jmp ebx
cmp byte [edi + 0x146], 1
je case.0x42898f.5
test byte [edi + 0x15d], 0x40
jne case.0x42898f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428a00
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x428a00
cmp dword [edi + 0x128], 1
je case.0x42898f.5
cmp dword [0x53a7a0], 0
je 0x428a00
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x4289ee
cmp ecx, 0xfffffffa
je case.0x42898f.5
cmp ecx, 1
je case.0x42898f.5
cmp ecx, 2
je case.0x42898f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x429a36
mov byte [edx + esi], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi + 1], 0xa
add esi, 2
jmp case.0x42898f.5
cmp byte [edi + 0x146], 1
je case.0x42898f.5
test byte [edi + 0x15d], 0x40
jne case.0x42898f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428a8e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x428a8e
cmp dword [edi + 0x128], 1
je case.0x42898f.5
cmp dword [0x53a7a0], 0
je 0x428a8e
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x428a7c
cmp ecx, 0xfffffffa
je case.0x42898f.5
cmp ecx, 1
je case.0x42898f.5
cmp ecx, 2
je case.0x42898f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x429ae2
mov byte [edx + esi], 0xd
inc esi
jmp case.0x42898f.5
cmp byte [edi + 0x146], 1
je case.0x42898f.5
test byte [edi + 0x15d], 0x40
jne case.0x42898f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428b12
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x428b12
cmp dword [edi + 0x128], 1
je case.0x42898f.5
cmp dword [0x53a7a0], 0
je 0x428b12
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x428b00
cmp ecx, 0xfffffffa
je case.0x42898f.5
cmp ecx, 1
je case.0x42898f.5
cmp ecx, 2
je case.0x42898f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x429a4d
mov byte [edx + esi], 0xa
inc esi
jmp case.0x42898f.5
mov ebx, dword [edi + 0x40]
add esi, 0xfffffffc
mov dword [ebp - 0x10], esi
mov edx, esi
and edx, 0xff
test ebx, ebx
je 0x429a5a
test byte [edi + 0x15d], 0x20
je 0x428b7f
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 0x428bac
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 + 0x15d], 0x20
je 0x428bd7
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 0x428bf7
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.0x42898f.5
mov ecx, dword [edi + 0xe8]
cmp esi, ecx
jae 0x428c1c
sub ecx, esi
push ecx
push 0x20
push edx
call fcn.004b11c0
add esp, 0xc
mov esi, dword [edi + 0xe8]
test byte [edi + 0x158], 4
je case.0x42898f.5
test byte [edi + 0x15a], 0x40
je case.0x42898f.5
test byte [edi + 0x15b], 8
je case.0x42898f.5
cmp byte [edi + 0x146], 1
je case.0x42898f.5
test byte [edi + 0x15d], 0x40
jne case.0x42898f.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428c9e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x428c9e
cmp dword [edi + 0x128], 1
je case.0x42898f.5
cmp dword [0x53a7a0], 0
je 0x428c9e
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x428c94
cmp ecx, 0xfffffffa
je case.0x42898f.5
cmp ecx, 1
je case.0x42898f.5
cmp ecx, 2
je case.0x42898f.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x429acd
mov byte [edx + esi - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi - 1], 0xa
jmp case.0x42898f.5
push 0x382
push str.for_put.c
push 2
push 8
call fcn.004222a0
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x428cd9
mov ebx, ecx
jmp 0x428cdc
mov ebx, dword [edi + 0x38]
movsx edx, byte [edi + 0x146]
cmp edx, 2
jne 0x428ee8
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428d6b
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x428d03
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x428d64
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x428d41
cmp dword [edi + 0x128], 1
je 0x428d64
cmp dword [0x53a7a0], 0
je 0x428d41
mov eax, dword [edi + 0x130]
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x428d37
cmp eax, 0xfffffffa
je 0x428d64
cmp eax, 1
je 0x428d64
cmp eax, 2
je 0x428d64
mov byte [ebp - 0x14], 0xa
lea edx, [ebp - 0x14]
mov eax, edi
mov ecx, 1
call fcn.0042843c
cmp eax, 0xffffffff
je 0x429aef
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428d6b
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x158], 4
je 0x428d8a
test byte [edi + 0x15a], 0x40
je 0x428d8a
test byte [edi + 0x15b], 8
jne 0x428e25
movsx ecx, byte [edi + 0x144]
cmp ecx, 6
je 0x428e25
movzx eax, byte [edi + 0x15d]
mov dword [ebp - 0x18], eax
cmp ecx, 8
je 0x428e1d
test byte [ebp - 0x18], 0x40
jne 0x428e1d
test edx, edx
je 0x428df8
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x428df8
mov ecx, dword [edi + 0x128]
cmp ecx, 1
je 0x428e35
cmp dword [0x53a7a0], 0
je 0x428df8
mov eax, dword [edi + 0x130]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x160]
test eax, 0x80
je 0x428dec
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x428e35
cmp dword [ebp - 0x1c], 1
je 0x428e35
cmp dword [ebp - 0x1c], 2
je 0x428e35
mov edx, dword [edi + 0x40]
test edx, edx
je 0x429b0d
mov byte [edx + esi], 0xa
mov edx, dword [edi + 0x7c]
mov ecx, dword [edi + 0x128]
movzx eax, byte [edi + 0x15d]
mov dword [ebp - 0x18], eax
inc esi
jmp 0x428e35
mov ecx, dword [edi + 0x128]
jmp 0x428e35
mov ecx, dword [edi + 0x128]
movzx eax, byte [edi + 0x15d]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xffffffbf
mov byte [edi + 0x15d], al
test edx, edx
je 0x428e9d
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x428e9d
cmp ecx, 1
je 0x429471
cmp dword [0x53a7a0], 0
je 0x428ea9
mov eax, dword [edi + 0x130]
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x428e7d
cmp eax, 0xfffffffa
je 0x429471
cmp eax, 2
je 0x429471
cmp eax, 1
je 0x429471
cmp dword [0x53a7a0], 0
jne 0x428eaf
jmp 0x429944
cmp ecx, 1
je 0x428ed7
cmp dword [0x53a7a0], 0
je 0x429944
mov eax, dword [edi + 0x130]
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x428ec9
cmp eax, 0xfffffffa
je 0x428ed7
cmp eax, 2
je 0x428ed7
cmp eax, 1
jne 0x429944
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
cmp edx, 1
jne 0x4298a4
lea edx, [esi + 1]
cmp esi, 5
je 0x428efb
mov edx, esi
test ecx, ecx
je 0x428f04
lea ebx, [ecx + 4]
jmp 0x428f0a
mov ebx, dword [edi + 0x38]
add ebx, 4
lea esi, [edx - 4]
test ecx, ecx
je 0x429b19
movsx ecx, byte [ecx + 5]
cmp ecx, 0x31
ja case.0x428f29.1
mov ecx, dword [ecx*4 + 0x506b60]
jmp ecx
movzx eax, byte [edi + 0x158]
test al, 2
je 0x4290e5
cmp dword [edi + 0x128], 1
je 0x428f7e
cmp dword [0x53a7a0], 0
je 0x4290e5
mov ecx, dword [edi + 0x130]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x428f6e
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x428f7e
cmp dword [ebp - 0x1c], 2
je 0x428f7e
cmp dword [ebp - 0x1c], 1
jne 0x4290e5
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
inc ebx
test ecx, ecx
je 0x42908b
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x42902f
and eax, 4
shr eax, 2
test eax, eax
je 0x428fb3
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x20]
test esi, esi
je 0x428fb3
lea esi, [edx - 5]
jmp 0x429006
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x1c]
test esi, esi
jne 0x428fc6
movzx esi, byte [ecx + 0x1d]
test esi, esi
je 0x429002
test eax, eax
je 0x428fee
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 0x428ffa
mov byte [ebx], 0xc
lea esi, [edx - 5]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x429006
jmp 0x429023
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 0x429023
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 0x429944
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x429050
test al, 4
je 0x429045
mov byte [ebx + esi - 1], 0xd
jmp 0x4290b5
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x4290b5
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x429066
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42908b
test al, 4
je 0x4290ad
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 0x4290b5
test al, 4
je 0x4290ad
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 0x4290b5
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
inc ebx
test ecx, ecx
je 0x429128
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x429103
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x429128
test al, 4
je 0x42914a
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 0x429152
test al, 4
je 0x42914a
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 0x429152
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
movzx eax, byte [edi + 0x158]
test al, 2
je 0x42933f
cmp dword [edi + 0x128], 1
je 0x4291d5
cmp dword [0x53a7a0], 0
je 0x42933f
mov ecx, dword [edi + 0x130]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x4291c5
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x4291d5
cmp dword [ebp - 0x1c], 2
je 0x4291d5
cmp dword [ebp - 0x1c], 1
jne 0x42933f
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4292ef
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x429285
and eax, 4
shr eax, 2
test eax, eax
je 0x42920a
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x42920a
inc ebx
lea esi, [edx - 5]
jmp 0x42925c
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x429220
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x429256
test eax, eax
je 0x42923e
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 0x42924e
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 0x42925c
jmp 0x429279
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 0x429279
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 0x429944
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x4292a9
test al, 4
je 0x42929c
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x42930f
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x42930f
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x4292bf
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x4292ef
test al, 4
je 0x4292dc
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 0x42930f
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x42930f
test al, 4
je 0x429306
mov byte [ebx + 1], 0xa
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x42930f
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42938c
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42935c
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42938c
test al, 4
je 0x429379
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 0x4293ac
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x4293ac
test al, 4
je 0x4293a3
mov byte [ebx + 1], 0xa
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x4293ac
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
movzx eax, byte [edi + 0x158]
test al, 2
je 0x4294d2
cmp dword [edi + 0x128], 1
je 0x42942f
cmp dword [0x53a7a0], 0
je 0x4294d2
mov ecx, dword [edi + 0x130]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x42941f
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x42942f
cmp dword [ebp - 0x1c], 2
je 0x42942f
cmp dword [ebp - 0x1c], 1
jne 0x4294d2
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42947a
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x42947a
test al, 4
je 0x429456
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x429456
inc ebx
lea esi, [edx - 5]
jmp 0x42945c
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 0x429471
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x429944
test al, 4
je 0x429497
cmp dword [ebp - 0x1c], 0
je 0x429497
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x429497
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x4294a2
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
test byte [edi + 0x158], 2
je 0x429602
cmp dword [edi + 0x128], 1
je 0x429557
cmp dword [0x53a7a0], 0
je 0x429602
mov ecx, dword [edi + 0x130]
movzx eax, byte [edi + 0x160]
test eax, 0x80
je 0x429549
cmp ecx, 0xfffffffa
je 0x429557
cmp ecx, 2
je 0x429557
cmp ecx, 1
jne 0x429602
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4295d3
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4295a7
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x429576
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x429586
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
test eax, eax
jne 0x42958c
jmp 0x42959e
add ebx, 2
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42959e
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x429944
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4295b7
add ebx, 2
lea esi, [edx - 6]
jmp 0x4295dd
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4295c7
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x4295d3
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
jmp 0x4295d9
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x4295e4
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 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x429625
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x429619
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x429625
inc ebx
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
jmp 0x42962b
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x429636
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 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
test byte [edi + 0x158], 2
je 0x4296f9
cmp dword [edi + 0x128], 1
je 0x42969a
cmp dword [0x53a7a0], 0
je 0x4296f9
mov ecx, dword [edi + 0x130]
movzx eax, byte [edi + 0x160]
test eax, 0x80
je 0x429690
cmp ecx, 0xfffffffa
je 0x42969a
cmp ecx, 2
je 0x42969a
cmp ecx, 1
jne 0x4296f9
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4296ca
movzx eax, byte [ecx + 0x1e]
test eax, eax
je 0x4296ca
mov byte [ecx + 0x1c], 0
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4296c1
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x429944
add ebx, 2
lea esi, [edx - 6]
test ecx, ecx
je 0x4296db
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 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42970d
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 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
movzx ecx, byte [edi + 0x158]
mov dword [ebp - 0x1c], ecx
test cl, 2
je 0x429849
cmp dword [edi + 0x128], 1
je 0x42977c
cmp dword [0x53a7a0], 0
je 0x429849
mov eax, dword [edi + 0x130]
movzx ecx, byte [edi + 0x160]
test ecx, 0x80
je 0x42976e
cmp eax, 0xfffffffa
je 0x42977c
cmp eax, 2
je 0x42977c
cmp eax, 1
jne 0x429849
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x429810
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4297e1
test byte [ebp - 0x1c], 4
je 0x4297a3
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4297a3
lea esi, [edx - 5]
jmp 0x4297c6
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4297b3
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x4297c2
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
lea esi, [edx - 5]
test eax, eax
jne 0x4297c6
jmp 0x4297d8
inc ebx
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4297d8
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x429944
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x4297f6
test byte [ebp - 0x1c], 4
je 0x429810
mov byte [ebx + esi - 1], 0xd
jmp 0x429819
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x429806
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x429810
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x429819
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x42986b
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x429861
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42986b
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x429874
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 0x429944
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x429944
mov byte [edx + 0x20], 0
jmp 0x429944
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x429b68
mov ecx, dword [edi + 0x128]
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x42990a
cmp ecx, 1
je 0x42959e
cmp dword [0x53a7a0], 0
je 0x429916
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x4298ed
cmp ecx, 0xfffffffa
je 0x42959e
cmp ecx, 2
je 0x42959e
cmp ecx, 1
je 0x42959e
cmp dword [0x53a7a0], 0
jne 0x429918
jmp 0x429944
cmp ecx, 1
je 0x42993c
cmp dword [0x53a7a0], 0
je 0x429944
mov ecx, dword [edi + 0x130]
movzx edx, byte [edi + 0x160]
test edx, 0x80
je 0x429932
cmp ecx, 0xfffffffa
je 0x42993c
cmp ecx, 2
je 0x42993c
cmp ecx, 1
jne 0x429944
test eax, eax
je 0x429944
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.0042843c
and byte [edi + 0x15c], 0xbf
cmp eax, 0xffffffff
je 0x429b4a
test byte [edi + 0x15d], 8
je 0x429983
push dword [edi + 0xd4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x429b25
and byte [edi + 0x15d], 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.0042d4e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add esp, 8
test eax, eax
je 0x428977
mov eax, dword [edi + 0x18]
test eax, eax
je 0x429a17
test byte [eax + 0x44], 2
je 0x4299ed
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 0x4299db
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 + 0x15c]
and edx, 7
mov eax, 0x42
push eax
push eax
push edx
push 0xffffffffffffffff
push edi
call fcn.0042d020
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.00420200
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.0x42898f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
inc esi
jmp case.0x42898f.5
test byte [edi + 0x15d], 0x20
je 0x429a98
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 0x428bac
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 0x428bac
mov edx, dword [edi + 0x38]
mov byte [edx + esi - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi - 1], 0xa
jmp case.0x42898f.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
inc esi
jmp case.0x42898f.5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [edi + 0xd8], 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 0x428e07
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x428f19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
and byte [edi + 0x15d], 0xf7
mov dword [edi + 0xd8], 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 + 0xd8], eax
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x128]
jmp 0x42990a