Function at 0x483550
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 0x483566
mov esi, dword [edi + 0x50]
mov ebx, dword [edi + 0x54]
test ebx, ebx
je 0x483573
neg ebx
add ebx, esi
jmp 0x483578
mov ebx, esi
sub ebx, dword [edi + 0x4c]
movsx edx, byte [edi + 0x18c]
lea eax, [edx - 2]
test eax, 0xfffffffd
je 0x484a7e
cmp edx, 8
jne 0x483617
cmp byte [edi + 0x18e], 1
je 0x483688
test byte [edi + 0x1a5], 0x40
jne 0x483688
mov eax, dword [edi + 0x94]
test eax, eax
je 0x483610
cmp byte [eax + 0x1e], 0
je 0x483610
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x483610
cmp dword [edi + 0x164], 1
je 0x483688
cmp dword [0x2e00b58], 0
je 0x483610
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x4835fe
cmp ecx, 0xfffffffa
je 0x483688
cmp ecx, 1
je 0x483688
cmp ecx, 2
je 0x483688
mov ecx, 2
jmp 0x48368a
lea eax, [edx - 6]
cmp eax, 1
ja 0x483688
cmp byte [edi + 0x18e], 1
je 0x483688
test byte [edi + 0x1a5], 0x40
jne 0x483688
mov eax, dword [edi + 0x94]
test eax, eax
je 0x483681
cmp byte [eax + 0x1e], 0
je 0x483681
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x483681
cmp dword [edi + 0x164], 1
je 0x483688
cmp dword [0x2e00b58], 0
je 0x483681
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x483677
cmp ecx, 0xfffffffa
je 0x483688
cmp ecx, 1
je 0x483688
cmp ecx, 2
je 0x483688
mov ecx, 1
jmp 0x48368a
xor ecx, ecx
lea eax, [ebx + ecx]
cmp eax, dword [edi + 0x10c]
jbe 0x48372a
cmp edx, 1
je 0x48372a
push 0x200
push ecx
push edi
call fcn.00486f50
add esp, 0xc
test eax, eax
je 0x483723
mov edx, dword [edi + 0x20]
test edx, edx
je 0x484485
test byte [edx + 0x44], 2
je 0x4836f0
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 0x4836e3
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.004865b0
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 0x48391a
movzx eax, word [edx*2 + 0x508524]
add eax, 0x483742
jmp eax
push 0x4f2
push str.for_put.c
push 2
push 8
call fcn.00480060
add esp, 0x10
jmp 0x483ad4
movsx eax, byte [edi + 0x18e]
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x483ae6
mov esi, ecx
jmp 0x483ae9
mov esi, dword [edi + 0x4c]
cmp eax, 2
jne 0x483cfb
mov edx, dword [edi + 0x94]
test edx, edx
je 0x483b72
cmp byte [edx + 0x1c], 0
jne 0x483b08
cmp byte [edx + 0x1d], 0
je 0x483b68
cmp byte [edx + 0x20], 0
je 0x483b43
cmp dword [edi + 0x164], 1
je 0x483b68
cmp dword [0x2e00b58], 0
je 0x483b43
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x483b39
cmp ecx, 0xfffffffa
je 0x483b68
cmp ecx, 1
je 0x483b68
cmp ecx, 2
je 0x483b68
mov eax, edi
lea edx, [ebp - 0x14]
mov ecx, 1
mov byte [edx], 0xa
call fcn.00482e6c
cmp eax, 0xffffffff
je 0x484574
mov edx, dword [edi + 0x94]
test edx, edx
je 0x483b72
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x94]
test byte [edi + 0x1a0], 4
je 0x483b91
test byte [edi + 0x1a2], 0x40
je 0x483b91
test byte [edi + 0x1a3], 8
jne 0x483c47
movsx ecx, byte [edi + 0x18c]
cmp ecx, 5
je 0x483c47
movzx eax, byte [edi + 0x1a5]
mov dword [ebp - 0x18], eax
cmp ecx, 7
je 0x483c3f
cmp ecx, 6
je 0x483c3f
cmp ecx, 8
je 0x483c3f
test byte [ebp - 0x18], 0x40
jne 0x483c3f
test edx, edx
je 0x484599
cmp byte [edx + 0x1e], 0
je 0x483c17
mov ecx, dword [edi + 0x164]
cmp ecx, 1
je 0x483c57
cmp dword [0x2e00b58], 0
je 0x483c17
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x483c0b
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x483c57
cmp dword [ebp - 0x1c], 1
je 0x483c57
cmp dword [ebp - 0x1c], 2
je 0x483c57
mov eax, dword [edi + 0x54]
test eax, eax
je 0x48458d
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 0x483c57
mov ecx, dword [edi + 0x164]
jmp 0x483c57
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 0x483cb5
cmp byte [edx + 0x1e], 0
je 0x483cb5
movzx eax, word [edi + 0x18a]
test eax, eax
jg 0x483cb5
cmp ecx, 1
je 0x483cac
cmp dword [0x2e00b58], 0
je 0x483cb5
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x483ca3
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x483cac
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
ja 0x483cb5
mov byte [edx + 0x20], 1
jmp 0x484432
cmp ecx, 1
je 0x483cea
cmp dword [0x2e00b58], 0
je 0x484432
movzx eax, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test eax, 0x80
je 0x483ce0
cmp ecx, 0xfffffffa
je 0x483cea
dec ecx
cmp ecx, 1
ja 0x484432
test edx, edx
je 0x484432
mov byte [edx + 0x20], 0
jmp 0x484432
cmp eax, 1
jne 0x484387
cmp ebx, 5
mov edx, ebx
jne 0x483d10
mov edx, 6
lea ebx, [edx - 4]
test ecx, ecx
je 0x484a2c
movsx eax, byte [ecx + 5]
lea esi, [ecx + 4]
cmp eax, 0x2b
je 0x4848a5
cmp eax, 0x30
je 0x48461f
cmp eax, 0x31
je 0x484120
cmp eax, 0x24
jne 0x483e99
test byte [edi + 0x1a0], 2
je 0x483e3c
cmp dword [edi + 0x164], 1
je 0x483d8d
cmp dword [0x2e00b58], 0
je 0x483e3c
movzx ecx, byte [edi + 0x1a8]
mov ebx, dword [edi + 0x16c]
test ecx, 0x80
je 0x483d83
cmp ebx, 0xfffffffa
je 0x483d8d
dec ebx
cmp ebx, 1
ja 0x483e3c
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x4845ad
cmp byte [ecx + 0x1e], 0
je 0x483de7
cmp byte [ecx + 0x1c], 0
jne 0x483dad
cmp byte [ecx + 0x1d], 0
je 0x483dc0
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x94]
test ecx, ecx
jne 0x483dc6
jmp 0x483dde
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x483dde
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x20], 1
jmp 0x484432
cmp byte [ecx + 0x20], 0
jne 0x483e0c
cmp byte [ecx + 0x1c], 0
jne 0x483df9
cmp byte [ecx + 0x1d], 0
je 0x483e0c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov ecx, dword [edi + 0x94]
test ecx, ecx
jne 0x483e12
jmp 0x483e1c
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 0x48442e
jmp 0x484432
mov eax, dword [edi + 0x94]
test eax, eax
je 0x4845c7
cmp byte [eax + 0x1c], 0
jne 0x483e56
cmp byte [eax + 0x1d], 0
je 0x483e69
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x483e6f
jmp 0x483e79
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 0x48442e
jmp 0x484432
test eax, eax
jne 0x483f8d
test byte [edi + 0x1a0], 2
je 0x483f53
cmp dword [edi + 0x164], 1
je 0x483ee4
cmp dword [0x2e00b58], 0
je 0x483f53
movzx ecx, byte [edi + 0x1a8]
mov ebx, dword [edi + 0x16c]
test ecx, 0x80
je 0x483ede
cmp ebx, 0xfffffffa
je 0x483ee4
dec ebx
cmp ebx, 1
ja 0x483f53
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x4845d2
movzx eax, byte [ecx + 0x1e]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x483f25
test ecx, ecx
je 0x483f1c
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x483f1c
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x94]
mov byte [ecx + 0x20], 1
jmp 0x484432
test ecx, ecx
je 0x483f33
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 0x48442e
jmp 0x484432
mov eax, dword [edi + 0x94]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x483f6d
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 0x48442e
jmp 0x484432
movzx ecx, byte [edi + 0x1a0]
test cl, 2
je 0x4840be
cmp dword [edi + 0x164], 1
je 0x483fdd
cmp dword [0x2e00b58], 0
je 0x4840be
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x1a8]
test eax, 0x80
je 0x483fd0
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x483fdd
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
ja 0x4840be
mov eax, dword [edi + 0x94]
inc esi
test eax, eax
je 0x4845ee
cmp byte [eax + 0x1e], 0
je 0x484055
test cl, 4
je 0x48400a
test eax, eax
je 0x4845e5
cmp byte [eax + 0x20], 0
je 0x484012
lea ebx, [edx - 5]
jmp 0x484034
test eax, eax
je 0x4845e5
cmp byte [eax + 0x1c], 0
jne 0x48401e
cmp byte [eax + 0x1d], 0
je 0x48402c
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov eax, dword [edi + 0x94]
jmp 0x484030
inc esi
lea ebx, [edx - 6]
test eax, eax
je 0x48404c
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x94]
test eax, eax
je 0x48404c
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
mov byte [eax + 0x20], 1
jmp 0x484432
cmp byte [eax + 0x20], 0
je 0x484067
test cl, 4
je 0x48407d
mov byte [esi + ebx - 1], 0xd
jmp 0x484086
cmp byte [eax + 0x1c], 0
jne 0x484073
cmp byte [eax + 0x1d], 0
je 0x48407d
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x484086
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
mov eax, dword [edi + 0x94]
inc esi
test eax, eax
je 0x4840df
cmp byte [eax + 0x1c], 0
jne 0x4840d5
cmp byte [eax + 0x1d], 0
je 0x4840df
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x4840e8
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x4842e9
cmp dword [edi + 0x164], 1
je 0x484170
cmp dword [0x2e00b58], 0
je 0x4842e9
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x484163
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x484170
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x4842e9
mov ecx, dword [edi + 0x94]
inc esi
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x48460b
cmp byte [ecx + 0x1e], 0
je 0x48423a
and eax, 4
shr eax, 2
je 0x4841ac
cmp dword [ebp - 0x1c], 0
je 0x484602
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x4841b6
lea ebx, [edx - 5]
jmp 0x48420b
cmp dword [ebp - 0x1c], 0
je 0x484602
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x1c], 0
jne 0x4841c5
cmp byte [ecx + 0x1d], 0
je 0x484201
test eax, eax
je 0x4841f0
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 0x484205
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x1c], eax
jmp 0x484205
inc esi
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x48422e
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x48422e
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 0x484432
cmp byte [ecx + 0x20], 0
je 0x484256
test al, 4
je 0x48424b
mov byte [esi + ebx - 1], 0xd
jmp 0x4842b1
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4842b1
cmp byte [ecx + 0x1c], 0
jne 0x484262
cmp byte [ecx + 0x1d], 0
je 0x484287
test al, 4
je 0x4842a9
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 0x4842b1
test al, 4
je 0x4842a9
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 0x4842b1
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
mov ecx, dword [edi + 0x94]
inc esi
test ecx, ecx
je 0x484325
cmp byte [ecx + 0x1c], 0
jne 0x484300
cmp byte [ecx + 0x1d], 0
je 0x484325
test al, 4
je 0x484347
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 0x48434f
test al, 4
je 0x484347
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 0x48434f
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
mov eax, dword [edi + 0x94]
test eax, eax
je 0x484a51
cmp byte [eax + 0x1e], 0
je 0x4843f8
movzx edx, word [edi + 0x18a]
mov ecx, dword [edi + 0x164]
test edx, edx
jg 0x4843f1
cmp ecx, 1
je 0x48404c
cmp dword [0x2e00b58], 0
je 0x484408
movzx edx, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test edx, 0x80
je 0x4843dc
cmp ecx, 0xfffffffa
je 0x48404c
dec ecx
cmp ecx, 1
jbe 0x48404c
cmp dword [0x2e00b58], 0
jne 0x48440a
jmp 0x484432
cmp ecx, 1
je 0x48442a
jmp 0x4843e6
cmp dword [edi + 0x164], 1
je 0x48442e
cmp dword [0x2e00b58], 0
je 0x484432
movzx edx, byte [edi + 0x1a8]
mov ecx, dword [edi + 0x16c]
test edx, 0x80
je 0x484424
cmp ecx, 0xfffffffa
je 0x48442a
dec ecx
cmp ecx, 1
ja 0x484432
test eax, eax
je 0x484432
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.00482e6c
and byte [edi + 0x1a4], 0xbf
cmp eax, 0xffffffff
je 0x484574
test byte [edi + 0x1a5], 8
je 0x48447b
push dword [edi + 0x104]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x484a3b
xor eax, eax
and byte [edi + 0x1a5], 0xf7
test eax, eax
jne 0x48371b
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.0047ead0
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 0x483c26
movzx eax, word [edi + 0x18a]
test eax, eax
jle 0x483c17
jmp 0x483bda
movzx eax, word [edi + 0x18a]
add esi, 2
lea ebx, [edx - 6]
test eax, eax
jle 0x483e1c
jmp 0x483dde
add esi, 2
lea ebx, [edx - 6]
jmp 0x483e79
movzx ebx, word [edi + 0x18a]
xor eax, eax
test ebx, ebx
setg al
jmp 0x483ef6
inc esi
lea ebx, [edx - 6]
jmp 0x48404c
movzx ebx, word [edi + 0x18a]
test ebx, ebx
jle 0x48407d
jmp 0x483ff2
inc esi
lea ebx, [edx - 6]
jmp 0x48422e
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x484287
jmp 0x48418c
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x4847e8
cmp dword [edi + 0x164], 1
je 0x48466f
cmp dword [0x2e00b58], 0
je 0x4847e8
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x484662
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x48466f
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x4847e8
mov ecx, dword [edi + 0x94]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x484886
cmp byte [ecx + 0x1e], 0
je 0x484735
and eax, 4
shr eax, 2
je 0x4846ab
cmp dword [ebp - 0x1c], 0
je 0x48489a
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x4846b5
inc esi
lea ebx, [edx - 5]
jmp 0x484706
cmp dword [ebp - 0x1c], 0
je 0x48489a
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x1c], 0
jne 0x4846c4
cmp byte [ecx + 0x1d], 0
je 0x4846fa
test eax, eax
je 0x4846e5
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 0x484700
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
jmp 0x484700
add esi, 2
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x484729
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x484729
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 0x484432
cmp byte [ecx + 0x20], 0
je 0x484754
test al, 4
je 0x484747
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x4847b0
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4847b0
cmp byte [ecx + 0x1c], 0
jne 0x484760
cmp byte [ecx + 0x1d], 0
je 0x484790
test al, 4
je 0x48477d
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 0x4847b0
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x4847b0
test al, 4
je 0x4847a7
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x4847b0
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x48482e
cmp byte [ecx + 0x1c], 0
jne 0x4847fe
cmp byte [ecx + 0x1d], 0
je 0x48482e
test al, 4
je 0x48481b
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 0x48484e
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x48484e
test al, 4
je 0x484845
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x48484e
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x484790
jmp 0x48468a
add esi, 2
lea ebx, [edx - 6]
jmp 0x484729
movzx eax, byte [edi + 0x1a0]
test al, 2
je 0x4849ca
cmp dword [edi + 0x164], 1
je 0x4848f5
cmp dword [0x2e00b58], 0
je 0x4849ca
mov ecx, dword [edi + 0x16c]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x1a8]
test ecx, 0x80
je 0x4848e8
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x4848f5
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, 1
ja 0x4849ca
mov ecx, dword [edi + 0x94]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x484a18
cmp byte [ecx + 0x1e], 0
je 0x48496c
test al, 4
je 0x484931
cmp dword [ebp - 0x1c], 0
je 0x484a0d
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + 0x20], 0
je 0x484929
inc esi
lea ebx, [edx - 5]
jmp 0x48493d
add esi, 2
lea ebx, [edx - 6]
jmp 0x48493d
add esi, 2
lea ebx, [edx - 6]
cmp dword [ebp - 0x1c], 0
je 0x484960
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], 0
mov edx, dword [edi + 0x94]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x484960
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 0x484432
test al, 4
je 0x484987
cmp dword [ebp - 0x1c], 0
je 0x484987
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x20], 0
je 0x484987
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x484992
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
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 0x484432
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48442e
jmp 0x484432
add esi, 2
lea ebx, [edx - 6]
jmp 0x484960
movzx ecx, word [edi + 0x18a]
test ecx, ecx
jle 0x48496c
jmp 0x48490c
mov eax, dword [edi + 0x4c]
lea esi, [eax + 4]
movsx eax, byte [eax + 5]
jmp 0x483d22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x108], eax
mov eax, 0x26
jmp 0x48446c
movzx edx, word [edi + 0x18a]
mov ecx, dword [edi + 0x164]
test edx, edx
jg 0x484a70
cmp ecx, 1
je 0x484432
jmp 0x4843e6
cmp ecx, 1
je 0x48442a
jmp 0x4843e6
mov ecx, 4
jmp 0x48368a