Function at 0x435cb0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], esi
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x435ccc
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x435cd9
neg ebx
add ebx, edx
jmp 0x435cde
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx ecx, byte [edi + 0x166]
lea esi, [ebx + 4]
cmp esi, dword [edi + 0xf4]
jbe 0x435d18
cmp ecx, 1
je 0x435d18
push 0x200
push edi
mov dword [ebp - 0x18], edx
call fcn.00438e40
mov edx, dword [ebp - 0x18]
add esp, 8
test eax, eax
jne 0x436cf5
movsx ecx, byte [edi + 0x166]
dec ecx
cmp ecx, 7
ja case.0x435d22.3
jmp dword [ecx*4 + 0x4ec130]
cmp byte [edi + 0x168], 1
je case.0x435d22.5
test byte [edi + 0x17d], 0x40
jne case.0x435d22.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x435d96
cmp byte [edx + 0x1e], 0
je 0x435d96
cmp dword [edi + 0x144], 1
je case.0x435d22.5
cmp dword [0x518340], 0
je 0x435d96
movzx edx, byte [edi + 0x180]
test edx, 0x80
mov ecx, dword [edi + 0x14c]
je 0x435d84
cmp ecx, 0xfffffffa
je case.0x435d22.5
cmp ecx, 1
je case.0x435d22.5
cmp ecx, 2
je case.0x435d22.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x436be7
mov byte [edx + ebx], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + ebx + 1], 0xa
add ebx, 2
jmp case.0x435d22.5
cmp byte [edi + 0x168], 1
je case.0x435d22.5
test byte [edi + 0x17d], 0x40
jne case.0x435d22.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x435e22
cmp byte [edx + 0x1e], 0
je 0x435e22
cmp dword [edi + 0x144], 1
je case.0x435d22.5
cmp dword [0x518340], 0
je 0x435e22
movzx edx, byte [edi + 0x180]
test edx, 0x80
mov ecx, dword [edi + 0x14c]
je 0x435e10
cmp ecx, 0xfffffffa
je case.0x435d22.5
cmp ecx, 1
je case.0x435d22.5
cmp ecx, 2
je case.0x435d22.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x436c0b
mov byte [edx + ebx], 0xd
inc ebx
jmp case.0x435d22.5
cmp byte [edi + 0x168], 1
je case.0x435d22.5
test byte [edi + 0x17d], 0x40
jne case.0x435d22.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x435ea4
cmp byte [edx + 0x1e], 0
je 0x435ea4
cmp dword [edi + 0x144], 1
je case.0x435d22.5
cmp dword [0x518340], 0
je 0x435ea4
movzx edx, byte [edi + 0x180]
test edx, 0x80
mov ecx, dword [edi + 0x14c]
je 0x435e92
cmp ecx, 0xfffffffa
je case.0x435d22.5
cmp ecx, 1
je case.0x435d22.5
cmp ecx, 2
je case.0x435d22.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x436bfe
mov byte [edx + ebx], 0xa
inc ebx
jmp case.0x435d22.5
push 0x3cf
push str.for_put.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
jmp case.0x435d22.5
mov edx, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test edx, edx
je 0x436c18
test byte [edi + 0x17d], 0x20
je 0x435f19
mov ecx, ebx
shr ecx, 0x18
mov byte [edx], cl
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x18], ecx
mov ecx, ebx
shr ecx, 0x10
mov byte [edx + 1], cl
mov edx, ebx
mov eax, dword [edi + 0x40]
shr edx, 8
mov dword [ebp - 0x14], edx
mov byte [eax + 2], dl
mov edx, dword [edi + 0x40]
mov byte [edx + 3], bl
jmp 0x435f43
movzx ebx, byte [ebp - 0x10]
mov byte [edx], bl
mov edx, dword [edi + 0x40]
movzx ecx, byte [ebp - 0xf]
mov dword [ebp - 0x14], ecx
mov byte [edx + 1], cl
mov edx, dword [edi + 0x40]
movzx ecx, byte [ebp - 0xe]
mov byte [edx + 2], cl
mov eax, dword [edi + 0x40]
movzx edx, byte [ebp - 0xd]
mov dword [ebp - 0x18], edx
mov byte [eax + 3], dl
test byte [edi + 0x17d], 0x20
je 0x435f6b
mov eax, dword [edi + 0x3c]
mov edx, dword [ebp - 0x18]
mov byte [eax], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 1], cl
mov edx, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x14]
mov byte [edx + 2], cl
mov ecx, dword [edi + 0x3c]
mov byte [ecx + 3], bl
jmp 0x435f88
mov edx, dword [edi + 0x3c]
mov byte [edx], bl
mov edx, dword [edi + 0x3c]
mov ebx, dword [ebp - 0x14]
mov byte [edx + 1], bl
mov edx, dword [edi + 0x3c]
mov byte [edx + 2], cl
mov edx, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x18]
mov byte [edx + 3], cl
mov ebx, esi
jmp case.0x435d22.5
mov ecx, dword [edi + 0x100]
cmp ebx, ecx
jae 0x435fad
sub ecx, ebx
push ecx
push 0x20
push edx
call fcn.004cda30
add esp, 0xc
mov ebx, dword [edi + 0x100]
test byte [edi + 0x178], 4
je case.0x435d22.5
test byte [edi + 0x17a], 0x40
je case.0x435d22.5
test byte [edi + 0x17b], 8
je case.0x435d22.5
cmp byte [edi + 0x168], 1
je case.0x435d22.5
test byte [edi + 0x17d], 0x40
jne case.0x435d22.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x436021
cmp byte [edx + 0x1e], 0
je 0x436021
cmp dword [edi + 0x144], 1
je case.0x435d22.5
cmp dword [0x518340], 0
je 0x436021
movzx edx, byte [edi + 0x180]
test edx, 0x80
mov ecx, dword [edi + 0x14c]
je 0x436017
cmp ecx, 0xfffffffa
je case.0x435d22.5
cmp ecx, 1
je case.0x435d22.5
cmp ecx, 2
je case.0x435d22.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x436ce0
mov byte [edx + ebx - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + ebx - 1], 0xa
mov edx, dword [edi + 0x40]
test edx, edx
je 0x436044
mov esi, edx
jmp 0x436047
mov esi, dword [edi + 0x38]
movsx ecx, byte [edi + 0x168]
cmp ecx, 2
jne 0x436239
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4360d0
cmp byte [eax + 0x1c], 0
jne 0x43606a
cmp byte [eax + 0x1d], 0
je 0x4360c9
cmp byte [eax + 0x20], 0
je 0x4360a6
cmp dword [edi + 0x144], 1
je 0x4360c9
cmp dword [0x518340], 0
je 0x4360a6
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
mov edx, dword [edi + 0x14c]
je 0x43609c
cmp edx, 0xfffffffa
je 0x4360c9
cmp edx, 1
je 0x4360c9
cmp edx, 2
je 0x4360c9
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.0043564c
cmp eax, 0xffffffff
je 0x436c85
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4360d0
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test byte [edi + 0x178], 4
je 0x4360ef
test byte [edi + 0x17a], 0x40
je 0x4360ef
test byte [edi + 0x17b], 8
jne 0x436189
movsx edx, byte [edi + 0x166]
cmp edx, 6
je 0x436189
movzx ecx, byte [edi + 0x17d]
cmp edx, 8
mov dword [ebp - 0x14], ecx
je 0x436181
test byte [ebp - 0x14], 0x40
jne 0x436181
test eax, eax
je 0x43615c
cmp byte [eax + 0x1e], 0
je 0x43615c
mov edx, dword [edi + 0x144]
cmp edx, 1
je 0x436199
cmp dword [0x518340], 0
je 0x43615c
mov ecx, dword [edi + 0x14c]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
je 0x436150
cmp dword [ebp - 0x18], 0xfffffffa
je 0x436199
cmp dword [ebp - 0x18], 1
je 0x436199
cmp dword [ebp - 0x18], 2
je 0x436199
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x436ca3
mov byte [ecx + ebx], 0xa
movzx ecx, byte [edi + 0x17d]
inc ebx
mov edx, dword [edi + 0x144]
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x14], ecx
jmp 0x436199
mov edx, dword [edi + 0x144]
jmp 0x436199
movzx ecx, byte [edi + 0x17d]
mov edx, dword [edi + 0x144]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
and ecx, 0xffffffbf
mov byte [edi + 0x17d], cl
test eax, eax
je 0x4361ee
cmp byte [eax + 0x1e], 0
je 0x4361ee
cmp edx, 1
je 0x4361e5
cmp dword [0x518340], 0
je 0x4361fa
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
mov edx, dword [edi + 0x14c]
je 0x4361d7
cmp edx, 0xfffffffa
je 0x4361e5
cmp edx, 2
je 0x4361e5
cmp edx, 1
jne 0x436da5
mov byte [eax + 0x20], 1
jmp 0x436b99
cmp edx, 1
je 0x436228
cmp dword [0x518340], 0
je 0x436b99
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
mov edx, dword [edi + 0x14c]
je 0x43621a
cmp edx, 0xfffffffa
je 0x436228
cmp edx, 2
je 0x436228
cmp edx, 1
jne 0x436b99
test eax, eax
je 0x436b99
mov byte [eax + 0x20], 0
jmp 0x436b99
cmp ecx, 1
jne 0x436b12
cmp ebx, 5
lea eax, [ebx + 1]
je 0x43624c
mov eax, ebx
test edx, edx
je 0x436255
lea esi, [edx + 4]
jmp 0x43625b
mov esi, dword [edi + 0x38]
add esi, 4
test edx, edx
lea ebx, [eax - 4]
je 0x436caf
movsx ecx, byte [edx + 5]
cmp ecx, 0x31
ja case.0x436273.1
jmp dword [ecx*4 + 0x4ec160]
movzx ecx, byte [edi + 0x178]
test cl, 2
je 0x4363fa
cmp dword [edi + 0x144], 1
je 0x4362ce
cmp dword [0x518340], 0
je 0x4363fa
mov edx, dword [edi + 0x14c]
mov dword [ebp - 0x18], edx
movzx edx, byte [edi + 0x180]
test edx, 0x80
je 0x4362be
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4362ce
cmp dword [ebp - 0x18], 2
je 0x4362ce
cmp dword [ebp - 0x18], 1
jne 0x4363fa
mov edx, dword [edi + 0x7c]
inc esi
test edx, edx
je 0x4363a3
cmp byte [edx + 0x1e], 0
je 0x436354
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x4362f5
cmp byte [edx + 0x20], 0
je 0x4362f5
lea ebx, [eax - 5]
jmp 0x436339
cmp byte [edx + 0x1c], 0
jne 0x436301
cmp byte [edx + 0x1d], 0
je 0x436335
test ecx, ecx
je 0x436326
add esi, 0xfffffffc
mov ecx, 0xd
lea ebx, [eax - 1]
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], cl
mov byte [esi + 3], 0x20
mov byte [esi + 4], cl
mov edx, dword [edi + 0x7c]
jmp 0x43632f
mov byte [esi], 0xc
lea ebx, [eax - 5]
mov edx, dword [edi + 0x7c]
test edx, edx
jne 0x436339
jmp 0x43634b
inc esi
lea ebx, [eax - 6]
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x43634b
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x436b99
cmp byte [edx + 0x20], 0
je 0x436371
test cl, 4
je 0x436366
mov byte [esi + ebx - 1], 0xd
jmp 0x4363ce
inc esi
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4363ce
cmp byte [edx + 0x1c], 0
jne 0x43637d
cmp byte [edx + 0x1d], 0
je 0x4363a3
test cl, 4
je 0x4363c6
add esi, 0xfffffffc
mov ecx, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], cl
mov byte [esi + 3], 0x20
mov byte [esi + 4], cl
mov byte [esi + ebx + 3], cl
mov ebx, eax
jmp 0x4363ce
test cl, 4
je 0x4363c6
add esi, 0xfffffffd
mov ecx, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], cl
mov byte [esi + 2], 0x20
mov byte [esi + 3], cl
mov byte [esi + ebx + 2], cl
lea ebx, [eax - 1]
jmp 0x4363ce
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov edx, dword [edi + 0x7c]
inc esi
test edx, edx
je 0x436434
cmp byte [edx + 0x1c], 0
jne 0x43640e
cmp byte [edx + 0x1d], 0
je 0x436434
test cl, 4
je 0x436457
add esi, 0xfffffffc
mov ecx, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], cl
mov byte [esi + 3], 0x20
mov byte [esi + 4], cl
mov byte [esi + ebx + 3], cl
mov ebx, eax
jmp 0x43645f
test cl, 4
je 0x436457
add esi, 0xfffffffd
mov ecx, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], cl
mov byte [esi + 2], 0x20
mov byte [esi + 3], cl
mov byte [esi + ebx + 2], cl
lea ebx, [eax - 1]
jmp 0x43645f
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
movzx ecx, byte [edi + 0x178]
test cl, 2
je 0x43660b
cmp dword [edi + 0x144], 1
je 0x4364df
cmp dword [0x518340], 0
je 0x43660b
mov edx, dword [edi + 0x14c]
mov dword [ebp - 0x18], edx
movzx edx, byte [edi + 0x180]
test edx, 0x80
je 0x4364cf
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4364df
cmp dword [ebp - 0x18], 2
je 0x4364df
cmp dword [ebp - 0x18], 1
jne 0x43660b
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4365be
cmp byte [edx + 0x1e], 0
je 0x436561
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x436506
cmp byte [edx + 0x20], 0
je 0x436506
inc esi
lea ebx, [eax - 5]
jmp 0x436546
cmp byte [edx + 0x1c], 0
jne 0x436512
cmp byte [edx + 0x1d], 0
je 0x436540
test ecx, ecx
je 0x43652d
dec esi
mov ecx, 0xa
lea ebx, [eax - 3]
mov byte [esi], cl
mov byte [esi + 1], 0xd
mov byte [esi + 2], cl
mov edx, dword [edi + 0x7c]
jmp 0x43653a
mov ecx, 0xa
mov byte [esi], cl
mov byte [esi + 1], cl
mov edx, dword [edi + 0x7c]
test edx, edx
jne 0x436546
jmp 0x436558
add esi, 2
lea ebx, [eax - 6]
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x436558
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x436b99
cmp byte [edx + 0x20], 0
je 0x436581
test cl, 4
je 0x436574
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x4365df
add esi, 2
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4365df
cmp byte [edx + 0x1c], 0
jne 0x43658d
cmp byte [edx + 0x1d], 0
je 0x4365be
test cl, 4
je 0x4365ab
dec esi
mov ecx, 0xa
mov byte [esi], cl
mov byte [esi + 1], 0xd
mov byte [esi + 2], cl
mov byte [esi + ebx + 1], 0xd
lea ebx, [eax - 2]
jmp 0x4365df
mov ecx, 0xa
mov byte [esi], cl
mov byte [esi + 1], cl
mov byte [esi + ebx], 0xd
lea ebx, [eax - 3]
jmp 0x4365df
test cl, 4
je 0x4365d6
mov ecx, 0xd
mov byte [esi], cl
mov byte [esi + 1], 0xa
mov byte [esi + ebx], cl
lea ebx, [eax - 3]
jmp 0x4365df
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x43664f
cmp byte [edx + 0x1c], 0
jne 0x43661e
cmp byte [edx + 0x1d], 0
je 0x43664f
test cl, 4
je 0x43663c
dec esi
mov ecx, 0xa
mov byte [esi], cl
mov byte [esi + 1], 0xd
mov byte [esi + 2], cl
mov byte [esi + ebx + 1], 0xd
lea ebx, [eax - 2]
jmp 0x436670
mov ecx, 0xa
mov byte [esi], cl
mov byte [esi + 1], cl
mov byte [esi + ebx], 0xd
lea ebx, [eax - 3]
jmp 0x436670
test cl, 4
je 0x436667
mov ecx, 0xd
mov byte [esi], cl
mov byte [esi + 1], 0xa
mov byte [esi + ebx], cl
lea ebx, [eax - 3]
jmp 0x436670
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
movzx ecx, byte [edi + 0x178]
test cl, 2
je 0x43677d
cmp dword [edi + 0x144], 1
je 0x4366f0
cmp dword [0x518340], 0
je 0x43677d
mov edx, dword [edi + 0x14c]
mov dword [ebp - 0x18], edx
movzx edx, byte [edi + 0x180]
test edx, 0x80
je 0x4366e0
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4366f0
cmp dword [ebp - 0x18], 2
je 0x4366f0
cmp dword [ebp - 0x18], 1
jne 0x43677d
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x43672f
cmp byte [edx + 0x1e], 0
je 0x43672f
test cl, 4
je 0x43670e
cmp byte [edx + 0x20], 0
je 0x43670e
inc esi
lea ebx, [eax - 5]
jmp 0x436714
add esi, 2
lea ebx, [eax - 6]
mov byte [edx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436726
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x436b99
test cl, 4
je 0x436746
test edx, edx
je 0x436746
cmp byte [edx + 0x20], 0
je 0x436746
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x436751
add esi, 2
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
add esi, 2
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
test byte [edi + 0x178], 2
je 0x43689a
cmp dword [edi + 0x144], 1
je 0x4367ff
cmp dword [0x518340], 0
je 0x43689a
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
mov ebx, dword [edi + 0x14c]
je 0x4367f1
cmp ebx, 0xfffffffa
je 0x4367ff
cmp ebx, 2
je 0x4367ff
cmp ebx, 1
jne 0x43689a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x43686f
cmp byte [ecx + 0x1e], 0
je 0x436849
cmp byte [ecx + 0x1c], 0
jne 0x436818
cmp byte [ecx + 0x1d], 0
je 0x436828
inc esi
lea ebx, [eax - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x43682e
jmp 0x436840
add esi, 2
lea ebx, [eax - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436840
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x436b99
cmp byte [ecx + 0x20], 0
je 0x436857
add esi, 2
lea ebx, [eax - 6]
jmp 0x436879
cmp byte [ecx + 0x1c], 0
jne 0x436863
cmp byte [ecx + 0x1d], 0
je 0x43686f
inc esi
lea ebx, [eax - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x7c]
jmp 0x436875
add esi, 2
lea ebx, [eax - 6]
test ecx, ecx
je 0x436880
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1d], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4368b9
cmp byte [ecx + 0x1c], 0
jne 0x4368ad
cmp byte [ecx + 0x1d], 0
je 0x4368b9
inc esi
lea ebx, [eax - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x7c]
jmp 0x4368bf
add esi, 2
lea ebx, [eax - 6]
test ecx, ecx
je 0x4368ca
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1d], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
movzx ecx, byte [edi + 0x178]
test cl, 2
je 0x4369ed
cmp dword [edi + 0x144], 1
je 0x436938
cmp dword [0x518340], 0
je 0x4369ed
mov edx, dword [edi + 0x14c]
mov dword [ebp - 0x18], edx
movzx edx, byte [edi + 0x180]
test edx, 0x80
je 0x436928
cmp dword [ebp - 0x18], 0xfffffffa
je 0x436938
cmp dword [ebp - 0x18], 2
je 0x436938
cmp dword [ebp - 0x18], 1
jne 0x4369ed
mov edx, dword [edi + 0x7c]
inc esi
test edx, edx
je 0x4369b8
cmp byte [edx + 0x1e], 0
je 0x436990
test cl, 4
je 0x436956
cmp byte [edx + 0x20], 0
je 0x436956
lea ebx, [eax - 5]
jmp 0x436975
cmp byte [edx + 0x1c], 0
jne 0x436962
cmp byte [edx + 0x1d], 0
je 0x436971
mov byte [esi], 0xa
lea ebx, [eax - 5]
mov edx, dword [edi + 0x7c]
test edx, edx
jne 0x436975
jmp 0x436987
inc esi
lea ebx, [eax - 6]
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x436987
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x436b99
cmp byte [edx + 0x20], 0
je 0x4369a2
test cl, 4
je 0x4369b8
mov byte [esi + ebx - 1], 0xd
jmp 0x4369c1
cmp byte [edx + 0x1c], 0
jne 0x4369ae
cmp byte [edx + 0x1d], 0
je 0x4369b8
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x4369c1
inc esi
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x436a0b
cmp byte [ecx + 0x1c], 0
jne 0x436a01
cmp byte [ecx + 0x1d], 0
je 0x436a0b
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x436a14
inc esi
lea ebx, [eax - 5]
mov byte [ebx + esi - 1], 0xd
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
test byte [edi + 0x178], 2
je 0x436ae4
cmp dword [edi + 0x144], 1
je 0x436a87
cmp dword [0x518340], 0
je 0x436ae4
movzx ecx, byte [edi + 0x180]
test ecx, 0x80
mov ebx, dword [edi + 0x14c]
je 0x436a7d
cmp ebx, 0xfffffffa
je 0x436a87
cmp ebx, 2
je 0x436a87
cmp ebx, 1
jne 0x436ae4
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x436a94
movzx ecx, byte [edx + 0x1e]
jmp 0x436a96
xor ecx, ecx
add esi, 2
lea ebx, [eax - 6]
test ecx, ecx
je 0x436abf
test edx, edx
je 0x436ab6
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x436ab6
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x436b99
test edx, edx
je 0x436aca
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1d], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov ecx, dword [edi + 0x7c]
add esi, 2
test ecx, ecx
lea ebx, [eax - 6]
je 0x436af8
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1d], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x436b95
jmp 0x436b99
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov eax, dword [edi + 0x144]
je 0x436b60
cmp byte [ecx + 0x1e], 0
je 0x436b60
cmp eax, 1
je 0x436b5a
cmp dword [0x518340], 0
je 0x436b6c
movzx eax, byte [edi + 0x180]
test eax, 0x80
mov edx, dword [edi + 0x14c]
je 0x436b4c
cmp edx, 0xfffffffa
je 0x436b5a
cmp edx, 2
je 0x436b5a
cmp edx, 1
jne 0x436d93
mov byte [ecx + 0x20], 1
jmp 0x436b99
cmp eax, 1
je 0x436b91
cmp dword [0x518340], 0
je 0x436b99
movzx eax, byte [edi + 0x180]
test eax, 0x80
mov edx, dword [edi + 0x14c]
je 0x436b87
cmp edx, 0xfffffffa
je 0x436b91
cmp edx, 2
je 0x436b91
cmp edx, 1
jne 0x436b99
test ecx, ecx
je 0x436b99
mov byte [ecx + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.0043564c
and byte [edi + 0x17c], 0xbf
cmp eax, 0xffffffff
je 0x436c85
test byte [edi + 0x17d], 8
je 0x436bd8
push dword [edi + 0xec]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x436cbb
and byte [edi + 0x17d], 0xf7
xor eax, eax
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 + ebx], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + ebx + 1], 0xa
add ebx, 2
jmp case.0x435d22.5
mov edx, dword [edi + 0x38]
mov byte [edx + ebx], 0xa
inc ebx
jmp case.0x435d22.5
mov edx, dword [edi + 0x38]
mov byte [edx + ebx], 0xd
inc ebx
jmp case.0x435d22.5
test byte [edi + 0x17d], 0x20
je 0x436c53
mov edx, dword [edi + 0x38]
movzx ecx, byte [ebp - 0xd]
mov dword [ebp - 0x18], ecx
mov byte [edx], cl
mov ebx, dword [edi + 0x38]
movzx ecx, byte [ebp - 0xe]
mov byte [ebx + 1], cl
mov edx, dword [edi + 0x38]
movzx ebx, byte [ebp - 0xf]
mov dword [ebp - 0x14], ebx
mov byte [edx + 2], bl
mov edx, dword [edi + 0x38]
movzx ebx, byte [ebp - 0x10]
mov byte [edx + 3], bl
jmp 0x435f43
mov edx, dword [edi + 0x38]
movzx ebx, byte [ebp - 0x10]
movzx ecx, byte [ebp - 0xf]
mov byte [edx], bl
mov edx, dword [edi + 0x38]
mov dword [ebp - 0x14], ecx
mov byte [edx + 1], cl
mov edx, dword [edi + 0x38]
movzx ecx, byte [ebp - 0xe]
mov byte [edx + 2], cl
mov eax, dword [edi + 0x38]
movzx edx, byte [ebp - 0xd]
mov dword [ebp - 0x18], edx
mov byte [eax + 3], dl
jmp 0x435f43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf0], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x38]
mov byte [ecx + ebx], 0xa
jmp 0x43616b
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x43626a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf0], eax
mov eax, 0x26
and byte [edi + 0x17d], 0xf7
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 + ebx - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + ebx - 1], 0xa
jmp case.0x435d22.5
push 4
push edi
mov dword [ebp - 0x18], edx
call fcn.00438e40
mov edx, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x435d11
mov edx, dword [edi + 0x18]
test edx, edx
je 0x436d74
test byte [edx + 0x44], 2
je 0x436d4a
mov ecx, 0x42
mov dword [edx + 0x38], ecx
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], ecx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x436d38
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [edi + 0x64], ecx
mov eax, 0x42
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, 0x42
push edx
movzx ecx, byte [edi + 0x17c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push edi
call fcn.0043da80
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 edx, 0x42
push edx
push edx
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp dword [0x518340], 0
jne 0x436b6e
jmp 0x436b99
cmp dword [0x518340], 0
jne 0x436200
jmp 0x436b99