Function at 0x449228
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, 0x168
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ebx
mov ebx, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], 0x101
test byte [edx + 0x178], 4
je 0x449277
cmp dword [ebx + 0x80], 0
jne 0x449277
cmp dword [ebx + 0x2c], 0
je 0x44c948
cmp dword [ebx + 0xa4], 0
je 0x449289
mov byte [ebp - 0x140], 0
jmp 0x4492c9
add esp, 0xfffffff0
mov esi, dword [ebx + 0x58]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x3c], esi
lea esi, [ebp - 0x28]
mov dword [esp + 0xc], esi
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], edi
call fcn.00447f1c
add esp, 0x10
test eax, eax
jne 0x449311
lea ecx, [ebp - 0x140]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4492e6
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4492d1
dec eax
mov edx, eax
mov eax, dword [ebp - 4]
movsx esi, dx
add esi, 0xa
mov word [eax + 0x162], dx
lea ecx, [eax + 0x60]
push ecx
push 0
push esi
mov dword [ebp - 0x154], ecx
call fcn.00431e20
add esp, 0xc
test eax, eax
je 0x44931e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x140]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x44932a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
or edx, dword [eax + 0xa4]
jne 0x449359
mov dword [eax + 0xa0], 1
mov dword [eax + 0xa4], 0
cmp dword [ebx + 0x44], 0
je 0x44937d
or byte [eax + 0x179], 0x40
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0x80000000
or byte [eax + 0x17f], 0x10
jmp 0x44938b
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0xc0000000
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x44c939
cmp eax, 2
je 0x44943a
cmp eax, 1
jne 0x4493d6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], 0
or byte [eax + 0x179], 0x40
mov edx, dword [ebp - 0x24]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x449460
cmp eax, 3
jne 0x449417
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
mov dword [ebp - 0x158], 0
or byte [eax + 0x17e], 1
mov edx, dword [ebp - 0x24]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x449460
mov edx, dword [ebp - 4]
mov eax, 0x2ed
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x449436
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
xor eax, eax
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0xc0000000
mov dword [ebp - 0x158], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x449538
cmp eax, 2
je 0x449512
cmp eax, 1
jne 0x4494ae
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], 0
or byte [eax + 0x179], 0x40
mov edx, dword [ebp - 0x24]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x449538
cmp eax, 3
jne 0x4494ef
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
mov dword [ebp - 0x158], 0
or byte [eax + 0x17e], 1
mov edx, dword [ebp - 0x24]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x449538
mov edx, dword [ebp - 4]
mov eax, 0x23b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44950e
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
xor eax, eax
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0xc0000000
mov dword [ebp - 0x158], eax
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x449543
jmp dword [eax*4 + 0x4ee7b8]
mov eax, dword [ebp - 4]
or byte [eax + 0x17b], 4
and byte [eax + 0x178], 0x7b
jmp case.0x449543.0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x17b]
or eax, 0x10
mov byte [edx + 0x17b], al
jmp 0x4495ba
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
mov edx, eax
movzx eax, byte [edx + 0x17b]
or eax, 3
mov byte [edx + 0x17b], al
jmp 0x4495ba
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x17b]
or eax, 8
mov byte [edx + 0x17b], al
jmp 0x4495ba
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x17b]
or eax, 2
mov byte [edx + 0x17b], al
mov edx, dword [ebx + 0x58]
cmp edx, 5
ja case.default.0x4495c6
jmp dword [edx*4 + 0x4ee7d0]
test al, 1
je 0x4495ef
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
jne 0x4495ef
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
or dword [ebp - 0x1c], 2
or dword [ebp - 0x18], 0x4000002
or byte [eax + 0x17a], 4
jmp 0x44969e
test al, 1
je 0x44962b
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
jne 0x44962b
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
or dword [ebp - 0x1c], 1
jmp 0x44969e
mov eax, dword [ebp - 4]
or byte [eax + 0x17a], 2
or dword [ebp - 0x1c], 3
jmp 0x44969e
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
je case.0x4495c6.4
push str.USER
lea eax, [ebp - 0x140]
push eax
call fcn.004803a0
add esp, 8
test eax, eax
jne case.0x4495c6.4
mov eax, dword [ebp - 4]
or byte [eax + 0x17a], 8
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
je 0x449684
test byte [eax + 0x178], 4
je 0x44968d
test byte [eax + 0x17f], 0x10
je case.0x4495c6.5
or byte [eax + 0x17a], 2
or dword [ebp - 0x1c], 3
jmp 0x44969e
or dword [ebp - 0x1c], 4
mov eax, dword [ebx + 0x28]
cmp eax, 6
ja case.default.0x449810
jmp dword [eax*4 + 0x4ee7e8]
mov eax, dword [ebp - 4]
test byte [eax + 0x17a], 4
je case.0x4496aa.2
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17a]
test al, 4
jne 0x4495dd
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x17a], al
jmp case.0x4496aa.0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17a]
test al, 4
jne 0x4495dd
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x17a], al
jmp case.0x4496aa.0
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x4495dd
mov edx, eax
movzx eax, byte [edx + 0x17a]
or eax, 8
mov byte [edx + 0x17a], al
mov edx, dword [ebx + 0x28]
cmp edx, 5
jne 0x44974a
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x17a], al
jmp case.0x4496aa.0
cmp edx, 6
jne case.0x4496aa.0
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x17a], al
jmp case.0x4496aa.0
mov eax, dword [ebp - 4]
test byte [eax + 0x17a], 4
je case.0x4496aa.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x34]
cmp eax, 4
ja case.default.0x449787
jmp dword [eax*4 + 0x4ee804]
mov eax, dword [ebp - 4]
or byte [eax + 0x180], 2
jmp 0x4497f9
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x178]
test edx, 0x80
jne 0x4497e6
or byte [eax + 0x17a], 0x80
jmp 0x4497f9
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17b]
test al, 8
jne 0x4497cb
test al, 0x10
jne 0x4497cb
test al, 4
je case.0x449787.1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x178]
test edx, 0x80
jne 0x4497e6
or byte [eax + 0x17a], 0x80
jmp 0x4497f9
or byte [eax + 0x180], 1
jmp 0x4497f9
mov eax, dword [ebp - 4]
or byte [eax + 0x17a], 0x40
mov edx, eax
mov eax, dword [ebx + 0x4c]
mov byte [edx + 0x166], al
mov edx, dword [ebx + 0x4c]
cmp edx, 8
ja case.default.0x449810
jmp dword [edx*4 + 0x4ee818]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x17b]
test dl, 8
jne 0x44983c
test dl, 0x10
jne 0x44983c
test dl, 4
jne 0x44983c
mov edx, dword [ebp - 4]
test byte [edx + 0x17a], 0x40
je case.0x449810.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x166], 4
mov eax, 4
jmp case.0x449810.0
mov edx, dword [ebp - 4]
test byte [edx + 0x17b], 4
je case.0x449810.0
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ecx + 0x168], dl
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x44c8bc
cmp edx, 1
je 0x4498f3
cmp edx, 2
jne 0x4498cc
mov edx, ecx
test byte [edx + 0x17b], 4
jne 0x4495dd
test byte [edx + 0x17a], 0x40
je 0x449902
movsx edx, al
add edx, 0xfffffffb
cmp edx, 3
ja 0x449902
mov edx, ecx
mov byte [edx + 0x168], 3
jmp 0x449902
cmp edx, 3
je 0x449902
mov edx, ecx
mov eax, 0x2f2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x4498ef
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, ecx
test byte [edx + 0x17b], 4
jne 0x4495dd
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x44c895
cmp edx, 1
je 0x449980
cmp edx, 2
jne 0x449933
mov eax, dword [ebp - 4]
test byte [eax + 0x17b], 0x10
jne 0x4495dd
mov byte [eax + 0x167], 2
jmp 0x4499ce
cmp edx, 3
jne case.default.0x449810
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x17b]
test dl, 8
jne 0x4495dd
test dl, 1
jne 0x4495dd
test dl, 4
jne 0x4495dd
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x167], 3
mov ecx, 3
jmp 0x4499c5
mov eax, 0x30
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x17b]
test dl, 8
je 0x4499ad
movsx ecx, al
cmp ecx, 1
je 0x4499ad
test ecx, ecx
je 0x4499ad
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test dl, 0x10
jne 0x4495dd
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x167], 1
mov ecx, 1
test dl, 8
je 0x449b0f
mov edi, dword [ebp - 0x14]
mov eax, edi
add eax, 0x13
and eax, 0xfffffffc
call fcn.0047adc0
mov eax, esp
and eax, 0xfffffff0
add eax, 0x10
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x15c]
call fcn.004cda30
add esp, 0xc
push str.FOR_DO_NOT_CACHE_DIRECT_FILE
push dword [ebp - 0x14]
push dword [ebp - 0x15c]
lea edx, [ebp - 0x14]
push edx
call fcn.0047cd40
add esp, 0x10
cmp dword [ebp - 0x15c], 0
je 0x449ae7
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x108]
mov dword [ebp - 0x168], ecx
mov ecx, dword [ebp - 0x15c]
cmp byte [ecx], 0x20
je 0x449a47
mov edx, ecx
movsx edx, byte [edx]
jmp 0x449a50
inc ecx
movsx edx, byte [ecx]
cmp edx, 0x20
je 0x449a47
mov esi, ecx
cmp edx, 0x20
je 0x449a64
test edx, edx
je 0x449a64
inc esi
movsx edx, byte [esi]
cmp edx, 0x20
jne 0x449a57
push 0x4ee894
push ecx
mov byte [esi], 0
call fcn.00486c10
add esp, 8
mov esi, eax
test esi, esi
je 0x449ae7
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], edi
mov ebx, dword [ebp - 0x168]
push 0x2d
push esi
call fcn.004806b0
mov edi, eax
add esp, 8
test edi, edi
je 0x44bae6
push esi
mov byte [edi], 0
call fcn.00486df0
add esp, 4
inc edi
push edi
mov esi, eax
call fcn.00486df0
add esp, 4
cmp ebx, esi
jl 0x449ac6
cmp ebx, eax
jle 0x44baf7
push 0x4ee894
push 0
call fcn.00486c10
add esp, 8
mov esi, eax
test esi, esi
jne 0x449a8d
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x160]
or dword [ebp - 0x18], 0x10000000
mov eax, edi
mov edx, dword [ebp - 0x15c]
add eax, 0x13
and eax, 0xfffffffc
add esp, eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x166]
movsx ecx, byte [edx + 0x167]
and ecx, 0xfffffffe
cmp dword [ebx + 0x4c], 0
jne 0x449b4b
cmp ecx, 2
je 0x449b34
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x17b]
test dl, 8
jne 0x449b31
test dl, 0x10
je 0x449b60
cmp ecx, 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x166], 1
mov eax, 1
je 0x449be0
jmp 0x449b54
cmp ecx, 2
je 0x449be0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x17b]
jmp 0x449bd6
movzx eax, byte [eax + 0x180]
test al, 1
jne 0x449b8a
test al, 2
jne 0x449b8a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17a]
and eax, 0x80
shr eax, 7
test dl, 4
je 0x449b9b
test eax, eax
je 0x449bb0
mov eax, dword [ebp - 4]
mov byte [eax + 0x166], 5
mov eax, 5
jmp 0x449bd6
test eax, eax
je 0x449bb0
mov eax, dword [ebp - 4]
mov byte [eax + 0x166], 4
mov eax, 4
jmp 0x449bd6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x168], 3
je 0x449bca
mov byte [eax + 0x166], 8
mov eax, 8
jmp 0x449bd6
mov byte [eax + 0x166], 5
mov eax, 5
test dl, 8
jne 0x449be0
test dl, 0x10
je 0x449bfa
movsx edx, al
cmp edx, 1
je 0x449bfd
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx edx, al
mov eax, dword [ebp - 4]
test byte [eax + 0x180], 1
je 0x449c2f
movzx eax, byte [eax + 0x17b]
test al, 1
jne 0x449c18
test al, 2
je 0x449c2f
cmp edx, 5
je 0x449c38
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp edx, 4
je 0x44c873
or dword [ebp - 0x20], 1
cmp dword [ebx + 0x54], 0
jne 0x449c4e
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
je 0x449c6f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x164], 0
or byte [eax + 0x17a], 1
and byte [eax + 0x180], 0xfb
or dword [ebp - 0x20], 2
jmp 0x449c79
mov dword [ebp - 0x164], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x449cb9
cmp eax, 1
je 0x449cad
cmp eax, 2
je 0x449cc3
mov edx, dword [ebp - 4]
mov eax, 0x23d
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x449ca9
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x17b]
jmp 0x449cd6
cmp dword [ebp - 0x38], 0
je 0x44c84e
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x17b]
or edx, 0x20
mov byte [eax + 0x17b], dl
and edx, 4
mov esi, dword [ebx + 0x48]
shr edx, 2
test esi, esi
je 0x449cf9
test edx, edx
je 0x449d46
mov eax, 0x70
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x449e4a
test byte [eax + 0x17a], 0x40
je 0x449d23
mov esi, dword [0x512964]
cmp esi, 0xfffffffe
je 0x44c993
cmp esi, 0xffffffff
jne 0x449d3b
jmp 0x449e4a
mov esi, dword [0x512968]
cmp esi, 0xfffffffe
je 0x44c9a5
cmp esi, 0xffffffff
je 0x449e4a
mov dword [ebx + 0x48], esi
test esi, esi
je 0x449e4a
mov edx, eax
test byte [edx + 0x178], 4
je 0x449d7d
test esi, esi
jle 0x449d6b
mov eax, esi
mov ecx, 0xfffffffa
cdq
mov eax, esi
xor edi, edi
sub eax, ecx
sbb edx, edi
jl 0x449d85
or eax, edx
je 0x449d85
mov eax, 0x245
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x44c9b7
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 0x17a]
and ecx, 0x80
shr ecx, 7
mov dword [edx + 0x104], esi
test ecx, ecx
je 0x449dba
test byte [edx + 0x17c], 0x10
jne 0x449dba
cmp dword [ebx + 0x7c], 0
lea edx, [esi*4]
jne 0x449dba
mov esi, edx
mov edx, dword [ebp - 4]
movsx edx, byte [edx + 0x166]
dec edx
cmp edx, 7
ja case.default.0x449dca
jmp dword [edx*4 + 0x4ee83c]
mov edx, dword [ebp - 4]
lea ecx, [esi + 1]
cmp byte [edx + 0x168], 3
jne case.0x449dca.1
mov esi, ecx
jmp case.0x449dca.1
mov edi, dword [ebp - 4]
movzx edx, byte [edi + 0x17b]
test byte [edi + 0x180], 2
jne 0x449e00
test dl, 4
je case.0x449dca.1
test ecx, ecx
je case.0x449dca.1
mov eax, edi
or edx, 0xffffff80
mov esi, 0x400
mov dword [eax + 0x104], 0x10000
mov byte [eax + 0x17b], dl
jmp case.0x449dca.1
add esi, 4
jmp case.0x449dca.1
add esi, 8
jmp case.0x449dca.1
push 0x6fb
push str.for_nt_open_proc.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x100], esi
jmp 0x449f53
cmp byte [eax + 0x166], 1
je 0x449e66
mov esi, eax
movzx eax, byte [esi + 0x17b]
test al, 8
mov dword [ebp - 0x168], eax
je 0x449e89
mov edx, dword [ebp - 4]
mov eax, 0x241
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x449e85
mov eax, 0x25
mov esp, ebp
pop ebp
ret
mov eax, esi
movzx eax, byte [eax + 0x180]
test al, 1
jne 0x449ebb
test al, 2
jne 0x449ebb
mov eax, esi
mov ecx, dword [ebp - 0x168]
and ecx, 4
shr ecx, 2
movzx edx, byte [eax + 0x17a]
test ecx, ecx
je 0x449ed3
test edx, 0x80
je 0x449ed3
mov eax, esi
mov dword [eax + 0x100], 0x400
mov dword [eax + 0x104], 0x10000
jmp 0x449f42
test byte [eax + 0x178], 4
je 0x449ef6
test dl, 0x40
je 0x449ef6
mov edx, eax
mov eax, 0x400
mov dword [edx + 0x100], eax
mov dword [edx + 0x104], eax
jmp 0x449f42
test edx, 0x80
je 0x449f14
mov dword [eax + 0x100], 0x800
mov dword [eax + 0x104], 0x1fe
jmp 0x449f42
test ecx, ecx
je 0x449f2e
mov dword [eax + 0x100], 0x401
mov dword [eax + 0x104], 0x400
jmp 0x449f42
mov dword [eax + 0x100], 0x85
mov dword [eax + 0x104], 0x84
mov edx, esi
mov eax, dword [ebp - 0x168]
or eax, 0xffffff80
mov byte [edx + 0x17b], al
mov eax, dword [ebx + 4]
test eax, eax
je 0x449f66
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 8]
mov byte [edx + 0x169], al
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0xe0], eax
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x449fe7
mov eax, dword [ebp - 4]
test byte [eax + 0x17a], 0x40
jne 0x449fa4
mov edx, eax
mov eax, 0x2ee
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x449fa0
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x449fe7
cmp edx, 1
jne 0x449fb7
mov byte [eax + 0x16b], 0x27
jmp 0x449ff1
cmp edx, 3
jne 0x449fc5
mov byte [eax + 0x16b], 0x22
jmp 0x449ff1
mov edx, eax
mov eax, 0x2ef
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x449fe3
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x16b], 0
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x44a058
test byte [eax + 0x17a], 0x40
jne 0x44a023
mov edx, eax
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a01f
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x44a058
cmp edx, 1
jne 0x44a036
and byte [eax + 0x17e], 0xfd
jmp 0x44a076
mov edx, eax
mov eax, 0x2f1
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a054
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, eax
movzx eax, byte [edx + 0x17e]
movzx esi, byte [edx + 0x178]
and eax, 0xfffffffd
and esi, 2
or eax, esi
mov byte [edx + 0x17e], al
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x44a0c9
cmp eax, 2
je 0x44a0af
cmp eax, 1
je 0x44a0af
cmp eax, 3
je 0x44a0af
mov edx, dword [ebp - 4]
mov eax, 0x2ec
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a0ab
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17b]
test al, 8
jne 0x4495dd
test al, 0x10
jne 0x4495dd
mov eax, dword [ebx + 0x90]
cmp eax, 5
ja case.default.0x44a0d8
jmp dword [eax*4 + 0x4ee85c]
mov ecx, dword [ebp - 4]
and dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x164], 0
movzx eax, byte [ecx + 0x180]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x17a]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
jmp 0x44a296
mov ecx, dword [ebp - 4]
and dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x164], 0
movzx eax, byte [ecx + 0x180]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x17a]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
jmp 0x44a296
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
or edx, 2
and edx, 0xfffffffe
mov dword [ebp - 0x20], edx
movzx eax, byte [ecx + 0x180]
and eax, 0xffffffcb
movzx edx, byte [ecx + 0x17a]
or eax, 8
and edx, 0xfffffffe
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
mov dword [ebp - 0x164], 0
jmp 0x44a296
mov ecx, dword [ebp - 4]
or dword [ebp - 0x20], 2
mov dword [ebp - 0x164], 0
movzx eax, byte [ecx + 0x180]
or eax, 4
movzx edx, byte [ecx + 0x17a]
and eax, 0xffffffc7
or edx, 1
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
jmp 0x44a296
cmp dword [ebx + 0x54], 0
jne 0x44a1f5
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
je 0x44a22a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x164], 0
movzx edx, byte [ecx + 0x17a]
movzx eax, byte [ecx + 0x180]
or edx, 1
or eax, 4
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
jmp 0x44a296
cmp dword [ebx + 0x50], 0
je 0x44a26b
mov ecx, eax
and dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x164], 0
movzx eax, byte [ecx + 0x180]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x17a]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
jmp 0x44a296
mov ecx, eax
movzx eax, byte [ecx + 0x180]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x17a]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x17a], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x180], al
mov eax, edx
and eax, 0x40
mov ecx, dword [ebx + 0xb4]
shr eax, 6
test ecx, ecx
je 0x44a2cf
test eax, eax
jne 0x44a2cf
mov edx, dword [ebp - 4]
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a2cb
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov byte [esi + 0x171], cl
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x44a308
test eax, eax
jne 0x44a308
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a304
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x173], cl
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x44a33e
test eax, eax
jne 0x44a33e
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a33a
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x175], cl
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x44a374
test eax, eax
jne 0x44a376
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44a370
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
test eax, eax
mov eax, esi
mov byte [eax + 0x177], cl
je 0x44a3ce
movzx eax, byte [eax + 0x17b]
test al, 2
jne 0x44a38f
test al, 1
je 0x44a3a0
mov eax, esi
mov dword [eax + 0x144], 3
jmp 0x44a47f
test al, 8
je 0x44a3b5
mov eax, esi
mov dword [eax + 0x144], 2
jmp 0x44a47f
test al, 0x10
je 0x44a47f
mov eax, esi
mov dword [eax + 0x144], 8
jmp 0x44a47f
test edx, 0x80
jne 0x44a3df
test byte [ebp - 0x168], 1
je 0x44a437
movzx eax, byte [eax + 0x17b]
test al, 2
jne 0x44a3ee
test al, 1
je 0x44a413
test byte [ebp - 0x168], 1
je 0x44a405
mov eax, esi
mov dword [eax + 0x144], 7
jmp 0x44a47f
mov eax, esi
mov dword [eax + 0x144], 0xb
jmp 0x44a47f
test al, 8
je 0x44a425
mov eax, esi
mov dword [eax + 0x144], 6
jmp 0x44a47f
test al, 0x10
je 0x44a47f
mov eax, esi
mov dword [eax + 0x144], 9
jmp 0x44a47f
test byte [ebp - 0x168], 2
movzx eax, byte [eax + 0x17b]
je 0x44a47f
test al, 2
jne 0x44a44f
test al, 1
je 0x44a45d
mov eax, esi
mov dword [eax + 0x144], 5
jmp 0x44a47f
test al, 8
je 0x44a46f
mov eax, esi
mov dword [eax + 0x144], 4
jmp 0x44a47f
test al, 0x10
je 0x44a47f
mov eax, esi
mov dword [eax + 0x144], 0xa
mov eax, dword [0x518340]
cmp dword [ebx + 0x84], 0
je 0x44a4a3
test eax, eax
jne 0x44a4a3
mov eax, 0x232
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x94], 0
je 0x44c7e5
test eax, eax
je 0x44ba2c
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x168], eax
mov eax, dword [ebx + 0x9c]
cmp eax, 1
je 0x44a5de
test eax, eax
jne 0x44a56a
mov eax, dword [ebp - 4]
test byte [eax + 0x181], 0x20
jne 0x44a4fc
push str.FORT_BUFFERED
call fcn.00439910
add esp, 4
test eax, eax
je 0x44a5de
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042d240
mov edx, eax
add esp, 8
mov esi, dword [ebp - 4]
cmp edx, 0xffffffff
mov edx, 0
lea ecx, [ebp - 0x140]
sete dl
movzx eax, byte [esi + 0x181]
shl edx, 6
and eax, 0xffffffbf
push ecx
push esi
or eax, edx
mov byte [esi + 0x181], al
call fcn.0042d240
mov edx, eax
add esp, 8
cmp edx, 0xffffffff
mov edx, 0
sete dl
movzx eax, byte [esi + 0x184]
shl edx, 2
and eax, 0xfffffffb
or eax, edx
mov byte [esi + 0x184], al
jmp 0x44a5ef
cmp eax, 2
jne case.default.0x449810
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042d240
mov edx, eax
add esp, 8
mov esi, dword [ebp - 4]
cmp edx, 0xffffffff
mov edx, 0
lea ecx, [ebp - 0x140]
sete dl
movzx eax, byte [esi + 0x181]
shl edx, 6
and eax, 0xffffffbf
push ecx
push esi
or eax, edx
mov byte [esi + 0x181], al
call fcn.0042d240
mov edx, eax
add esp, 8
cmp edx, 0xffffffff
mov edx, 0
sete dl
movzx eax, byte [esi + 0x184]
shl edx, 2
and eax, 0xfffffffb
or eax, edx
mov byte [esi + 0x184], al
jmp 0x44a5ef
mov eax, dword [ebp - 4]
and byte [eax + 0x181], 0xbf
and byte [eax + 0x184], 0xfb
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042d240
add esp, 8
cmp eax, 0xffffffff
je 0x44a64c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
add ecx, 2
cmp ecx, 0x20
jae 0x44a64c
mov eax, 1
shl eax, cl
test eax, 0x103
je 0x44a64c
mov eax, dword [ebp - 4]
test byte [eax + 0x184], 8
jne 0x44a642
push str.FORT_BUFFER_STDOUT
call fcn.00439910
add esp, 4
test eax, eax
je 0x44a64c
mov eax, dword [ebp - 4]
or byte [eax + 0x181], 0x40
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042d240
mov dword [ebp - 0x144], eax
add esp, 8
cmp dword [ebp - 0x144], 0xffffffff
je 0x44a6be
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
cmp eax, 3
jne 0x44a68a
mov eax, dword [ebp - 4]
mov dword [eax + 0x144], 1
jmp 0x44a68f
cmp eax, 5
jne 0x44a6ab
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 4
je 0x44a6be
or byte [eax + 0x17a], 2
mov dword [ebp - 0x1c], 3
jmp 0x44a6be
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x178]
test dl, 4
jne 0x44ba3e
mov ecx, dword [0x518340]
test ecx, ecx
jne 0x44a6dd
cmp dword [ebp - 0x144], 0xfffffffa
jne 0x44a70d
mov dword [ebp - 0x144], 1
jmp 0x44a727
cmp dword [ebp - 0x144], 0xfffffffa
je 0x44c61c
cmp dword [ebp - 0x144], 1
je 0x44a727
cmp dword [ebp - 0x168], 0
jne 0x44ba2c
cmp dword [ebx + 0x84], 0
jne 0x44a491
cmp dword [ebp - 0x144], 0xfffffffc
je 0x44c750
cmp dword [ebp - 0x144], 0
jl 0x44c607
mov eax, dword [ebp - 4]
cmp dword [eax + 0x144], 1
jne 0x44a765
cmp dword [ebp - 0x144], 0
je 0x44a74e
cmp dword [ebp - 0x144], 2
je 0x44a74e
cmp dword [ebp - 0x144], 1
jne 0x44a765
mov edx, eax
shl ecx, 7
movzx eax, byte [edx + 0x180]
and eax, 0x7f
or eax, ecx
mov byte [edx + 0x180], al
cmp dword [ebp - 0x28], 0
je 0x44a821
cmp dword [ebx + 0xa4], 0
jne 0x44a7f6
cmp dword [ebx + 0x68], 0
je 0x44bb0f
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x140]
mov edx, dword [eax + 0x108]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], 0
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44a7b8
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44a7a3
dec eax
push eax
lea edx, [ebp - 0x14c]
push edx
lea edi, [ebp - 0x148]
push edi
lea ecx, [ebp - 0x18]
push ecx
lea esi, [ebp - 0x1c]
push esi
push edi
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x140]
push ecx
call dword [ebx + 0x68]
mov dword [ebp - 0x168], eax
add esp, 0x24
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
jmp 0x44a830
push dword [ebx + 0xa8]
call fcn.004872c0
mov dword [ebp - 0x168], eax
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xec], eax
mov edx, dword [ebx + 0xa8]
mov dword [ecx + 0x18c], edx
jmp 0x44a830
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xec]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0xffffffff
je 0x44c33b
cmp dword [ebx + 0xa4], 0
jne 0x44a967
mov eax, dword [ebp - 4]
cmp dword [0x516e64], 0
mov dword [eax + 0x18c], 0xffffffff
je 0x44a967
movzx eax, byte [eax + 0x17b]
test al, 8
jne 0x44a967
cmp dword [ebp - 0x28], 0
je 0x44a8ef
mov edx, dword [ebp - 4]
test byte [edx + 0x180], 2
jne 0x44a898
test al, 4
je 0x44a89f
movzx ecx, byte [edx + 0x17a]
test ecx, 0x80
je 0x44a89f
mov edx, 0x8000
jmp 0x44a8a1
xor edx, edx
mov ecx, dword [ebp - 0x24]
test ecx, 0xc0000000
je 0x44a8b1
or edx, 2
jmp 0x44a8c0
mov esi, edx
or esi, 1
test ecx, 0x40000000
je 0x44a8c0
mov edx, esi
cmp dword [ebx + 0x78], 1
je 0x44a8ca
test al, 1
je 0x44a8cd
or edx, 8
push edx
push dword [ebp - 0x168]
call fcn.00487450
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x18c], eax
mov eax, dword [0x518340]
jmp 0x44a96c
cmp dword [0x518340], 0
jne 0x44a970
cmp dword [ebp - 0x144], 1
je 0x44a94b
cmp dword [ebp - 0x144], 0
jne 0x44a926
call fcn.0047cee0
push eax
call fcn.00487780
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x18c], eax
jmp 0x44a9a9
cmp dword [ebp - 0x144], 2
jne 0x44a9a9
call fcn.0047cee0
add eax, 0x40
push eax
call fcn.00487780
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x18c], eax
jmp 0x44a9a9
call fcn.0047cee0
add eax, 0x20
push eax
call fcn.00487780
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x18c], eax
jmp 0x44a9a9
mov eax, dword [0x518340]
test eax, eax
je 0x44a99a
test dword [ebp - 0x144], 0xfffffffe
je 0x44a98e
cmp dword [ebp - 0x144], 0xfffffffa
je 0x44a98e
cmp dword [ebp - 0x144], 2
jne 0x44a99a
mov dword [ebp - 0x168], 2
jmp 0x44a9bb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xec]
mov dword [ebp - 0x168], edx
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x168]
test eax, eax
jne 0x44aaec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x166], 1
je 0x44bb40
movzx edx, byte [eax + 0x179]
and edx, 6
shr edx, 1
test edx, edx
je 0x44aa84
mov ecx, dword [eax + 0x108]
add ecx, 2
cmp ecx, 0x20
jae 0x44aa84
mov eax, 1
shl eax, cl
test eax, 0x103
je 0x44aa84
cmp edx, 1
je 0x44aa64
cmp edx, 2
jne 0x44aa3e
mov eax, dword [ebp - 4]
mov byte [eax + 0x168], 2
movzx ecx, byte [eax + 0x178]
movzx edx, byte [eax + 0x17a]
inc dword [eax + 0x100]
jmp 0x44ab20
cmp edx, 3
jne case.default.0x449810
mov eax, dword [ebp - 4]
mov byte [eax + 0x168], 3
movzx ecx, byte [eax + 0x178]
movzx edx, byte [eax + 0x17a]
jmp 0x44ab20
mov eax, dword [ebp - 4]
mov byte [eax + 0x168], 1
movzx ecx, byte [eax + 0x178]
movzx edx, byte [eax + 0x17a]
inc dword [eax + 0x100]
jmp 0x44aae0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x178]
test cl, 4
movzx edx, byte [eax + 0x17a]
je 0x44aac0
cmp dword [eax + 0x144], 1
je 0x44aad3
test dl, 0x40
je 0x44aab1
cmp dword [ebp - 0x168], 2
je 0x44aad3
mov byte [eax + 0x168], 2
inc dword [eax + 0x100]
jmp 0x44ab20
test dl, 0x40
je 0x44aab1
cmp dword [ebp - 0x168], 2
jne 0x44aab1
test cl, 1
je 0x44aab1
mov byte [eax + 0x168], 1
inc dword [eax + 0x100]
mov eax, dword [ebp - 4]
add dword [eax + 0x100], 5
jmp 0x44ab20
mov edx, dword [ebp - 4]
cmp eax, 3
movzx ecx, byte [edx + 0x178]
movzx edx, byte [edx + 0x17a]
je 0x44ab20
mov esi, dword [ebp - 4]
movsx edi, byte [esi + 0x166]
cmp edi, 1
je 0x44ab17
inc dword [esi + 0x100]
cmp eax, 1
je 0x44c32d
test cl, 1
je 0x44ab40
mov eax, dword [ebp - 4]
test byte [eax + 0x17b], 8
je 0x44ab40
cmp byte [eax + 0x167], 2
jne 0x44ab40
inc dword [eax + 0x100]
test cl, 4
je 0x44ab64
mov eax, dword [ebp - 4]
and edx, 0x40
shr edx, 6
test byte [eax + 0x17b], 8
je 0x44ab6a
test edx, edx
je 0x44ab6a
add dword [eax + 0x100], 2
jmp 0x44ab6a
and edx, 0x40
shr edx, 6
cmp dword [ebp - 0x168], 1
jne 0x44ab82
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17c]
or eax, 8
jmp 0x44ab8f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17c]
and eax, 0xfffffff7
mov ecx, dword [ebp - 4]
test edx, edx
mov byte [ecx + 0x17c], al
je 0x44ac71
push dword [ebp - 4]
call fcn.0043a280
add esp, 4
test eax, eax
jne 0x449311
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x44ac71
cmp byte [eax + 0x1e], 0
je 0x44ac71
mov esi, dword [eax + 0xc]
movzx eax, byte [esi + 0x17d]
test al, 0x40
je 0x44abe6
cmp byte [esi + 0x168], 1
je 0x44c2f6
push esi
call fcn.00435cb0
add esp, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x44abfd
mov byte [edx + 0x1e], 0
test eax, eax
je 0x44ac5c
mov edx, dword [esi + 0x18]
test edx, edx
je 0x44bb79
test byte [edx + 0x44], 2
je 0x44ac37
mov dword [edx + 0x38], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [esi + 0x64]
test edx, edx
je 0x44ac2a
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [esi + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [esi + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
add dword [esi + 0xa0], 1
adc dword [esi + 0xa4], 0
and byte [esi + 0x17f], 0xfb
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17b]
test al, 8
je 0x44ac9d
mov edx, dword [ebp - 4]
test byte [edx + 0x17c], 8
jne 0x44ac9d
mov eax, 0x33
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0
je 0x44b622
cmp dword [ebx + 0x58], 5
je 0x44c1eb
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x44b611
cmp eax, 2
je 0x44b611
cmp eax, 3
jne 0x44acfd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x17b]
and eax, 0xfffffffe
and byte [edx + 0x17f], 0xfb
mov byte [edx + 0x17b], al
mov dword [edx + 0xa0], 1
mov dword [edx + 0xa4], 0
jmp 0x44b622
cmp eax, 1
jne 0x44aede
cmp dword [ebx + 0x58], 5
je 0x44c0c6
mov eax, dword [ebp - 4]
test byte [eax + 0x17c], 8
jne 0x44ad28
movzx eax, byte [eax + 0x17b]
jmp 0x44b622
add esp, 0xfffffff0
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, eax
mov eax, dword [esi + 0xec]
call fcn.0044ca20
mov dword [ebp - 0x168], eax
add esp, 0x10
mov eax, 0xffffffff
mov ecx, edx
mov esi, dword [ebp - 0x168]
sub ecx, eax
sub esi, eax
or esi, ecx
je 0x44c080
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x168]
movzx eax, byte [esi + 0x17b]
and byte [esi + 0x17f], 0xfb
and eax, 0xfffffffe
mov dword [esi + 0xa0], 0x80000000
mov dword [esi + 0xa4], 0xffffffff
mov byte [esi + 0x17b], al
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], edx
cmp dword [esi + 0x144], 5
je 0x44b622
mov eax, esi
movsx edx, byte [eax + 0x166]
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x44adcb
jmp dword [eax*4 + 0x4ee874]
cmp edx, 7
je 0x44bd78
cmp edx, 5
je 0x44bd43
mov dword [ebp - 0x164], 3
mov edx, dword [ebp - 4]
push eax
mov eax, dword [edx + 0xec]
call fcn.0044ca80
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x168], edx
add esp, 0xfffffff4
mov edx, 1
mov esi, dword [ebp - 0x164]
neg esi
mov dword [esp + 4], esi
mov dword [esp + 8], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xec]
call fcn.0044ca20
mov dword [ebp - 0x160], eax
add esp, 0x10
mov eax, 0xffffffff
mov ecx, edx
mov edi, dword [ebp - 0x160]
sub ecx, eax
sub edi, eax
or edi, ecx
je 0x44af55
mov ecx, dword [ebp - 0x15c]
sub ecx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x168]
sbb eax, edx
neg ecx
neg eax
xor edx, edx
add ecx, dword [ebp - 0x164]
add eax, edx
or ecx, eax
jne 0x44af55
mov eax, dword [ebp - 4]
test byte [eax + 0x17e], 1
je 0x44ae95
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17b]
jmp 0x44b622
add esp, 0xfffffff0
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 + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov edx, esi
movzx eax, byte [edx + 0x17b]
and eax, 0xfffffffe
and byte [edx + 0x17f], 0xfb
mov dword [edx + 0xa0], 0x80000000
mov dword [edx + 0xa4], 0xffffffff
mov byte [edx + 0x17b], al
jmp 0x44b622
mov edx, esi
push eax
mov eax, dword [edx + 0xec]
call fcn.0044ca80
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], edx
add esp, 0xfffffff4
mov edx, 1
mov dword [esp + 4], 0xfffffffc
mov dword [esp + 8], 0xffffffff
mov ecx, esi
mov eax, dword [ecx + 0xec]
call fcn.0044ca20
add esp, 0x10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x44b02b
mov esi, dword [ebp - 0x164]
mov ecx, 4
sub esi, eax
mov eax, dword [ebp - 0x168]
sbb eax, edx
sub esi, ecx
or esi, eax
je 0x44b093
add esp, 0xfffffff0
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 + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov edx, esi
movzx eax, byte [edx + 0x17b]
and eax, 0xfffffffe
and byte [edx + 0x17f], 0xfb
mov dword [edx + 0xa0], 0x80000000
mov dword [edx + 0xa4], 0xffffffff
mov byte [edx + 0x17b], al
jmp 0x44b622
mov eax, dword [ebp - 4]
test byte [eax + 0x17e], 1
je 0x44b0a9
cmp dword [ebx + 0x68], 0
je 0x44bd96
push 0
mov ecx, eax
lea eax, [ebp - 0x154]
push eax
push 4
lea edx, [ebp - 0x160]
push edx
push dword [ecx + 0xec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x44bd22
cmp dword [ebp - 0x154], 4
jne 0x44b107
mov edx, esi
push eax
mov eax, dword [edx + 0xec]
call fcn.0044ca80
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], edx
add esp, 0xfffffff4
mov edx, 1
mov dword [esp + 4], 0xfffffff7
mov dword [esp + 8], 0xffffffff
mov ecx, esi
mov eax, dword [ecx + 0xec]
call fcn.0044ca20
add esp, 0x10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x44b300
mov ecx, dword [ebp - 0x164]
sub ecx, eax
mov eax, dword [ebp - 0x168]
sbb eax, edx
mov edx, 9
sub ecx, edx
or ecx, eax
jne 0x44b300
mov eax, dword [ebp - 4]
test byte [eax + 0x17e], 1
je 0x44b1fb
cmp dword [ebx + 0x68], 0
je 0x44be9e
push 0
mov ecx, eax
lea eax, [ebp - 0x154]
push eax
push 9
lea edx, [ebp - 0x160]
push edx
push dword [ecx + 0xec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x44bd22
cmp dword [ebp - 0x154], 9
jne 0x44b298
add esp, 0xfffffff0
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 + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov edx, esi
movzx eax, byte [edx + 0x17b]
and eax, 0xfffffffe
and byte [edx + 0x17f], 0xfb
mov dword [edx + 0xa0], 0x80000000
mov dword [edx + 0xa4], 0xffffffff
mov byte [edx + 0x17b], al
jmp 0x44b622
mov edx, esi
push eax
mov eax, dword [edx + 0xec]
call fcn.0044ca80
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], edx
mov edi, esi
xor ecx, ecx
add esp, 0xfffffff4
xor esi, esi
mov edx, 1
sub esi, dword [edi + 0x100]
mov eax, dword [edi + 0xec]
mov dword [esp + 4], esi
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.0044ca20
mov esi, eax
mov ecx, edx
add esp, 0x10
mov edi, esi
mov eax, 0xffffffff
mov edx, ecx
sub edi, eax
sub edx, eax
or edi, edx
je 0x44b3eb
mov eax, dword [ebp - 0x164]
sub eax, esi
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x168]
sbb esi, ecx
neg eax
neg esi
xor ecx, ecx
mov edx, dword [edx + 0x100]
add eax, edx
add esi, ecx
or eax, esi
je 0x44b453
add esp, 0xfffffff0
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 + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov edx, esi
movzx eax, byte [edx + 0x17b]
and eax, 0xfffffffe
and byte [edx + 0x17f], 0xfb
mov dword [edx + 0xa0], 0x80000000
mov dword [edx + 0xa4], 0xffffffff
mov byte [edx + 0x17b], al
jmp 0x44b622
lea eax, [ebp - 0x164]
push eax
push 0
push edx
call fcn.00431e20
add esp, 0xc
test eax, eax
jne 0x449311
mov eax, dword [ebp - 4]
test byte [eax + 0x17e], 1
je 0x44b483
cmp dword [ebx + 0x68], 0
je 0x44bf8d
mov edx, eax
lea eax, [ebp - 0x154]
push 0
push eax
push dword [edx + 0x100]
push dword [ebp - 0x164]
push dword [edx + 0xec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x44bd22
push 0xea7
push str.for_nt_open_proc.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
mov eax, esi
movzx eax, byte [eax + 0x17b]
jmp 0x44b622
mov eax, dword [ebp - 4]
or byte [eax + 0x17f], 4
movzx eax, byte [eax + 0x17b]
test al, 1
je 0x44b6d8
mov eax, dword [ebp - 4]
test byte [eax + 0x17c], 8
je 0x44b707
add esp, 0xfffffff0
xor ecx, ecx
mov edx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov esi, eax
mov eax, dword [esi + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov eax, esi
cmp dword [eax + 0x144], 7
jne 0x44b6b0
add esp, 0xfffffff0
mov ecx, 0xffffffff
mov edx, 1
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xec]
call fcn.0044ca20
mov ecx, eax
add esp, 0x10
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x44bcbf
mov eax, esi
mov dword [eax + 0xa0], 0x80000000
mov dword [eax + 0xa4], 0xffffffff
and byte [eax + 0x17f], 0xfb
movzx eax, byte [eax + 0x17b]
test al, 1
jne 0x44b707
mov edx, dword [ebp - 4]
test byte [edx + 0x17c], 8
je 0x44b707
test byte [edx + 0x178], 4
je 0x44b6f1
test al, 8
jne 0x44b707
test byte [edx + 0x17a], 0x40
jne 0x44b6fe
test al, 4
jne 0x44b707
mov eax, edx
or byte [eax + 0x17d], 8
push str.FORT_FMT_NO_WRAP_MARGIN
call fcn.00439910
add esp, 4
test eax, eax
je 0x44b722
mov eax, dword [ebp - 4]
or byte [eax + 0x184], 0x10
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x17b]
test edx, 0x80
jne 0x44b745
mov edx, eax
mov eax, dword [edx + 0x100]
mov word [edx + 0x160], ax
jmp 0x44b779
cmp byte [eax + 0x168], 1
je 0x44c1b2
test byte [eax + 0x178], 4
je 0x44b76b
mov edx, eax
mov eax, 0x4f
mov word [edx + 0x160], ax
jmp 0x44b779
mov edx, eax
mov eax, 0x50
mov word [edx + 0x160], ax
mov edx, dword [ebx + 0x14]
test edx, edx
jle 0x44c173
mov ecx, dword [ebp - 4]
mov esi, dword [ebx + 0x10]
movzx ecx, byte [ecx + 0x178]
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x44b7aa
cmp esi, 0x7ffffe00
jle 0x44b7aa
mov esi, 0x7ffffe00
jmp 0x44b7b2
test esi, esi
jle 0x44c127
add esi, 0x1ff
and esi, 0xfffffe00
mov dword [ebx + 0x10], esi
mov ecx, dword [ebp - 4]
test byte [ecx + 0x17b], 8
je 0x44b831
mov edx, ecx
test byte [edx + 0x178], 4
je 0x44b7f1
imul edx, esi
mov ecx, dword [ecx + 0x100]
lea eax, [ecx + 4]
cmp eax, edx
ja 0x44b843
mov eax, 0x234
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x229
test dl, 0x20
mov ebx, dword [ebp - 8]
jne 0x44ba50
mov eax, 0x33
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23f
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44ba79
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 - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44ba9c
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 - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44babf
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 - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44bae2
mov eax, 0x30
mov esp, ebp
pop ebp
ret
push esi
call fcn.00486df0
add esp, 4
cmp eax, ebx
jne 0x449ac6
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x160]
or dword [ebp - 0x18], 0x8000000
jmp 0x449aee
xor eax, eax
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
jmp 0x44a830
movzx ecx, byte [eax + 0x178]
test cl, 4
movzx edx, byte [eax + 0x17a]
je 0x44bb6d
test byte [eax + 0x17b], 8
je 0x44bb6d
test dl, 0x40
je 0x44bb6d
mov byte [eax + 0x168], 2
jmp 0x44ab20
mov byte [eax + 0x168], 3
jmp 0x44ab20
push esi
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov dword [edx + 0xf0], eax
mov eax, 0x78
mov edi, dword [ebp - 0xc]
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 - 0x10]
mov dword [edx + 0xf0], eax
mov eax, 0x1e
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, esi
movsx eax, byte [eax + 0x168]
cmp eax, 3
je 0x44bd69
xor edi, edi
cmp eax, 2
mov eax, edi
setne al
add eax, 2
mov dword [ebp - 0x164], eax
jmp 0x44adee
mov dword [ebp - 0x164], 1
jmp 0x44adee
mov eax, esi
cmp byte [eax + 0x168], 3
jne 0x44ade4
mov dword [ebp - 0x164], 2
jmp 0x44adee
xor eax, eax
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0xffffffff
je 0x44bd22
xor eax, eax
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0xffffffff
je 0x44bd22
mov edx, dword [ebp - 4]
push eax
mov eax, dword [edx + 0xec]
call fcn.0044ca80
add esp, 4
or eax, edx
jne 0x44c0a5
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x17b]
jmp 0x44b622
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov dword [edx + 0xf0], eax
mov eax, 0x78
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], 0x80000000
mov dword [eax + 0xa4], 0xffffffff
and byte [eax + 0x17f], 0xfb
movzx eax, byte [eax + 0x17b]
jmp 0x44b622
test ecx, ecx
je 0x44c134
mov dword [ebx + 0x10], 0x400
jmp 0x44c14f
mov esi, dword [0x51296c]
cmp esi, 0xfffffffe
je 0x44c161
test esi, esi
je 0x44c148
cmp esi, 0xffffffff
jne 0x44c159
mov dword [ebx + 0x10], 0x20000
mov esi, 0x2000
jmp 0x44b7c1
mov dword [ebx + 0x10], esi
jmp 0x44b7c1
mov eax, 0x6a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x512970]
cmp edx, 0xfffffffe
je 0x44c1a0
test edx, edx
je 0x44c187
cmp edx, 0xffffffff
jne 0x44c198
mov dword [ebx + 0x14], 1
mov edx, 1
jmp 0x44b784
mov dword [ebx + 0x14], edx
jmp 0x44b784
mov eax, 0x6b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x178], 4
je 0x44c1c2
mov edx, 0x50
jmp 0x44c1c7
mov edx, 0x51
cmp byte [eax + 0x166], 1
je 0x44c1df
add edx, 4
mov word [eax + 0x160], dx
jmp 0x44b779
mov word [eax + 0x160], dx
jmp 0x44b779
cmp dword [ebp - 0x24], 0x80000000
jne 0x44c28b
mov eax, dword [ebp - 4]
push 2
push dword [eax + 0x60]
call fcn.00487810
add esp, 8
cmp eax, 0xffffffff
je 0x44c9c9
mov eax, dword [ebp - 4]
push dword [eax + 0xec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push 5
push eax
push dword [ebp - 0x20]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, eax
mov eax, dword [ebp - 4]
cmp edx, 0xffffffff
mov dword [eax + 0xec], edx
je 0x44c2ad
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, eax
mov eax, dword [ebp - 4]
cmp edx, 0xffffffff
mov dword [eax + 0xec], edx
je 0x44bd22
jmp 0x44acb1
mov eax, dword [ebp - 4]
push dword [eax + 0xec]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x44c2ce
mov eax, dword [ebp - 4]
and byte [eax + 0x17d], 0xf7
jmp 0x44acb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov dword [edx + 0xf0], eax
mov eax, 0x26
mov edi, dword [ebp - 0xc]
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 - 0x10]
mov dword [edx + 0xf0], eax
mov eax, 0x26
mov edi, dword [ebp - 0xc]
and byte [edx + 0x17d], 0xf7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x44c320
cmp edx, 0x2b
jne 0x44c312
mov byte [ecx + 5], 0
movzx eax, byte [esi + 0x17d]
and eax, 0xffffffbf
mov byte [esi + 0x17d], al
jmp 0x44abe6
mov byte [ecx + 5], 0x24
movzx eax, byte [esi + 0x17d]
jmp 0x44c312
cmp edi, 1
jne 0x44aae0
jmp 0x44ab20
cmp dword [ebx + 0xa4], 0
je 0x44c428
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00487910
mov dword [eax], ebx
cmp ebx, 2
jge 0x44c3fc
cmp ebx, 0x7b
je 0x44c95e
cmp ebx, 0xa1
je 0x44c95e
cmp ebx, 0xce
je 0x44c95e
cmp ebx, 0xb7
je 0x44c9db
cmp ebx, 0x50
je 0x44c9db
cmp ebx, 0x13
je 0x44c970
cmp ebx, 5
je 0x44c970
cmp ebx, 0x14
je 0x44c3ea
cmp ebx, 0xf
je 0x44c3ea
cmp ebx, 4
jne 0x44c3cf
mov edx, dword [ebp - 4]
mov eax, 0x25b
test byte [edx + 0x178], 0x20
jne 0x44c3dd
mov eax, 0x1e
jmp 0x44c3dd
mov eax, dword [ebp - 4]
mov dword [eax + 0xf0], ebx
mov eax, 0x1e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jg 0x44c360
mov edx, dword [ebp - 4]
mov eax, 0x25a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44c424
mov eax, 0x1d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 1
je 0x44c441
test byte [eax + 0x179], 0x40
je 0x44c348
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, dword [ebp - 4]
cmp edx, 0x13
movzx eax, byte [eax + 0x178]
je 0x44c465
cmp edx, 5
je 0x44c465
test al, 4
je 0x44c4e5
test al, 1
jne 0x44c4e5
cmp dword [ebp - 0x158], 0
je 0x44c4e5
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x44c4e5
test byte [eax + 0x17e], 1
jne 0x44c4e5
xor eax, eax
lea ecx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x24]
and edx, 0x3fffffff
push dword [ebp - 0x20]
or edx, 0x80000000
push edx
mov dword [ebp - 0x24], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x168]
cmp edx, 0xffffffff
mov dword [eax + 0xec], edx
je 0x44c5b5
or byte [eax + 0x179], 0x40
or byte [eax + 0x17f], 0x10
jmp 0x44c5a3
cmp edx, 0x20
jne 0x44c594
cmp dword [ebp - 0x164], 0
je 0x44c594
cmp dword [ebp - 0x158], 0
jne 0x44c521
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x40
jne 0x44c521
mov edx, dword [eax + 0xec]
mov dword [ebp - 0x168], edx
jmp 0x44c5a3
xor eax, eax
lea esi, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
and ecx, 0x3fffffff
or edx, 2
or ecx, 0x80000000
push edx
push ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x168]
cmp edx, 0xffffffff
mov dword [eax + 0xec], edx
je 0x44c348
or byte [eax + 0x179], 0x40
or byte [eax + 0x17f], 0x10
or byte [eax + 0x17a], 1
or byte [eax + 0x180], 4
jmp 0x44a83d
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xec]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0xffffffff
je 0x44c348
jmp 0x44a83d
test byte [eax + 0x178], 4
je 0x44c4d2
xor eax, eax
lea ecx, [ebp - 0x140]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x24]
and edx, 0x7fffffff
push dword [ebp - 0x20]
or edx, 0x40000000
push edx
mov dword [ebp - 0x24], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
or byte [edx + 0x17e], 1
jmp 0x44c5a3
test ecx, ecx
je 0x44a765
cmp dword [ebp - 0x144], 0xfffffffa
jne 0x44a765
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], 0
or byte [eax + 0x180], 0x80
cmp dword [ebx + 0x84], 0
je 0x44c648
cmp dword [ebx + 0x88], 0
jne 0x44c648
and byte [eax + 0x181], 0xfe
jmp 0x44c64f
or byte [eax + 0x181], 1
mov eax, dword [ebp - 0x168]
test eax, eax
lea edx, [ebp - 0x150]
jne 0x44c664
mov eax, 0x100
push edx
push 0
mov dword [ebp - 0x168], eax
lea ecx, [eax + 1]
push ecx
call fcn.00431e20
add esp, 0xc
test eax, eax
jne 0x449311
cmp dword [ebx + 0x98], 0
jne 0x44c6a8
mov eax, dword [ebp - 4]
push dword [eax + 0x108]
push str.Unit__i
push dword [ebp - 0x150]
call fcn.0047c0e0
add esp, 0xc
jmp 0x44c6d2
push dword [ebp - 0x168]
push dword [ebx + 0x94]
push dword [ebp - 0x150]
call fcn.0047bdf0
add esp, 0xc
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x168]
mov byte [eax + edx], 0
push dword [ebp - 0x150]
call fcn.004d26c0
mov edx, eax
add esp, 4
mov eax, dword [ebp - 4]
cmp edx, 0xffffffff
mov dword [eax + 0xec], edx
je 0x44c9fe
test byte [eax + 0x181], 1
je 0x44c72d
push edx
call fcn.004d2780
add esp, 4
mov eax, dword [ebp - 4]
push dword [eax + 0xec]
call fcn.004d2700
add esp, 4
test eax, eax
jne 0x44c72d
mov eax, 0x28e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x150]
call fcn.00431ee0
add esp, 4
test eax, eax
je 0x44a765
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x162]
cmp edx, 4
jge 0x44c79e
push dword [eax + 0x60]
call fcn.00431ee0
add esp, 4
test eax, eax
je 0x44c77b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x154]
push 0
push 5
call fcn.00431e20
add esp, 0xc
test eax, eax
je 0x44c79e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov esi, dword [str.COM1]
mov dword [ebp - 0x140], esi
mov al, byte [0x4ee8fc]
mov byte [ebp - 0x13c], al
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x140]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x44c7c1
mov edx, dword [ebp - 4]
mov eax, 4
mov ecx, dword [0x518340]
mov word [edx + 0x162], ax
jmp 0x44c607
test eax, eax
jne 0x44c801
push str.USER
lea eax, [ebp - 0x140]
push eax
call fcn.004803a0
add esp, 8
test eax, eax
je 0x44c810
mov dword [ebp - 0x168], 0
jmp 0x44a4c4
mov edx, esi
lea edi, [ebp - 0x140]
mov eax, dword [0x4ecb90]
mov dword [ebp - 0x140], eax
mov esi, dword [edx + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x44c826
mov edx, dword [ebp - 4]
mov eax, 3
mov dword [ebp - 0x168], 0
mov word [edx + 0x162], ax
jmp 0x44a4c4
mov eax, dword [ebp - 4]
test byte [eax + 0x178], 1
je 0x449cc3
movzx edx, byte [eax + 0x17b]
and edx, 0xffffffdf
mov byte [eax + 0x17b], dl
jmp 0x449cd6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x168], 3
je 0x449c38
mov eax, 0x2e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x17b]
test dl, 0x10
je 0x4499b6
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x167], 3
mov ecx, 3
jmp 0x4499c5
mov edx, ecx
test byte [edx + 0x178], 4
je 0x44c8e5
test byte [edx + 0x17b], 8
je 0x44c8e5
test byte [edx + 0x17a], 0x40
je 0x44c8e5
mov byte [edx + 0x168], 2
jmp 0x449902
movsx edx, al
cmp edx, 4
je 0x44c92a
cmp edx, 1
je 0x44c92a
movzx esi, byte [ecx + 0x17a]
test esi, 0x80
jne 0x44c92a
movzx ecx, byte [ecx + 0x180]
test cl, 1
jne 0x44c92a
test cl, 2
jne 0x44c92a
test esi, 0x40
je 0x449902
add edx, 0xfffffffb
cmp edx, 3
ja 0x449902
mov edx, dword [ebp - 4]
mov byte [edx + 0x168], 3
jmp 0x449902
mov dword [ebp - 0x158], 1
jmp 0x449460
cmp dword [ebx + 0x58], 0
jne 0x449277
mov dword [ebx + 0x58], 3
jmp 0x449277
mov eax, 0x2b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x258
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44c98f
mov eax, 9
mov esp, ebp
pop ebp
ret
mov eax, 0x63
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x64
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x25
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x259
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44c9fa
mov eax, 0xa
mov esp, ebp
pop ebp
ret
mov edx, eax
mov eax, 0x258
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test byte [edx + 0x178], 0x20
mov edi, dword [ebp - 0xc]
jne 0x44ca1c
mov eax, 9
mov esp, ebp
pop ebp
ret