Function at 0x43c988
Capabilities:
Check if file exists
Clear file content
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 1
test byte [edx + 0x170], 4
je 0x43c9d0
cmp dword [ebx + 0x80], 0
jne 0x43c9d0
cmp dword [ebx + 0x2c], 0
je 0x43f018
cmp dword [ebx + 0xa4], 0
je 0x43c9e2
mov byte [ebp - 0x13c], 0
jmp 0x43ca29
mov esi, dword [ebx + 0x58]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x38], esi
lea esi, [ebp - 0x24]
mov dword [esp + 0xc], esi
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], edi
call fcn.0043b67c
test eax, eax
je 0x43ca29
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x13c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43ca46
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43ca31
dec eax
mov edx, dword [ebp - 4]
movsx esi, ax
add esi, 0xa
mov word [edx + 0x15a], ax
lea ecx, [edx + 0x60]
push ecx
push 0
push esi
mov dword [ebp - 0x158], ecx
call fcn.0040fc60
add esp, 0xc
test eax, eax
je 0x43ca7c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x43ca88
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
or edx, dword [eax + 0x9c]
jne 0x43cab7
mov dword [eax + 0x98], 1
mov dword [eax + 0x9c], 0
cmp dword [ebx + 0x44], 0
je 0x43cadb
or byte [eax + 0x171], 0x40
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0x80000000
or byte [eax + 0x177], 0x10
jmp 0x43cae9
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x43fd45
cmp eax, 2
je 0x43cb98
cmp eax, 1
jne 0x43cb34
mov eax, dword [ebp - 4]
mov dword [ebp - 0x15c], 0
or byte [eax + 0x171], 0x40
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x43cbbe
cmp eax, 3
jne 0x43cb75
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
mov dword [ebp - 0x15c], 0
or byte [eax + 0x176], 1
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x43cbbe
mov edx, dword [ebp - 4]
mov eax, 0x2ed
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43cb94
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
xor eax, eax
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov dword [ebp - 0x15c], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x43cc96
cmp eax, 2
je 0x43cc70
cmp eax, 1
jne 0x43cc0c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x15c], 0
or byte [eax + 0x171], 0x40
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x43cc96
cmp eax, 3
jne 0x43cc4d
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
mov dword [ebp - 0x15c], 0
or byte [eax + 0x176], 1
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x43cc96
mov edx, dword [ebp - 4]
mov eax, 0x23b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43cc6c
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
xor eax, eax
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov dword [ebp - 0x15c], eax
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x43cca1
jmp dword [eax*4 + 0x4d1d38]
mov eax, dword [ebp - 4]
or byte [eax + 0x173], 4
and byte [eax + 0x170], 0x7b
jmp case.0x43cca1.0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 0x10
mov byte [edx + 0x173], al
jmp 0x43cd18
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
mov edx, eax
movzx eax, byte [edx + 0x173]
or eax, 3
mov byte [edx + 0x173], al
jmp 0x43cd18
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 8
mov byte [edx + 0x173], al
jmp 0x43cd18
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 2
mov byte [edx + 0x173], al
mov edx, dword [ebx + 0x58]
cmp edx, 5
ja case.default.0x43cd24
jmp dword [edx*4 + 0x4d1d50]
test al, 1
je 0x43cd4d
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
jne 0x43cd4d
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
or dword [ebp - 0x18], 2
or dword [ebp - 0x14], 0x4000002
or byte [eax + 0x172], 4
jmp 0x43cdfc
test al, 1
je 0x43cd89
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
jne 0x43cd89
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
or dword [ebp - 0x18], 1
jmp 0x43cdfc
mov eax, dword [ebp - 4]
or byte [eax + 0x172], 2
or dword [ebp - 0x18], 3
jmp 0x43cdfc
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je case.0x43cd24.4
push str.USER
lea eax, [ebp - 0x13c]
push eax
call fcn.00472770
add esp, 8
test eax, eax
jne case.0x43cd24.4
mov eax, dword [ebp - 4]
or byte [eax + 0x172], 8
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
je 0x43cde2
test byte [eax + 0x170], 4
je 0x43cdeb
test byte [eax + 0x177], 0x10
je case.0x43cd24.5
or byte [eax + 0x172], 2
or dword [ebp - 0x18], 3
jmp 0x43cdfc
or dword [ebp - 0x18], 4
mov eax, dword [ebx + 0x28]
cmp eax, 6
ja case.default.0x43cf6e
jmp dword [eax*4 + 0x4d1d68]
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 4
je case.0x43ce08.2
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x172]
test al, 4
jne 0x43cd3b
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x172], al
jmp case.0x43ce08.0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x172]
test al, 4
jne 0x43cd3b
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x172], al
jmp case.0x43ce08.0
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43cd3b
mov edx, eax
movzx eax, byte [edx + 0x172]
or eax, 8
mov byte [edx + 0x172], al
mov edx, dword [ebx + 0x28]
cmp edx, 5
jne 0x43cea8
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x172], al
jmp case.0x43ce08.0
cmp edx, 6
jne case.0x43ce08.0
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x172], al
jmp case.0x43ce08.0
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 4
je case.0x43ce08.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x34]
cmp eax, 4
ja case.default.0x43cee5
jmp dword [eax*4 + 0x4d1d84]
mov eax, dword [ebp - 4]
or byte [eax + 0x178], 2
jmp 0x43cf57
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test edx, 0x80
jne 0x43cf13
or byte [eax + 0x172], 0x80
jmp 0x43cf57
or byte [eax + 0x178], 1
jmp 0x43cf57
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43cf32
test al, 0x10
jne 0x43cf32
test al, 4
je case.0x43cee5.1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test edx, 0x80
jne 0x43cf13
or byte [eax + 0x172], 0x80
jmp 0x43cf57
mov eax, dword [ebp - 4]
or byte [eax + 0x172], 0x40
mov edx, eax
mov eax, dword [ebx + 0x4c]
mov byte [edx + 0x15c], al
mov edx, dword [ebx + 0x4c]
cmp edx, 8
ja case.default.0x43cf6e
jmp dword [edx*4 + 0x4d1d98]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43cf9a
test dl, 0x10
jne 0x43cf9a
test dl, 4
jne 0x43cf9a
mov edx, dword [ebp - 4]
test byte [edx + 0x172], 0x40
je case.0x43cf6e.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 4
mov eax, 4
jmp case.0x43cf6e.0
mov edx, dword [ebp - 4]
test byte [edx + 0x173], 4
je case.0x43cf6e.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ecx + 0x15e], dl
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x43fcc8
cmp edx, 1
je 0x43d051
cmp edx, 2
jne 0x43d02a
mov edx, ecx
test byte [edx + 0x173], 4
jne 0x43cd3b
test byte [edx + 0x172], 0x40
je 0x43d060
movsx edx, al
add edx, 0xfffffffb
cmp edx, 3
ja 0x43d060
mov edx, ecx
mov byte [edx + 0x15e], 3
jmp 0x43d060
cmp edx, 3
je 0x43d060
mov edx, ecx
mov eax, 0x2f2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d04d
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, ecx
test byte [edx + 0x173], 4
jne 0x43cd3b
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x43fca1
cmp edx, 1
je 0x43d0de
cmp edx, 2
jne 0x43d091
mov eax, dword [ebp - 4]
test byte [eax + 0x173], 0x10
jne 0x43cd3b
mov byte [eax + 0x15d], 2
jmp 0x43d12c
cmp edx, 3
jne case.default.0x43cf6e
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43cd3b
test dl, 1
jne 0x43cd3b
test dl, 4
jne 0x43cd3b
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 3
mov ecx, 3
jmp 0x43d123
mov eax, 0x30
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
je 0x43d10b
movsx ecx, al
cmp ecx, 1
je 0x43d10b
test ecx, ecx
je 0x43d10b
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test dl, 0x10
jne 0x43cd3b
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 1
mov ecx, 1
test dl, 8
je 0x43d1f5
push str.FOR_DO_NOT_CACHE_DIRECT_FILE
call fcn.0046c750
add esp, 4
test eax, eax
je 0x43d1dd
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x100]
movsx edx, byte [eax]
cmp edx, 0x20
jne 0x43d15b
inc eax
movsx edx, byte [eax]
cmp edx, 0x20
je 0x43d152
mov ecx, eax
je 0x43d16f
movsx edx, byte [eax]
test edx, edx
je 0x43d16f
inc ecx
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x43d162
push 0x4d1e14
push eax
mov byte [ecx], 0
call fcn.004729e0
add esp, 8
mov edi, eax
test edi, edi
je 0x43d1dd
mov dword [ebp - 0x164], ebx
push 0x2d
push edi
call fcn.00472890
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43f051
push edi
mov byte [ebx], 0
call fcn.00472b70
inc ebx
mov edi, eax
push ebx
call fcn.00472b70
add esp, 8
cmp esi, edi
jl 0x43d1c2
cmp esi, eax
jle 0x43f02e
push 0x4d1e14
push 0
call fcn.004729e0
add esp, 8
mov edi, eax
test edi, edi
jne 0x43d18c
mov ebx, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
or dword [ebp - 0x14], 0x10000000
movzx eax, byte [edx + 0x15c]
movsx ecx, byte [edx + 0x15d]
and ecx, 0xfffffffe
cmp dword [ebx + 0x4c], 0
jne 0x43d2ad
cmp ecx, 2
je 0x43d21e
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x173]
test dl, 8
jne 0x43d21b
test dl, 0x10
je 0x43d235
cmp ecx, 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 1
mov eax, 1
je 0x43d2c6
jmp 0x43d2b2
movzx eax, byte [eax + 0x178]
test al, 1
jne 0x43d25f
test al, 2
jne 0x43d25f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x172]
and eax, 0x80
shr eax, 7
test dl, 4
je 0x43d270
test eax, eax
je 0x43d285
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 5
mov eax, 5
jmp 0x43d2bc
test eax, eax
je 0x43d285
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 4
mov eax, 4
jmp 0x43d2bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 3
je 0x43d29f
mov byte [eax + 0x15c], 8
mov eax, 8
jmp 0x43d2bc
mov byte [eax + 0x15c], 5
mov eax, 5
jmp 0x43d2bc
cmp ecx, 2
je 0x43d2c6
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43d2c6
test dl, 0x10
je 0x43d2e0
movsx edx, al
cmp edx, 1
je 0x43d2e3
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx edx, al
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 1
je 0x43d315
movzx eax, byte [eax + 0x173]
test al, 1
jne 0x43d2fe
test al, 2
je 0x43d315
cmp edx, 5
je 0x43d31e
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp edx, 4
je 0x43fc7f
or dword [ebp - 0x1c], 1
cmp dword [ebx + 0x54], 0
jne 0x43d334
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43d355
mov eax, dword [ebp - 4]
mov dword [ebp - 0x160], 0
or byte [eax + 0x172], 1
and byte [eax + 0x178], 0xfb
or dword [ebp - 0x1c], 2
jmp 0x43d35f
mov dword [ebp - 0x160], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x43d39f
cmp eax, 1
je 0x43d393
cmp eax, 2
je 0x43d3a9
mov edx, dword [ebp - 4]
mov eax, 0x23d
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d38f
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43d3bc
cmp dword [ebp - 0x34], 0
je 0x43fc58
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 0x20
mov byte [edx + 0x173], al
and eax, 4
mov esi, dword [ebx + 0x48]
shr eax, 2
test esi, esi
je 0x43d3df
test eax, eax
je 0x43d42f
mov eax, 0x70
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x43d533
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 0x40
je 0x43d40c
mov esi, dword [0x4ee744]
cmp esi, 0xfffffffe
je 0x43fd9b
cmp esi, 0xffffffff
jne 0x43d424
jmp 0x43d533
mov esi, dword [0x4ee748]
cmp esi, 0xfffffffe
je 0x43fd89
cmp esi, 0xffffffff
je 0x43d533
mov dword [ebx + 0x48], esi
test esi, esi
je 0x43d533
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43d467
test esi, esi
jle 0x43d455
mov eax, esi
mov ecx, 0xfffffffa
cdq
mov eax, esi
xor edi, edi
sub eax, ecx
sbb edx, edi
jl 0x43d46f
or eax, edx
je 0x43d46f
mov eax, 0x245
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x43fdad
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x172]
and edx, 0x80
shr edx, 7
mov dword [eax + 0xfc], esi
test edx, edx
je 0x43d4a4
test byte [eax + 0x174], 0x10
jne 0x43d4a4
cmp dword [ebx + 0x7c], 0
lea eax, [esi*4]
jne 0x43d4a4
mov esi, eax
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x15c]
dec eax
cmp eax, 7
ja case.default.0x43d4b4
jmp dword [eax*4 + 0x4d1dbc]
mov eax, dword [ebp - 4]
lea edx, [esi + 1]
cmp byte [eax + 0x15e], 3
jne case.0x43d4b4.1
mov esi, edx
jmp case.0x43d4b4.1
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x173]
test byte [ecx + 0x178], 2
jne 0x43d4e9
test al, 4
je case.0x43d4b4.1
test edx, edx
je case.0x43d4b4.1
mov edx, ecx
or eax, 0xffffff80
mov esi, 0x400
mov dword [edx + 0xfc], 0x10000
mov byte [edx + 0x173], al
jmp case.0x43d4b4.1
add esi, 4
jmp case.0x43d4b4.1
add esi, 8
jmp case.0x43d4b4.1
push 0x6c6
push str.for_nt_open_proc.c
push 2
push 8
call fcn.00412330
add esp, 0x10
mov eax, dword [ebp - 4]
mov dword [eax + 0xf8], esi
jmp 0x43d63f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15c], 1
je 0x43d552
mov esi, eax
movzx eax, byte [esi + 0x173]
test al, 8
mov dword [ebp - 0x164], eax
je 0x43d575
mov edx, dword [ebp - 4]
mov eax, 0x241
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d571
mov eax, 0x25
mov esp, ebp
pop ebp
ret
mov eax, esi
movzx eax, byte [eax + 0x178]
test al, 1
jne 0x43d5a7
test al, 2
jne 0x43d5a7
mov eax, esi
mov ecx, dword [ebp - 0x164]
and ecx, 4
shr ecx, 2
movzx edx, byte [eax + 0x172]
test ecx, ecx
je 0x43d5bf
test edx, 0x80
je 0x43d5bf
mov eax, esi
mov dword [eax + 0xf8], 0x400
mov dword [eax + 0xfc], 0x10000
jmp 0x43d62e
test byte [eax + 0x170], 4
je 0x43d5e2
test dl, 0x40
je 0x43d5e2
mov edx, eax
mov eax, 0x400
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], eax
jmp 0x43d62e
test edx, 0x80
je 0x43d600
mov dword [eax + 0xf8], 0x800
mov dword [eax + 0xfc], 0x1fe
jmp 0x43d62e
test ecx, ecx
je 0x43d61a
mov dword [eax + 0xf8], 0x401
mov dword [eax + 0xfc], 0x400
jmp 0x43d62e
mov dword [eax + 0xf8], 0x85
mov dword [eax + 0xfc], 0x84
mov edx, esi
mov eax, dword [ebp - 0x164]
or eax, 0xffffff80
mov byte [edx + 0x173], al
mov eax, dword [ebx + 4]
test eax, eax
je 0x43d655
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 8]
mov byte [edx + 0x15f], al
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0xd8], eax
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x43d6d9
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 0x40
jne 0x43d696
mov edx, eax
mov eax, 0x2ee
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d692
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x43d6d9
cmp edx, 1
jne 0x43d6a9
mov byte [eax + 0x161], 0x27
jmp 0x43d6e3
cmp edx, 3
jne 0x43d6b7
mov byte [eax + 0x161], 0x22
jmp 0x43d6e3
mov edx, eax
mov eax, 0x2ef
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d6d5
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x161], 0
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x43d74a
test byte [eax + 0x172], 0x40
jne 0x43d715
mov edx, eax
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d711
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x43d74a
cmp edx, 1
jne 0x43d728
and byte [eax + 0x176], 0xfd
jmp 0x43d768
mov edx, eax
mov eax, 0x2f1
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d746
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, eax
movzx eax, byte [edx + 0x176]
movzx esi, byte [edx + 0x170]
and eax, 0xfffffffd
and esi, 2
or eax, esi
mov byte [edx + 0x176], al
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x43d7bb
cmp eax, 2
je 0x43d7a1
cmp eax, 1
je 0x43d7a1
cmp eax, 3
je 0x43d7a1
mov edx, dword [ebp - 4]
mov eax, 0x2ec
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d79d
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43cd3b
test al, 0x10
jne 0x43cd3b
mov eax, dword [ebx + 0x90]
cmp eax, 5
ja case.default.0x43d7ca
jmp dword [eax*4 + 0x4d1ddc]
mov ecx, dword [ebp - 4]
and dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x178]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x172]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
jmp 0x43d988
mov ecx, dword [ebp - 4]
and dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x178]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x172]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
jmp 0x43d988
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
or edx, 2
and edx, 0xfffffffe
mov dword [ebp - 0x1c], edx
movzx eax, byte [ecx + 0x178]
and eax, 0xffffffcb
movzx edx, byte [ecx + 0x172]
or eax, 8
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
mov dword [ebp - 0x160], 0
jmp 0x43d988
mov ecx, dword [ebp - 4]
or dword [ebp - 0x1c], 2
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x178]
or eax, 4
movzx edx, byte [ecx + 0x172]
and eax, 0xffffffc7
or edx, 1
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
jmp 0x43d988
cmp dword [ebx + 0x54], 0
jne 0x43d8e7
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43d91c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x160], 0
movzx edx, byte [ecx + 0x172]
movzx eax, byte [ecx + 0x178]
or edx, 1
or eax, 4
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
jmp 0x43d988
cmp dword [ebx + 0x50], 0
je 0x43d95d
mov ecx, eax
and dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x178]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x172]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
jmp 0x43d988
mov ecx, eax
movzx eax, byte [ecx + 0x178]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x172]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x178], al
mov eax, edx
and eax, 0x40
mov ecx, dword [ebx + 0xb4]
shr eax, 6
test ecx, ecx
je 0x43d9c1
test eax, eax
jne 0x43d9c1
mov edx, dword [ebp - 4]
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d9bd
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov byte [esi + 0x167], cl
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x43d9fa
test eax, eax
jne 0x43d9fa
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43d9f6
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x169], cl
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x43da30
test eax, eax
jne 0x43da30
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43da2c
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x16b], cl
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x43da66
test eax, eax
jne 0x43da68
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43da62
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
test eax, eax
mov eax, esi
mov byte [eax + 0x16d], cl
je 0x43dac0
movzx eax, byte [eax + 0x173]
test al, 2
jne 0x43da81
test al, 1
je 0x43da92
mov eax, esi
mov dword [eax + 0x13c], 3
jmp 0x43db71
test al, 8
je 0x43daa7
mov eax, esi
mov dword [eax + 0x13c], 2
jmp 0x43db71
test al, 0x10
je 0x43db71
mov eax, esi
mov dword [eax + 0x13c], 8
jmp 0x43db71
test edx, 0x80
jne 0x43dad1
test byte [ebp - 0x164], 1
je 0x43db29
movzx eax, byte [eax + 0x173]
test al, 2
jne 0x43dae0
test al, 1
je 0x43db05
test byte [ebp - 0x164], 1
je 0x43daf7
mov eax, esi
mov dword [eax + 0x13c], 7
jmp 0x43db71
mov eax, esi
mov dword [eax + 0x13c], 0xb
jmp 0x43db71
test al, 8
je 0x43db17
mov eax, esi
mov dword [eax + 0x13c], 6
jmp 0x43db71
test al, 0x10
je 0x43db71
mov eax, esi
mov dword [eax + 0x13c], 9
jmp 0x43db71
test byte [ebp - 0x164], 2
movzx eax, byte [eax + 0x173]
je 0x43db71
test al, 2
jne 0x43db41
test al, 1
je 0x43db4f
mov eax, esi
mov dword [eax + 0x13c], 5
jmp 0x43db71
test al, 8
je 0x43db61
mov eax, esi
mov dword [eax + 0x13c], 4
jmp 0x43db71
test al, 0x10
je 0x43db71
mov eax, esi
mov dword [eax + 0x13c], 0xa
mov eax, dword [0x4f4560]
cmp dword [ebx + 0x84], 0
je 0x43db95
test eax, eax
jne 0x43db95
mov eax, 0x232
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x94], 0
je 0x43fbf0
test eax, eax
je 0x43ef7a
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x164], eax
mov eax, dword [ebx + 0x9c]
cmp eax, 1
je 0x43dc1f
test eax, eax
jne 0x43dbe4
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x20
jne 0x43dbed
push str.FORT_BUFFERED
call fcn.00427a20
add esp, 4
test eax, eax
je 0x43dc1f
jmp 0x43dbed
cmp eax, 2
jne case.default.0x43cf6e
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call fcn.0042fe10
add esp, 8
mov esi, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
sete dl
movzx ecx, byte [esi + 0x179]
shl edx, 6
and ecx, 0xffffffbf
or ecx, edx
mov byte [esi + 0x179], cl
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call fcn.0042fe10
mov dword [ebp - 0x140], eax
add esp, 8
cmp dword [ebp - 0x140], 0xffffffff
je 0x43dca9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
cmp eax, 3
jne 0x43dc5d
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c], 1
jmp 0x43dc62
cmp eax, 5
jne 0x43dc7e
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43dca9
or byte [eax + 0x172], 2
mov dword [ebp - 0x18], 3
jmp 0x43dca9
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test dl, 4
je 0x43dca9
mov eax, 0x229
test dl, 0x20
mov ebx, dword [ebp - 8]
jne 0x43dc9f
mov eax, 0x33
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4f4560]
test ecx, ecx
jne 0x43dcc8
cmp dword [ebp - 0x140], 0xfffffffa
jne 0x43dcf8
mov dword [ebp - 0x140], 1
jmp 0x43dd12
cmp dword [ebp - 0x140], 0xfffffffa
je 0x43fa32
cmp dword [ebp - 0x140], 1
je 0x43dd12
cmp dword [ebp - 0x164], 0
jne 0x43ef7a
cmp dword [ebx + 0x84], 0
jne 0x43db83
cmp dword [ebp - 0x140], 0xfffffffc
je 0x43fb61
cmp dword [ebp - 0x140], 0
jl 0x43fa1d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 1
jne 0x43dd50
cmp dword [ebp - 0x140], 0
je 0x43dd39
cmp dword [ebp - 0x140], 2
je 0x43dd39
cmp dword [ebp - 0x140], 1
jne 0x43dd50
mov edx, eax
shl ecx, 7
movzx eax, byte [edx + 0x178]
and eax, 0x7f
or eax, ecx
mov byte [edx + 0x178], al
cmp dword [ebp - 0x24], 0
je 0x43de04
cmp dword [ebx + 0xa4], 0
jne 0x43dddd
cmp dword [ebx + 0x68], 0
je 0x43f063
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x13c]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], 0
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43dda3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43dd8e
dec eax
push eax
lea edx, [ebp - 0x148]
push edx
lea edi, [ebp - 0x144]
push edi
lea ecx, [ebp - 0x14]
push ecx
lea esi, [ebp - 0x18]
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x13c]
push ecx
call dword [ebx + 0x68]
add esp, 0x24
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
jmp 0x43de0d
push dword [ebx + 0xa8]
call fcn.00473060
add esp, 4
mov esi, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], esi
mov eax, dword [ebx + 0xa8]
mov dword [edx + 0x180], eax
jmp 0x43de0d
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
cmp esi, 0xffffffff
je 0x43f780
cmp dword [ebx + 0xa4], 0
jne 0x43df3b
mov eax, dword [ebp - 4]
cmp dword [0x4f3064], 0
mov dword [eax + 0x180], 0xffffffff
je 0x43df3b
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43df3b
cmp dword [ebp - 0x24], 0
je 0x43dec3
mov edx, dword [ebp - 4]
test byte [edx + 0x178], 2
jne 0x43de71
test al, 4
je 0x43de78
movzx ecx, byte [edx + 0x172]
test ecx, 0x80
je 0x43de78
mov edx, 0x8000
jmp 0x43de7a
xor edx, edx
mov ecx, dword [ebp - 0x20]
test ecx, 0xc0000000
je 0x43de8a
or edx, 2
jmp 0x43de99
mov edi, edx
or edi, 1
test ecx, 0x40000000
je 0x43de99
mov edx, edi
cmp dword [ebx + 0x78], 1
je 0x43dea3
test al, 1
je 0x43dea6
or edx, 8
push edx
push esi
call fcn.004731d0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x180], eax
mov eax, dword [0x4f4560]
jmp 0x43df40
cmp dword [0x4f4560], 0
jne 0x43df44
cmp dword [ebp - 0x140], 1
je 0x43df1f
cmp dword [ebp - 0x140], 0
jne 0x43defa
call fcn.0046cea0
push eax
call fcn.00473530
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43df77
cmp dword [ebp - 0x140], 2
jne 0x43df77
call fcn.0046cea0
add eax, 0x40
push eax
call fcn.00473530
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43df77
call fcn.0046cea0
add eax, 0x20
push eax
call fcn.00473530
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43df77
mov eax, dword [0x4f4560]
test eax, eax
je 0x43df6e
test dword [ebp - 0x140], 0xfffffffe
je 0x43df62
cmp dword [ebp - 0x140], 0xfffffffa
je 0x43df62
cmp dword [ebp - 0x140], 2
jne 0x43df6e
mov dword [ebp - 0x164], 2
jmp 0x43df84
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x15e]
test eax, eax
jne 0x43e0b5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15c], 1
je 0x43f090
movzx edx, byte [eax + 0x171]
and edx, 6
shr edx, 1
test edx, edx
je 0x43e04d
mov ecx, dword [eax + 0x100]
add ecx, 2
cmp ecx, 0x20
jae 0x43e04d
mov eax, 1
shl eax, cl
test eax, 0x103
je 0x43e04d
cmp edx, 1
je 0x43e02d
cmp edx, 2
jne 0x43e007
mov eax, dword [ebp - 4]
mov byte [eax + 0x15e], 2
movzx ecx, byte [eax + 0x170]
movzx edx, byte [eax + 0x172]
inc dword [eax + 0xf8]
jmp 0x43e0e9
cmp edx, 3
jne case.default.0x43cf6e
mov eax, dword [ebp - 4]
mov byte [eax + 0x15e], 3
movzx ecx, byte [eax + 0x170]
movzx edx, byte [eax + 0x172]
jmp 0x43e0e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x15e], 1
movzx ecx, byte [eax + 0x170]
movzx edx, byte [eax + 0x172]
inc dword [eax + 0xf8]
jmp 0x43e0a9
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x170]
test cl, 4
movzx edx, byte [eax + 0x172]
je 0x43e089
cmp dword [eax + 0x13c], 1
je 0x43e09c
test dl, 0x40
je 0x43e07a
cmp dword [ebp - 0x164], 2
je 0x43e09c
mov byte [eax + 0x15e], 2
inc dword [eax + 0xf8]
jmp 0x43e0e9
test dl, 0x40
je 0x43e07a
cmp dword [ebp - 0x164], 2
jne 0x43e07a
test cl, 1
je 0x43e07a
mov byte [eax + 0x15e], 1
inc dword [eax + 0xf8]
mov eax, dword [ebp - 4]
add dword [eax + 0xf8], 5
jmp 0x43e0e9
mov edx, dword [ebp - 4]
cmp eax, 3
movzx ecx, byte [edx + 0x170]
movzx edx, byte [edx + 0x172]
je 0x43e0e9
mov esi, dword [ebp - 4]
movsx edi, byte [esi + 0x15c]
cmp edi, 1
je 0x43e0e0
inc dword [esi + 0xf8]
cmp eax, 1
je 0x43f772
test cl, 1
je 0x43e109
mov eax, dword [ebp - 4]
test byte [eax + 0x173], 8
je 0x43e109
cmp byte [eax + 0x15d], 2
jne 0x43e109
inc dword [eax + 0xf8]
test cl, 4
je 0x43e12d
mov eax, dword [ebp - 4]
and edx, 0x40
shr edx, 6
test byte [eax + 0x173], 8
je 0x43e133
test edx, edx
je 0x43e133
add dword [eax + 0xf8], 2
jmp 0x43e133
and edx, 0x40
shr edx, 6
cmp dword [ebp - 0x164], 1
jne 0x43e14b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x174]
or eax, 8
jmp 0x43e158
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x174]
and eax, 0xfffffff7
mov ecx, dword [ebp - 4]
test edx, edx
mov byte [ecx + 0x174], al
je 0x43e269
push dword [ebp - 4]
call fcn.00435200
add esp, 4
test eax, eax
jne 0x43ca1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x43e269
cmp byte [eax + 0x1e], 0
je 0x43e269
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x164], eax
movzx eax, byte [eax + 0x175]
test al, 0x40
je 0x43e1bb
mov edx, dword [ebp - 0x164]
cmp byte [edx + 0x15e], 1
je 0x43f0c9
push dword [ebp - 0x164]
call fcn.004240a0
add esp, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x43e1d7
mov byte [edx + 0x1e], 0
test eax, eax
je 0x43e24e
mov edx, dword [ebp - 0x164]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x43f112
test byte [edx + 0x44], 2
je 0x43e223
mov ecx, dword [ebp - 0x164]
mov dword [edx + 0x38], eax
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x43e216
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x164]
push eax
push eax
movzx edx, byte [ecx + 0x174]
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0042b280
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x164]
add dword [eax + 0x98], 1
adc dword [eax + 0x9c], 0
and byte [eax + 0x177], 0xfb
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
je 0x43e295
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
jne 0x43e295
mov eax, 0x33
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0
je 0x43ebab
cmp dword [ebx + 0x58], 5
je 0x43f627
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x43eb9a
cmp eax, 2
je 0x43eb9a
cmp eax, 3
jne 0x43e2f5
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov byte [edx + 0x173], al
mov dword [edx + 0x98], 1
mov dword [edx + 0x9c], 0
jmp 0x43ebab
cmp eax, 1
jne 0x43e4c8
cmp dword [ebx + 0x58], 5
je 0x43f5fd
mov eax, dword [ebp - 4]
test byte [eax + 0x174], 8
jne 0x43e320
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, eax
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov dword [ebp - 0x164], eax
mov eax, 0xffffffff
mov ecx, edx
mov esi, dword [ebp - 0x164]
sub ecx, eax
sub esi, eax
or esi, ecx
je 0x43f5bb
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x164]
movzx eax, byte [esi + 0x173]
and byte [esi + 0x177], 0xfb
and eax, 0xfffffffe
mov dword [esi + 0x98], 0x80000000
mov dword [esi + 0x9c], 0xffffffff
mov byte [esi + 0x173], al
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
cmp dword [esi + 0x13c], 5
je 0x43ebab
mov eax, esi
movsx edx, byte [eax + 0x15c]
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x43e3bd
jmp dword [eax*4 + 0x4d1df4]
cmp edx, 7
je 0x43f2f7
cmp edx, 5
je 0x43f2c4
mov dword [ebp - 0x160], 3
mov edx, esi
mov eax, dword [edx + 0xe4]
call fcn.0043fe70
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], edx
mov esi, dword [ebp - 0x160]
mov edx, 1
neg esi
mov dword [esp + 4], esi
mov dword [esp + 8], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xe4]
call fcn.0043fe10
mov dword [ebp - 0x15c], eax
mov eax, 0xffffffff
mov ecx, edx
mov edi, dword [ebp - 0x15c]
sub ecx, eax
sub edi, eax
or edi, ecx
je 0x43e537
mov ecx, dword [ebp - 0x158]
sub ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x164]
sbb eax, edx
neg ecx
neg eax
xor edx, edx
add ecx, dword [ebp - 0x160]
add eax, edx
or ecx, eax
jne 0x43e537
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43e47f
cmp dword [ebx + 0x68], 0
je 0x43f131
push 0
mov ecx, eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
je 0x43f2a3
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x150]
jne 0x43e4d7
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
mov edx, esi
mov eax, dword [edx + 0xe4]
call fcn.0043fe70
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], edx
mov dword [esp + 4], 0xfffffffc
mov edx, 1
mov dword [esp + 8], 0xffffffff
mov ecx, esi
mov eax, dword [ecx + 0xe4]
call fcn.0043fe10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43e5fe
mov esi, dword [ebp - 0x160]
mov ecx, 4
sub esi, eax
mov eax, dword [ebp - 0x164]
sbb eax, edx
sub esi, ecx
or esi, eax
je 0x43e65e
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43e674
cmp dword [ebx + 0x68], 0
je 0x43f315
push 0
mov ecx, eax
lea eax, [ebp - 0x150]
push eax
push 4
lea edx, [ebp - 0x15c]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43f2a3
cmp dword [ebp - 0x150], 4
jne 0x43e6d2
movzx eax, byte [ebp - 0x15b]
shl eax, 8
movzx edx, byte [ebp - 0x15c]
or edx, eax
cmp edx, 1
je 0x43f3ae
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
mov edx, esi
mov eax, dword [edx + 0xe4]
call fcn.0043fe70
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], edx
mov dword [esp + 4], 0xfffffff7
mov edx, 1
mov dword [esp + 8], 0xffffffff
mov ecx, esi
mov eax, dword [ecx + 0xe4]
call fcn.0043fe10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43e8b4
mov ecx, dword [ebp - 0x160]
sub ecx, eax
mov eax, dword [ebp - 0x164]
sbb eax, edx
mov edx, 9
sub ecx, edx
or ecx, eax
jne 0x43e8b4
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43e7b7
cmp dword [ebx + 0x68], 0
je 0x43f409
push 0
mov ecx, eax
lea eax, [ebp - 0x150]
push eax
push 9
lea edx, [ebp - 0x15c]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43f2a3
cmp dword [ebp - 0x150], 9
jne 0x43e854
mov eax, dword [ebp - 4]
movzx esi, byte [ebp - 0x157]
movzx edx, byte [ebp - 0x156]
movzx ecx, byte [ebp - 0x155]
movzx edi, byte [ebp - 0x154]
test byte [eax + 0x175], 0x20
je 0x43e823
shl ecx, 8
shl edx, 0x10
or edi, ecx
shl esi, 0x18
or edi, edx
or edi, esi
jmp 0x43e832
shl edx, 8
shl ecx, 0x10
or esi, edx
shl edi, 0x18
or esi, ecx
or edi, esi
cmp edi, 1
jne 0x43e314
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
mov edx, esi
mov eax, dword [edx + 0xe4]
call fcn.0043fe70
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], edx
mov edi, esi
xor ecx, ecx
xor esi, esi
mov edx, 1
sub esi, dword [edi + 0xf8]
mov eax, dword [edi + 0xe4]
mov dword [esp + 4], esi
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.0043fe10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43e98c
mov ecx, dword [ebp - 0x160]
sub ecx, eax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x164]
sbb eax, edx
neg ecx
neg eax
xor edx, edx
mov esi, dword [esi + 0xf8]
add ecx, esi
add eax, edx
or ecx, eax
je 0x43e9ec
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov edx, esi
movzx eax, byte [edx + 0x173]
and eax, 0xfffffffe
and byte [edx + 0x177], 0xfb
mov dword [edx + 0x98], 0x80000000
mov dword [edx + 0x9c], 0xffffffff
mov byte [edx + 0x173], al
jmp 0x43ebab
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call fcn.0040fc60
add esp, 0xc
test eax, eax
jne 0x43ca1c
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43ea1c
cmp dword [ebx + 0x68], 0
je 0x43f4d4
mov edx, eax
lea eax, [ebp - 0x150]
push 0
push eax
push dword [edx + 0xf8]
push dword [ebp - 0x160]
push dword [edx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43f2a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
cmp eax, dword [ebp - 0x150]
jne 0x43eb06
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 0x172]
test ecx, 0x80
jne 0x43ea81
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
push 0xdfe
push str.for_nt_open_proc.c
push 2
push 8
call fcn.00412330
add esp, 0x10
mov eax, esi
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
mov eax, dword [ebp - 4]
or byte [eax + 0x177], 4
movzx eax, byte [eax + 0x173]
test al, 1
je 0x43ec52
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
je 0x43ec7f
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov eax, esi
cmp dword [eax + 0x13c], 7
jne 0x43ec2a
mov ecx, 0xffffffff
mov edx, 1
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xe4]
call fcn.0043fe10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43f248
mov eax, esi
mov dword [eax + 0x98], 0x80000000
mov dword [eax + 0x9c], 0xffffffff
and byte [eax + 0x177], 0xfb
movzx eax, byte [eax + 0x173]
test al, 1
jne 0x43ec7f
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
je 0x43ec7f
test byte [edx + 0x170], 4
je 0x43ec6b
test al, 8
jne 0x43ec7f
test byte [edx + 0x172], 0x40
jne 0x43ec78
test al, 4
jne 0x43ec7f
or byte [edx + 0x175], 8
test eax, 0x80
jne 0x43ec98
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xf8]
mov word [edx + 0x158], ax
jmp 0x43eccf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 1
je 0x43f739
test byte [eax + 0x170], 4
je 0x43ecc1
mov edx, eax
mov eax, 0x4f
mov word [edx + 0x158], ax
jmp 0x43eccf
mov edx, eax
mov eax, 0x50
mov word [edx + 0x158], ax
mov edx, dword [ebx + 0x14]
test edx, edx
jle 0x43f6fa
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
movzx ecx, byte [ecx + 0x170]
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x43ecff
cmp eax, 0x7ffffe00
jle 0x43ecff
mov eax, 0x7ffffe00
jmp 0x43ed07
test eax, eax
jle 0x43f6af
add eax, 0x1ff
and eax, 0xfffffe00
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 4]
test byte [ecx + 0x173], 8
je 0x43ed89
mov edx, ecx
test byte [edx + 0x170], 4
je 0x43ed3d
movzx edx, byte [ecx + 0x179]
and edx, 0xffffffbf
mov byte [ecx + 0x179], dl
jmp 0x43ed44
movzx edx, byte [edx + 0x179]
test dl, 0x40
mov esi, dword [ecx + 0xf8]
mov dword [ebp - 0x164], esi
je 0x43ed83
cmp eax, dword [ebp - 0x164]
jae 0x43ed61
mov ecx, esi
mov eax, ecx
jmp 0x43eda3
imul edx, eax
mov esi, dword [ecx + 0xf8]
mov dword [ebp - 0x164], esi
lea ecx, [esi + 4]
cmp ecx, edx
ja 0x43eda1
mov ecx, edx
mov eax, ecx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x172]
test edx, 0x80
je 0x43edcd
mov esi, dword [ebp - 4]
cmp byte [esi + 0x15c], 3
je 0x43f671
mov esi, dword [ebp - 4]
mov dword [esi + 0xec], eax
mov ecx, esi
test dl, 0x40
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x140], eax
je 0x43ee88
mov eax, 0x234
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23f
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43efab
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43efce
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43eff1
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43f014
mov eax, 0x30
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x58], 0
jne 0x43c9d0
mov dword [ebx + 0x58], 3
jmp 0x43c9d0
mov ebx, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
or dword [ebp - 0x14], 0x8000000
movzx eax, byte [edx + 0x15c]
movsx ecx, byte [edx + 0x15d]
jmp 0x43d1f5
push edi
call fcn.00472b70
add esp, 4
cmp eax, esi
je 0x43f02e
jmp 0x43d1c2
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
jmp 0x43de0d
movzx ecx, byte [eax + 0x170]
test cl, 4
movzx edx, byte [eax + 0x172]
je 0x43f0bd
test byte [eax + 0x173], 8
je 0x43f0bd
test dl, 0x40
je 0x43f0bd
mov byte [eax + 0x15e], 2
jmp 0x43e0e9
mov byte [eax + 0x15e], 3
jmp 0x43e0e9
mov ecx, dword [edx + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x43f0ff
cmp edx, 0x2b
jne 0x43f0eb
mov eax, dword [ebp - 0x164]
mov byte [ecx + 5], 0
movzx eax, byte [eax + 0x175]
mov edx, dword [ebp - 0x164]
and eax, 0xffffffbf
mov byte [edx + 0x175], al
jmp 0x43e1bb
mov eax, dword [ebp - 0x164]
mov byte [ecx + 5], 0x24
movzx eax, byte [eax + 0x175]
jmp 0x43f0eb
push dword [ebp - 0x164]
push eax
push eax
push 1
call fcn.00410280
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0xffffffff
je 0x43f1c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x78
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x1e
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, esi
movsx eax, byte [eax + 0x15e]
cmp eax, 3
je 0x43f2e8
xor edx, edx
cmp eax, 2
setne dl
add edx, 2
mov dword [ebp - 0x160], edx
jmp 0x43e3e0
mov dword [ebp - 0x160], 1
jmp 0x43e3e0
mov eax, esi
cmp byte [eax + 0x15e], 3
jne 0x43e3d6
mov dword [ebp - 0x160], 2
jmp 0x43e3e0
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0xffffffff
je 0x43f2a3
mov dword [esp + 4], 0xfffffffc
mov edx, 1
mov dword [esp + 8], 0xffffffff
call fcn.0043fe10
push 0
lea eax, [ebp - 0x150]
push eax
push 4
lea edx, [ebp - 0x15c]
push edx
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0xe4]
call fcn.0043fe10
jmp 0x43e696
cmp byte [ebp - 0x15a], 0x1a
je 0x43f3c6
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f2a3
mov eax, edi
mov edx, 2
mov dword [esp + 4], 0xfffffff7
mov dword [esp + 8], 0xffffffff
call fcn.0043fe10
push 0
lea eax, [ebp - 0x150]
push eax
push 9
lea edx, [ebp - 0x15c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0xe4]
call fcn.0043fe10
jmp 0x43e7d9
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0xffffffff
je 0x43f2a3
mov ecx, dword [ebp - 4]
xor esi, esi
xor edi, edi
mov edx, 2
sub edi, dword [ecx + 0xf8]
mov dword [esp + 4], edi
sbb esi, 0
mov dword [esp + 8], esi
call fcn.0043fe10
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x150]
push 0
push eax
push dword [edx + 0xf8]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0xe4]
call fcn.0043fe10
jmp 0x43ea41
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe4]
call fcn.0043fe70
or eax, edx
jne 0x43f5dc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x78
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x80000000
mov dword [eax + 0x9c], 0xffffffff
and byte [eax + 0x177], 0xfb
movzx eax, byte [eax + 0x173]
jmp 0x43ebab
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x43f649
mov eax, dword [ebp - 4]
and byte [eax + 0x175], 0xf7
jmp 0x43e2a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x26
mov edi, dword [ebp - 0x10]
and byte [edx + 0x175], 0xf7
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x43f6bc
mov dword [ebx + 0x10], 0x400
jmp 0x43f6d6
mov eax, dword [0x4ee74c]
cmp eax, 0xfffffffe
je 0x43f6e8
test eax, eax
je 0x43f6cf
cmp eax, 0xffffffff
jne 0x43f6e0
mov dword [ebx + 0x10], 0x20000
mov eax, 0x2000
jmp 0x43ed14
mov dword [ebx + 0x10], eax
jmp 0x43ed14
mov eax, 0x6a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4ee750]
cmp edx, 0xfffffffe
je 0x43f727
test edx, edx
je 0x43f70e
cmp edx, 0xffffffff
jne 0x43f71f
mov dword [ebx + 0x14], 1
mov edx, 1
jmp 0x43ecda
mov dword [ebx + 0x14], edx
jmp 0x43ecda
mov eax, 0x6b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x170], 4
je 0x43f749
mov edx, 0x50
jmp 0x43f74e
mov edx, 0x51
cmp byte [eax + 0x15c], 1
je 0x43f766
add edx, 4
mov word [eax + 0x158], dx
jmp 0x43eccf
mov word [eax + 0x158], dx
jmp 0x43eccf
cmp edi, 1
jne 0x43e0a9
jmp 0x43e0e9
cmp dword [ebx + 0xa4], 0
je 0x43f86d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.004737c0
mov dword [eax], ebx
cmp ebx, 2
jge 0x43f841
cmp ebx, 0x7b
je 0x43fd54
cmp ebx, 0xa1
je 0x43fd54
cmp ebx, 0xce
je 0x43fd54
cmp ebx, 0xb7
je 0x43fdbf
cmp ebx, 0x50
je 0x43fdbf
cmp ebx, 0x13
je 0x43fd66
cmp ebx, 5
je 0x43fd66
cmp ebx, 0x14
je 0x43f82f
cmp ebx, 0xf
je 0x43f82f
cmp ebx, 4
jne 0x43f814
mov edx, dword [ebp - 4]
mov eax, 0x25b
test byte [edx + 0x170], 0x20
jne 0x43f822
mov eax, 0x1e
jmp 0x43f822
mov eax, dword [ebp - 4]
mov dword [eax + 0xe8], ebx
mov eax, 0x1e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jg 0x43f7a5
mov edx, dword [ebp - 4]
mov eax, 0x25a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43f869
mov eax, 0x1d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 1
je 0x43f886
test byte [eax + 0x171], 0x40
je 0x43f78d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
cmp eax, 0x13
movzx edx, byte [edx + 0x170]
je 0x43f8a5
cmp eax, 5
je 0x43f8a5
test dl, 4
je 0x43f91c
test dl, 1
jne 0x43f91c
cmp dword [ebp - 0x15c], 0
je 0x43f91c
mov edx, dword [ebp - 4]
test byte [edx + 0x171], 0x40
jne 0x43f91c
test byte [edx + 0x176], 1
jne 0x43f91c
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
push dword [ebp - 0x1c]
or edx, 0x80000000
push edx
mov dword [ebp - 0x20], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
mov dword [eax + 0xe4], esi
je 0x43f9cf
or byte [eax + 0x171], 0x40
or byte [eax + 0x177], 0x10
jmp 0x43f9c1
cmp eax, 0x20
jne 0x43f9b8
cmp dword [ebp - 0x160], 0
je 0x43f9b8
cmp dword [ebp - 0x15c], 0
jne 0x43f94f
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43f94f
mov esi, dword [eax + 0xe4]
jmp 0x43f9c1
xor eax, eax
lea esi, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
and ecx, 0x3fffffff
or edx, 2
or ecx, 0x80000000
push edx
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
mov dword [eax + 0xe4], esi
je 0x43f78d
or byte [eax + 0x171], 0x40
or byte [eax + 0x177], 0x10
or byte [eax + 0x172], 1
or byte [eax + 0x178], 4
jmp 0x43de16
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
cmp esi, 0xffffffff
je 0x43f78d
jmp 0x43de16
test byte [eax + 0x170], 4
je 0x43f909
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
push dword [ebp - 0x1c]
or edx, 0x40000000
push edx
mov dword [ebp - 0x20], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
or byte [eax + 0x176], 1
jmp 0x43f9c1
test ecx, ecx
je 0x43dd50
cmp dword [ebp - 0x140], 0xfffffffa
jne 0x43dd50
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], 0
or byte [eax + 0x178], 0x80
cmp dword [ebx + 0x84], 0
je 0x43fa5e
cmp dword [ebx + 0x88], 0
jne 0x43fa5e
and byte [eax + 0x179], 0xfe
jmp 0x43fa65
or byte [eax + 0x179], 1
mov eax, dword [ebp - 0x164]
test eax, eax
lea edx, [ebp - 0x14c]
jne 0x43fa7a
mov eax, 0x100
push edx
push 0
mov dword [ebp - 0x164], eax
lea ecx, [eax + 1]
push ecx
call fcn.0040fc60
add esp, 0xc
test eax, eax
jne 0x43ca1c
cmp dword [ebx + 0x98], 0
jne 0x43fabe
mov eax, dword [ebp - 4]
push dword [eax + 0x100]
push str.Unit__i
push dword [ebp - 0x14c]
call fcn.0046c0a0
add esp, 0xc
jmp 0x43fae8
push dword [ebp - 0x164]
push dword [ebx + 0x94]
push dword [ebp - 0x14c]
call fcn.0046bf70
add esp, 0xc
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x164]
mov byte [eax + edx], 0
push dword [ebp - 0x14c]
call fcn.004b7d80
add esp, 4
mov edx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [edx + 0xe4], eax
je 0x43fde2
test byte [edx + 0x179], 1
je 0x43fb3e
push eax
call fcn.004b7e40
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call fcn.004b7dc0
add esp, 8
test eax, eax
jne 0x43fb3e
mov eax, 0x28e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14c]
call fcn.0040fd20
add esp, 4
test eax, eax
je 0x43dd50
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x15a]
cmp edx, 4
jge 0x43fbaf
push dword [eax + 0x60]
call fcn.0040fd20
add esp, 4
test eax, eax
je 0x43fb8c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x158]
push 0
push 5
call fcn.0040fc60
add esp, 0xc
test eax, eax
je 0x43fbaf
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0x314d4f43
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x43fbcc
mov edx, dword [ebp - 4]
mov eax, 4
mov ecx, dword [0x4f4560]
mov word [edx + 0x15a], ax
jmp 0x43fa1d
test eax, eax
jne 0x43fc0c
push str.USER
lea eax, [ebp - 0x13c]
push eax
call fcn.00472770
add esp, 8
test eax, eax
je 0x43fc1b
mov dword [ebp - 0x164], 0
jmp 0x43dbb6
mov dword [ebp - 0x13c], 0x4e4f43
mov eax, esi
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x43fc30
mov edx, dword [ebp - 4]
mov eax, 3
mov dword [ebp - 0x164], 0
mov word [edx + 0x15a], ax
jmp 0x43dbb6
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 1
je 0x43d3a9
mov edx, eax
movzx eax, byte [edx + 0x173]
and eax, 0xffffffdf
mov byte [edx + 0x173], al
jmp 0x43d3bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 3
je 0x43d31e
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 0x10
je 0x43d114
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 3
mov ecx, 3
jmp 0x43d123
mov edx, ecx
test byte [edx + 0x170], 4
je 0x43fcf1
test byte [edx + 0x173], 8
je 0x43fcf1
test byte [edx + 0x172], 0x40
je 0x43fcf1
mov byte [edx + 0x15e], 2
jmp 0x43d060
movsx edx, al
cmp edx, 4
je 0x43fd36
cmp edx, 1
je 0x43fd36
movzx esi, byte [ecx + 0x172]
test esi, 0x80
jne 0x43fd36
movzx ecx, byte [ecx + 0x178]
test cl, 1
jne 0x43fd36
test cl, 2
jne 0x43fd36
test esi, 0x40
je 0x43d060
add edx, 0xfffffffb
cmp edx, 3
ja 0x43d060
mov edx, dword [ebp - 4]
mov byte [edx + 0x15e], 3
jmp 0x43d060
mov dword [ebp - 0x15c], 1
jmp 0x43cbbe
mov eax, 0x2b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x258
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43fd85
mov eax, 9
mov esp, ebp
pop ebp
ret
mov eax, 0x64
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x63
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x25
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x259
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43fdde
mov eax, 0xa
mov esp, ebp
pop ebp
ret
mov eax, 0x258
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x170], 0x20
mov edi, dword [ebp - 0x10]
jne 0x43fdfe
mov eax, 9
mov esp, ebp
pop ebp
ret