Function at 0x5e4d30
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x60]
test esi, esi
jne 0x5e4d46
mov esi, dword [edi + 0x50]
mov ebx, dword [edi + 0x54]
test ebx, ebx
je 0x5e4d53
neg ebx
add ebx, esi
jmp 0x5e4d58
mov ebx, esi
sub ebx, dword [edi + 0x4c]
movsx edx, byte [edi + 0x18c]
lea eax, [edx - 2]
test eax, 0xfffffffd
je 0x5e625e
cmp edx, 8
jne 0x5e4df7
cmp byte [edi + 0x18e], 1
je 0x5e4e68
test byte [edi + 0x1a5], 0x40
jne 0x5e4e68
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e4df0
cmp byte [eax + 0x1e], 0
je 0x5e4df0
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x5e4df0
cmp dword [edi + 0x164], 1
je 0x5e4e68
cmp dword [0x7253f4], 0
je 0x5e4df0
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x5e4dde
cmp ecx, 0xfffffffa
je 0x5e4e68
cmp ecx, 1
je 0x5e4e68
cmp ecx, 2
je 0x5e4e68
mov ecx, 2
jmp 0x5e4e6a
lea eax, [edx - 6]
cmp eax, 1
ja 0x5e4e68
cmp byte [edi + 0x18e], 1
je 0x5e4e68
test byte [edi + 0x1a5], 0x40
jne 0x5e4e68
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e4e61
cmp byte [eax + 0x1e], 0
je 0x5e4e61
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x5e4e61
cmp dword [edi + 0x164], 1
je 0x5e4e68
cmp dword [0x7253f4], 0
je 0x5e4e61
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x5e4e57
cmp ecx, 0xfffffffa
je 0x5e4e68
cmp ecx, 1
je 0x5e4e68
cmp ecx, 2
je 0x5e4e68
mov ecx, 1
jmp 0x5e4e6a
xor ecx, ecx
lea eax, [ebx + ecx]
cmp eax, dword [edi + 0x10c]
jbe 0x5e4f0a
cmp edx, 1
je 0x5e4f0a
push 0x200
push ecx
push edi
call fcn.005e7350
add esp, 0xc
test eax, eax
je 0x5e4f03
mov edx, dword [edi + 0x20]
test edx, edx
je 0x5e5c65
test byte [edx + 0x44], 2
je 0x5e4ed0
mov ecx, 0x42
mov dword [edx + 0x38], ecx
mov edx, dword [edi + 0x20]
mov dword [edx + 0x3c], ecx
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x5e4ec3
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [edi + 0x7c], ecx
mov eax, 0x42
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [edi + 0x1ae]
mov edx, 0x42
and ecx, 0x10
movzx ebx, byte [edi + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push edi
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movsx edx, byte [edi + 0x18c]
cmp edx, 8
ja 0x5e50fa
movzx eax, word [edx*2 + 0x698d1c]
add eax, 0x5e4f22
jmp eax
push 0x4f2
push str.for_put.c
push 2
push 8
call fcn.005b16e0
add esp, 0x10
jmp 0x5e52b4
movsx eax, byte [edi + 0x18e]
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x5e52c6
mov esi, ecx
jmp 0x5e52c9
mov esi, dword [edi + 0x4c]
cmp eax, 2
jne 0x5e54db
mov edx, dword [edi + 0x94]
test edx, edx
je 0x5e5352
cmp byte [edx + 0x1c], 0
jne 0x5e52e8
cmp byte [edx + 0x1d], 0
je 0x5e5348
cmp byte [edx + 0x20], 0
je 0x5e5323
cmp dword [edi + 0x164], 1
je 0x5e5348
cmp dword [0x7253f4], 0
je 0x5e5323
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x5e5319
cmp ecx, 0xfffffffa
je 0x5e5348
cmp ecx, 1
je 0x5e5348
cmp ecx, 2
je 0x5e5348
mov eax, edi
lea edx, [ebp - 0x14]
mov ecx, 1
mov byte [edx], 0xa
call fcn.005e463c
cmp eax, 0xffffffff
je 0x5e5d54
mov edx, dword [edi + 0x94]
test edx, edx
je 0x5e5352
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x94]
test byte [edi + 0x1a0], 4
je 0x5e5371
test byte [edi + 0x1a2], 0x40
je 0x5e5371
test byte [edi + 0x1a3], 8
jne 0x5e5427
movsx ecx, byte [edi + 0x18c]
cmp ecx, 5
je 0x5e5427
movzx eax, byte [edi + 0x1a5]
mov dword [ebp - 0x18], eax
cmp ecx, 7
je 0x5e541f
cmp ecx, 6
je 0x5e541f
cmp ecx, 8
je 0x5e541f
test byte [ebp - 0x18], 0x40
jne 0x5e541f
test edx, edx
je 0x5e5d79
cmp byte [edx + 0x1e], 0
je 0x5e53f7
mov ecx, dword [edi + 0x164]
cmp ecx, 1
je 0x5e5437
cmp dword [0x7253f4], 0
je 0x5e53f7
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x5e53eb
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e5437
cmp dword [ebp - 0x1c], 1
je 0x5e5437
cmp dword [ebp - 0x1c], 2
je 0x5e5437
mov eax, dword [edi + 0x54]
test eax, eax
je 0x5e5d6d
mov byte [eax + ebx], 0xa
movzx eax, byte [edi + 0x1a5]
inc ebx
mov dword [ebp - 0x18], eax
mov edx, dword [edi + 0x94]
mov ecx, dword [edi + 0x164]
jmp 0x5e5437
mov ecx, dword [edi + 0x164]
jmp 0x5e5437
movzx eax, byte [edi + 0x1a5]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x164]
mov eax, dword [ebp - 0x18]
and eax, 0xffffffbf
mov byte [edi + 0x1a5], al
test edx, edx
je 0x5e5495
cmp byte [edx + 0x1e], 0
je 0x5e5495
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x5e5495
cmp ecx, 1
je 0x5e548c
cmp dword [0x7253f4], 0
je 0x5e5495
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x5e5483
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e548c
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
ja 0x5e5495
mov byte [edx + 0x20], 1
jmp 0x5e5c12
cmp ecx, 1
je 0x5e54ca
cmp dword [0x7253f4], 0
je 0x5e5c12
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x5e54c0
cmp ecx, 0xfffffffa
je 0x5e54ca
dec ecx
cmp ecx, 1
ja 0x5e5c12
test edx, edx
je 0x5e5c12
mov byte [edx + 0x20], 0
jmp 0x5e5c12
cmp eax, 1
jne 0x5e5b67
cmp ebx, 5
mov edx, ebx
jne 0x5e54f0
mov edx, 6
lea ebx, [edx - 4]
test ecx, ecx
je 0x5e620c
movsx eax, byte [ecx + 5]
lea esi, [ecx + 4]
cmp eax, 0x2b
je 0x5e6085
cmp eax, 0x30
je 0x5e5dff
cmp eax, 0x31
je 0x5e5900
cmp eax, 0x24
jne 0x5e5679
test byte [edi + 0x1a0], 2
je 0x5e561c
cmp dword [edi + 0x164], 1
je 0x5e556d
cmp dword [0x7253f4], 0
je 0x5e561c
movzx ecx, byte [edi + 0x1a8]
mov ebx, dword [edi + 0x16c]
test ecx, 0x80
je 0x5e5563
cmp ebx, 0xfffffffa
je 0x5e556d
dec ebx
cmp ebx, 1
ja 0x5e561c
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5e5d8d
cmp byte [ecx + 0x1e], 0
je 0x5e55c7
cmp byte [ecx + 0x1c], 0
jne 0x5e558d
cmp byte [ecx + 0x1d], 0
je 0x5e55a0
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x94]
test ecx, ecx
jne 0x5e55a6
jmp 0x5e55be
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5e55be
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x20], 1
jmp 0x5e5c12
cmp byte [ecx + 0x20], 0
jne 0x5e55ec
cmp byte [ecx + 0x1c], 0
jne 0x5e55d9
cmp byte [ecx + 0x1d], 0
je 0x5e55ec
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x94]
test ecx, ecx
jne 0x5e55f2
jmp 0x5e55fc
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x1d], 1
mov eax, dword [edi + 0x94]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5da7
cmp byte [eax + 0x1c], 0
jne 0x5e5636
cmp byte [eax + 0x1d], 0
je 0x5e5649
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e564f
jmp 0x5e5659
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x94]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
test eax, eax
jne 0x5e576d
test byte [edi + 0x1a0], 2
je 0x5e5733
cmp dword [edi + 0x164], 1
je 0x5e56c4
cmp dword [0x7253f4], 0
je 0x5e5733
movzx ecx, byte [edi + 0x1a8]
mov ebx, dword [edi + 0x16c]
test ecx, 0x80
je 0x5e56be
cmp ebx, 0xfffffffa
je 0x5e56c4
dec ebx
cmp ebx, 1
ja 0x5e5733
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5e5db2
movzx eax, byte [ecx + 0x1e]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x5e5705
test ecx, ecx
je 0x5e56fc
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5e56fc
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x20], 1
jmp 0x5e5c12
test ecx, ecx
je 0x5e5713
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x1d], 1
mov eax, dword [edi + 0x94]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov eax, dword [edi + 0x94]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x5e574d
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x94]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
movzx ecx, byte [edi + 0x1a0]
test cl, 2
je 0x5e589e
cmp dword [edi + 0x164], 1
je 0x5e57bd
cmp dword [0x7253f4], 0
je 0x5e589e
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x5e57b0
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e57bd
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
ja 0x5e589e
mov eax, dword [edi + 0x94]
inc esi
test eax, eax
je 0x5e5dce
cmp byte [eax + 0x1e], 0
je 0x5e5835
test cl, 4
je 0x5e57ea
test eax, eax
je 0x5e5dc5
cmp byte [eax + 0x20], 0
je 0x5e57f2
lea ebx, [edx - 5]
jmp 0x5e5814
test eax, eax
je 0x5e5dc5
cmp byte [eax + 0x1c], 0
jne 0x5e57fe
cmp byte [eax + 0x1d], 0
je 0x5e580c
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov eax, dword [edi + 0x94]
jmp 0x5e5810
inc esi
lea ebx, [edx - 6]
test eax, eax
je 0x5e582c
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e582c
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
mov byte [eax + 0x20], 1
jmp 0x5e5c12
cmp byte [eax + 0x20], 0
je 0x5e5847
test cl, 4
je 0x5e585d
mov byte [esi + ebx - 1], 0xd
jmp 0x5e5866
cmp byte [eax + 0x1c], 0
jne 0x5e5853
cmp byte [eax + 0x1d], 0
je 0x5e585d
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x5e5866
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov eax, dword [edi + 0x94]
inc esi
test eax, eax
je 0x5e58bf
cmp byte [eax + 0x1c], 0
jne 0x5e58b5
cmp byte [eax + 0x1d], 0
je 0x5e58bf
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x5e58c8
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x5e5ac9
cmp dword [edi + 0x164], 1
je 0x5e5950
cmp dword [0x7253f4], 0
je 0x5e5ac9
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x5e5943
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e5950
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x5e5ac9
mov ecx, dword [edi + 0x94]
inc esi
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x5e5deb
cmp byte [ecx + 0x1e], 0
je 0x5e5a1a
and eax, 4
shr eax, 2
je 0x5e598c
cmp dword [ebp - 0x1c], 0
je 0x5e5de2
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x5e5996
lea ebx, [edx - 5]
jmp 0x5e59eb
cmp dword [ebp - 0x1c], 0
je 0x5e5de2
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x1c], 0
jne 0x5e59a5
cmp byte [ecx + 0x1d], 0
je 0x5e59e1
test eax, eax
je 0x5e59d0
add esi, 0xfffffffc
mov ebx, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], bl
mov byte [esi + 3], 0x20
mov byte [esi + 4], bl
lea ebx, [edx - 1]
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x1c], eax
jmp 0x5e59e5
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x1c], eax
jmp 0x5e59e5
inc esi
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x5e5a0e
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5e5a0e
mov eax, edx
mov byte [eax + 0x1d], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x20], 1
jmp 0x5e5c12
cmp byte [ecx + 0x20], 0
je 0x5e5a36
test al, 4
je 0x5e5a2b
mov byte [esi + ebx - 1], 0xd
jmp 0x5e5a91
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x5e5a91
cmp byte [ecx + 0x1c], 0
jne 0x5e5a42
cmp byte [ecx + 0x1d], 0
je 0x5e5a67
test al, 4
je 0x5e5a89
add esi, 0xfffffffc
mov eax, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], al
mov byte [esi + 3], 0x20
mov byte [esi + 4], al
mov byte [esi + ebx + 3], al
mov ebx, edx
jmp 0x5e5a91
test al, 4
je 0x5e5a89
add esi, 0xfffffffd
mov eax, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], al
mov byte [esi + 2], 0x20
mov byte [esi + 3], al
mov byte [esi + ebx + 2], al
lea ebx, [edx - 1]
jmp 0x5e5a91
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov ecx, dword [edi + 0x94]
inc esi
test ecx, ecx
je 0x5e5b05
cmp byte [ecx + 0x1c], 0
jne 0x5e5ae0
cmp byte [ecx + 0x1d], 0
je 0x5e5b05
test al, 4
je 0x5e5b27
add esi, 0xfffffffc
mov eax, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], al
mov byte [esi + 3], 0x20
mov byte [esi + 4], al
mov byte [esi + ebx + 3], al
mov ebx, edx
jmp 0x5e5b2f
test al, 4
je 0x5e5b27
add esi, 0xfffffffd
mov eax, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], al
mov byte [esi + 2], 0x20
mov byte [esi + 3], al
mov byte [esi + ebx + 2], al
lea ebx, [edx - 1]
jmp 0x5e5b2f
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e6231
cmp byte [eax + 0x1e], 0
je 0x5e5bd8
movzx edx, word [edi + 0x18a]
mov ecx, dword [edi + 0x164]
test edx, edx
jg 0x5e5bd1
cmp ecx, 1
je 0x5e582c
cmp dword [0x7253f4], 0
je 0x5e5be8
movzx edx, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test edx, 0x80
je 0x5e5bbc
cmp ecx, 0xfffffffa
je 0x5e582c
dec ecx
cmp ecx, 1
jbe 0x5e582c
cmp dword [0x7253f4], 0
jne 0x5e5bea
jmp 0x5e5c12
cmp ecx, 1
je 0x5e5c0a
jmp 0x5e5bc6
cmp dword [edi + 0x164], 1
je 0x5e5c0e
cmp dword [0x7253f4], 0
je 0x5e5c12
movzx edx, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test edx, 0x80
je 0x5e5c04
cmp ecx, 0xfffffffa
je 0x5e5c0a
dec ecx
cmp ecx, 1
ja 0x5e5c12
test eax, eax
je 0x5e5c12
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.005e463c
and byte [edi + 0x1a4], 0xbf
cmp eax, 0xffffffff
je 0x5e5d54
test byte [edi + 0x1a5], 8
je 0x5e5c5b
push dword [edi + 0x104]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x5e621b
xor eax, eax
and byte [edi + 0x1a5], 0xf7
test eax, eax
jne 0x5e4efb
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x108], eax
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov byte [eax + ebx], 0xa
jmp 0x5e5406
movzx eax, word [edi + 0x18a]
test eax, eax
jle 0x5e53f7
jmp 0x5e53ba
movzx eax, word [edi + 0x18a]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
jle 0x5e55fc
jmp 0x5e55be
add esi, 2
lea ebx, [edx - 6]
jmp 0x5e5659
movzx ebx, word [edi + 0x18a]
xor eax, eax
test ebx, ebx
setg al
jmp 0x5e56d6
inc esi
lea ebx, [edx - 6]
jmp 0x5e582c
movzx ebx, word [edi + 0x18a]
test ebx, ebx
jle 0x5e585d
jmp 0x5e57d2
inc esi
lea ebx, [edx - 6]
jmp 0x5e5a0e
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x5e5a67
jmp 0x5e596c
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x5e5fc8
cmp dword [edi + 0x164], 1
je 0x5e5e4f
cmp dword [0x7253f4], 0
je 0x5e5fc8
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x5e5e42
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e5e4f
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x5e5fc8
mov ecx, dword [edi + 0x94]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x5e6066
cmp byte [ecx + 0x1e], 0
je 0x5e5f15
and eax, 4
shr eax, 2
je 0x5e5e8b
cmp dword [ebp - 0x1c], 0
je 0x5e607a
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x5e5e95
inc esi
lea ebx, [edx - 5]
jmp 0x5e5ee6
cmp dword [ebp - 0x1c], 0
je 0x5e607a
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x1c], 0
jne 0x5e5ea4
cmp byte [ecx + 0x1d], 0
je 0x5e5eda
test eax, eax
je 0x5e5ec5
dec esi
mov ebx, 0xa
mov byte [esi], bl
mov byte [esi + 1], 0xd
mov byte [esi + 2], bl
lea ebx, [edx - 3]
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x1c], eax
jmp 0x5e5ee0
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
jmp 0x5e5ee0
add esi, 2
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x5e5f09
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5e5f09
mov eax, edx
mov byte [eax + 0x1d], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x20], 1
jmp 0x5e5c12
cmp byte [ecx + 0x20], 0
je 0x5e5f34
test al, 4
je 0x5e5f27
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x5e5f90
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x5e5f90
cmp byte [ecx + 0x1c], 0
jne 0x5e5f40
cmp byte [ecx + 0x1d], 0
je 0x5e5f70
test al, 4
je 0x5e5f5d
dec esi
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], 0xd
mov byte [esi + 2], al
mov byte [esi + ebx + 1], 0xd
lea ebx, [edx - 2]
jmp 0x5e5f90
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x5e5f90
test al, 4
je 0x5e5f87
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x5e5f90
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x5e600e
cmp byte [ecx + 0x1c], 0
jne 0x5e5fde
cmp byte [ecx + 0x1d], 0
je 0x5e600e
test al, 4
je 0x5e5ffb
dec esi
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], 0xd
mov byte [esi + 2], al
mov byte [esi + ebx + 1], 0xd
lea ebx, [edx - 2]
jmp 0x5e602e
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x5e602e
test al, 4
je 0x5e6025
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x5e602e
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x5e5f70
jmp 0x5e5e6a
add esi, 2
lea ebx, [edx - 6]
jmp 0x5e5f09
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x5e61aa
cmp dword [edi + 0x164], 1
je 0x5e60d5
cmp dword [0x7253f4], 0
je 0x5e61aa
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x5e60c8
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x5e60d5
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x5e61aa
mov ecx, dword [edi + 0x94]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x5e61f8
cmp byte [ecx + 0x1e], 0
je 0x5e614c
test al, 4
je 0x5e6111
cmp dword [ebp - 0x1c], 0
je 0x5e61ed
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x5e6109
inc esi
lea ebx, [edx - 5]
jmp 0x5e611d
add esi, 2
lea ebx, [edx - 6]
jmp 0x5e611d
add esi, 2
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x5e6140
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5e6140
mov eax, edx
mov byte [eax + 0x1d], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x20], 1
jmp 0x5e5c12
test al, 4
je 0x5e6167
cmp dword [ebp - 0x1c], 0
je 0x5e6167
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x20], 0
je 0x5e6167
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x5e6172
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x94]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x94]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5e5c12
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x5e5c0e
jmp 0x5e5c12
add esi, 2
lea ebx, [edx - 6]
jmp 0x5e6140
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x5e614c
jmp 0x5e60ec
mov eax, dword [edi + 0x4c]
lea esi, [eax + 4]
movsx eax, byte [eax + 5]
jmp 0x5e5502
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x108], eax
mov eax, 0x26
jmp 0x5e5c4c
movzx edx, word [edi + 0x18a]
mov ecx, dword [edi + 0x164]
test edx, edx
jg 0x5e6250
cmp ecx, 1
je 0x5e5c12
jmp 0x5e5bc6
cmp ecx, 1
je 0x5e5c0a
jmp 0x5e5bc6
mov ecx, 4
jmp 0x5e4e6a