Function at 0x43b148
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 - 0x10], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], 0x101
test byte [edx + 0x170], 4
je 0x43b197
cmp dword [ebx + 0x80], 0
jne 0x43b197
cmp dword [ebx + 0x2c], 0
je 0x43d947
cmp dword [ebx + 0xa4], 0
je 0x43b1a9
mov byte [ebp - 0x140], 0
jmp 0x43b1f6
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.00439e3c
add esp, 0x10
test eax, eax
je 0x43b1f6
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x140]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43b213
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43b1fe
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 - 0x154], ecx
call fcn.00425a60
add esp, 0xc
test eax, eax
je 0x43b249
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 - 0x140]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x43b255
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
or edx, dword [eax + 0x9c]
jne 0x43b284
mov dword [eax + 0x98], 1
mov dword [eax + 0x9c], 0
cmp dword [ebx + 0x44], 0
je 0x43b2a8
or byte [eax + 0x171], 0x40
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0x80000000
or byte [eax + 0x177], 0x10
jmp 0x43b2b6
or dword [ebp - 0x18], 0x80
or dword [ebp - 0x24], 0xc0000000
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x43e6cd
cmp eax, 2
je 0x43b365
cmp eax, 1
jne 0x43b301
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], 0
or byte [eax + 0x171], 0x40
mov edx, dword [ebp - 0x24]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x43b38b
cmp eax, 3
jne 0x43b342
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
mov dword [ebp - 0x158], 0
or byte [eax + 0x176], 1
mov edx, dword [ebp - 0x24]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x43b38b
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 0x43b361
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
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 0x43b463
cmp eax, 2
je 0x43b43d
cmp eax, 1
jne 0x43b3d9
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], 0
or byte [eax + 0x171], 0x40
mov edx, dword [ebp - 0x24]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x43b463
cmp eax, 3
jne 0x43b41a
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
mov dword [ebp - 0x158], 0
or byte [eax + 0x176], 1
mov edx, dword [ebp - 0x24]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x18], 0x80
mov dword [ebp - 0x24], edx
jmp 0x43b463
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 0x43b439
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
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.0x43b46e
jmp dword [eax*4 + 0x4e6740]
mov eax, dword [ebp - 4]
or byte [eax + 0x173], 4
and byte [eax + 0x170], 0x7b
jmp case.0x43b46e.0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 0x10
mov byte [edx + 0x173], al
jmp 0x43b4e5
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
mov edx, eax
movzx eax, byte [edx + 0x173]
or eax, 3
mov byte [edx + 0x173], al
jmp 0x43b4e5
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x173]
or eax, 8
mov byte [edx + 0x173], al
jmp 0x43b4e5
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.0x43b4f1
jmp dword [edx*4 + 0x4e6758]
test al, 1
je 0x43b51a
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
jne 0x43b51a
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 - 0x1c], 2
or dword [ebp - 0x18], 0x4000002
or byte [eax + 0x172], 4
jmp 0x43b5c9
test al, 1
je 0x43b556
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
jne 0x43b556
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 - 0x1c], 1
jmp 0x43b5c9
mov eax, dword [ebp - 4]
or byte [eax + 0x172], 2
or dword [ebp - 0x1c], 3
jmp 0x43b5c9
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je case.0x43b4f1.4
push str.USER
lea eax, [ebp - 0x140]
push eax
call fcn.00475a50
add esp, 8
test eax, eax
jne case.0x43b4f1.4
mov eax, dword [ebp - 4]
or byte [eax + 0x172], 8
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
je 0x43b5af
test byte [eax + 0x170], 4
je 0x43b5b8
test byte [eax + 0x177], 0x10
je case.0x43b4f1.5
or byte [eax + 0x172], 2
or dword [ebp - 0x1c], 3
jmp 0x43b5c9
or dword [ebp - 0x1c], 4
mov eax, dword [ebx + 0x28]
cmp eax, 6
ja case.default.0x43b73b
jmp dword [eax*4 + 0x4e6770]
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 4
je case.0x43b5d5.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 0x43b508
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x172], al
jmp case.0x43b5d5.0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x172]
test al, 4
jne 0x43b508
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x172], al
jmp case.0x43b5d5.0
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43b508
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 0x43b675
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x172], al
jmp case.0x43b5d5.0
cmp edx, 6
jne case.0x43b5d5.0
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x172], al
jmp case.0x43b5d5.0
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 4
je case.0x43b5d5.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.0x43b6b2
jmp dword [eax*4 + 0x4e678c]
mov eax, dword [ebp - 4]
or byte [eax + 0x178], 2
jmp 0x43b724
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test edx, 0x80
jne 0x43b6e0
or byte [eax + 0x172], 0x80
jmp 0x43b724
or byte [eax + 0x178], 1
jmp 0x43b724
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43b6ff
test al, 0x10
jne 0x43b6ff
test al, 4
je case.0x43b6b2.1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test edx, 0x80
jne 0x43b6e0
or byte [eax + 0x172], 0x80
jmp 0x43b724
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.0x43b73b
jmp dword [edx*4 + 0x4e67a0]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43b767
test dl, 0x10
jne 0x43b767
test dl, 4
jne 0x43b767
mov edx, dword [ebp - 4]
test byte [edx + 0x172], 0x40
je case.0x43b73b.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.0x43b73b.0
mov edx, dword [ebp - 4]
test byte [edx + 0x173], 4
je case.0x43b73b.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 0x43e650
cmp edx, 1
je 0x43b81e
cmp edx, 2
jne 0x43b7f7
mov edx, ecx
test byte [edx + 0x173], 4
jne 0x43b508
test byte [edx + 0x172], 0x40
je 0x43b82d
movsx edx, al
add edx, 0xfffffffb
cmp edx, 3
ja 0x43b82d
mov edx, ecx
mov byte [edx + 0x15e], 3
jmp 0x43b82d
cmp edx, 3
je 0x43b82d
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 0x43b81a
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, ecx
test byte [edx + 0x173], 4
jne 0x43b508
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x43e629
cmp edx, 1
je 0x43b8ab
cmp edx, 2
jne 0x43b85e
mov eax, dword [ebp - 4]
test byte [eax + 0x173], 0x10
jne 0x43b508
mov byte [eax + 0x15d], 2
jmp 0x43b8f9
cmp edx, 3
jne case.default.0x43b73b
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43b508
test dl, 1
jne 0x43b508
test dl, 4
jne 0x43b508
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 3
mov ecx, 3
jmp 0x43b8f0
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 0x43b8d8
movsx ecx, al
cmp ecx, 1
je 0x43b8d8
test ecx, ecx
je 0x43b8d8
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 0x43b508
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 1
mov ecx, 1
test dl, 8
je 0x43ba1d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x15c], eax
add eax, 0xf
and eax, 0xfffffff0
call fcn.0047cbf0
mov eax, esp
mov edi, eax
push dword [ebp - 0x14]
push 0
push edi
call fcn.004c5a70
add esp, 0xc
push str.FOR_DO_NOT_CACHE_DIRECT_FILE
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00473860
add esp, 0x10
test edi, edi
je 0x43b9f5
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x100]
movsx eax, byte [edi]
cmp eax, 0x20
mov dword [ebp - 0x168], edx
mov edx, edi
jne 0x43b95e
inc edx
movsx eax, byte [edx]
cmp eax, 0x20
je 0x43b955
mov ecx, edx
je 0x43b972
movsx eax, byte [edx]
test eax, eax
je 0x43b972
inc ecx
movsx eax, byte [ecx]
cmp eax, 0x20
jne 0x43b965
push 0x4e681c
push edx
mov byte [ecx], 0
call fcn.0047cc20
add esp, 8
mov esi, eax
test esi, esi
je 0x43b9f5
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], edi
mov ebx, dword [ebp - 0x168]
push 0x2d
push esi
call fcn.0047a670
mov edi, eax
add esp, 8
test edi, edi
je 0x43d95d
push esi
mov byte [edi], 0
call fcn.0047ce00
add esp, 4
inc edi
push edi
mov esi, eax
call fcn.0047ce00
add esp, 4
cmp ebx, esi
jl 0x43b9d4
cmp ebx, eax
jle 0x43d96e
push 0x4e681c
push 0
call fcn.0047cc20
add esp, 8
mov esi, eax
test esi, esi
jne 0x43b99b
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x160]
or dword [ebp - 0x18], 0x10000000
mov edx, edi
mov eax, dword [ebp - 0x15c]
add eax, 0xf
and eax, 0xfffffff0
add esp, eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x15c]
movsx ecx, byte [edx + 0x15d]
and ecx, 0xfffffffe
cmp dword [ebx + 0x4c], 0
jne 0x43bad5
cmp ecx, 2
je 0x43ba46
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x173]
test dl, 8
jne 0x43ba43
test dl, 0x10
je 0x43ba5d
cmp ecx, 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 1
mov eax, 1
je 0x43baee
jmp 0x43bada
movzx eax, byte [eax + 0x178]
test al, 1
jne 0x43ba87
test al, 2
jne 0x43ba87
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x172]
and eax, 0x80
shr eax, 7
test dl, 4
je 0x43ba98
test eax, eax
je 0x43baad
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 5
mov eax, 5
jmp 0x43bae4
test eax, eax
je 0x43baad
mov eax, dword [ebp - 4]
mov byte [eax + 0x15c], 4
mov eax, 4
jmp 0x43bae4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 3
je 0x43bac7
mov byte [eax + 0x15c], 8
mov eax, 8
jmp 0x43bae4
mov byte [eax + 0x15c], 5
mov eax, 5
jmp 0x43bae4
cmp ecx, 2
je 0x43baee
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x173]
test dl, 8
jne 0x43baee
test dl, 0x10
je 0x43bb08
movsx edx, al
cmp edx, 1
je 0x43bb0b
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 0x43bb3d
movzx eax, byte [eax + 0x173]
test al, 1
jne 0x43bb26
test al, 2
je 0x43bb3d
cmp edx, 5
je 0x43bb46
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 0x43e607
or dword [ebp - 0x20], 1
cmp dword [ebx + 0x54], 0
jne 0x43bb5c
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43bb7d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x164], 0
or byte [eax + 0x172], 1
and byte [eax + 0x178], 0xfb
or dword [ebp - 0x20], 2
jmp 0x43bb87
mov dword [ebp - 0x164], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x43bbc7
cmp eax, 1
je 0x43bbbb
cmp eax, 2
je 0x43bbd1
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 0x43bbb7
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43bbe4
cmp dword [ebp - 0x38], 0
je 0x43e5e0
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 0x43bc07
test eax, eax
je 0x43bc57
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 0x43bd5b
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 0x40
je 0x43bc34
mov esi, dword [0x510e24]
cmp esi, 0xfffffffe
je 0x43e723
cmp esi, 0xffffffff
jne 0x43bc4c
jmp 0x43bd5b
mov esi, dword [0x510e28]
cmp esi, 0xfffffffe
je 0x43e711
cmp esi, 0xffffffff
je 0x43bd5b
mov dword [ebx + 0x48], esi
test esi, esi
je 0x43bd5b
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43bc8f
test esi, esi
jle 0x43bc7d
mov eax, esi
mov ecx, 0xfffffffa
cdq
mov eax, esi
xor edi, edi
sub eax, ecx
sbb edx, edi
jl 0x43bc97
or eax, edx
je 0x43bc97
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 0x43e735
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 0x43bccc
test byte [eax + 0x174], 0x10
jne 0x43bccc
cmp dword [ebx + 0x7c], 0
lea eax, [esi*4]
jne 0x43bccc
mov esi, eax
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x15c]
dec eax
cmp eax, 7
ja case.default.0x43bcdc
jmp dword [eax*4 + 0x4e67c4]
mov eax, dword [ebp - 4]
lea edx, [esi + 1]
cmp byte [eax + 0x15e], 3
jne case.0x43bcdc.1
mov esi, edx
jmp case.0x43bcdc.1
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x173]
test byte [ecx + 0x178], 2
jne 0x43bd11
test al, 4
je case.0x43bcdc.1
test edx, edx
je case.0x43bcdc.1
mov edx, ecx
or eax, 0xffffff80
mov esi, 0x400
mov dword [edx + 0xfc], 0x10000
mov byte [edx + 0x173], al
jmp case.0x43bcdc.1
add esi, 4
jmp case.0x43bcdc.1
add esi, 8
jmp case.0x43bcdc.1
push 0x6de
push str.for_nt_open_proc.c
push 2
push 8
call fcn.0041eea0
add esp, 0x10
mov eax, dword [ebp - 4]
mov dword [eax + 0xf8], esi
jmp 0x43be67
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15c], 1
je 0x43bd7a
mov esi, eax
movzx eax, byte [esi + 0x173]
test al, 8
mov dword [ebp - 0x168], eax
je 0x43bd9d
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 0x43bd99
mov eax, 0x25
mov esp, ebp
pop ebp
ret
mov eax, esi
movzx eax, byte [eax + 0x178]
test al, 1
jne 0x43bdcf
test al, 2
jne 0x43bdcf
mov eax, esi
mov ecx, dword [ebp - 0x168]
and ecx, 4
shr ecx, 2
movzx edx, byte [eax + 0x172]
test ecx, ecx
je 0x43bde7
test edx, 0x80
je 0x43bde7
mov eax, esi
mov dword [eax + 0xf8], 0x400
mov dword [eax + 0xfc], 0x10000
jmp 0x43be56
test byte [eax + 0x170], 4
je 0x43be0a
test dl, 0x40
je 0x43be0a
mov edx, eax
mov eax, 0x400
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], eax
jmp 0x43be56
test edx, 0x80
je 0x43be28
mov dword [eax + 0xf8], 0x800
mov dword [eax + 0xfc], 0x1fe
jmp 0x43be56
test ecx, ecx
je 0x43be42
mov dword [eax + 0xf8], 0x401
mov dword [eax + 0xfc], 0x400
jmp 0x43be56
mov dword [eax + 0xf8], 0x85
mov dword [eax + 0xfc], 0x84
mov edx, esi
mov eax, dword [ebp - 0x168]
or eax, 0xffffff80
mov byte [edx + 0x173], al
mov eax, dword [ebx + 4]
test eax, eax
je 0x43be7d
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 0x43bf01
mov eax, dword [ebp - 4]
test byte [eax + 0x172], 0x40
jne 0x43bebe
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 0x43beba
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x43bf01
cmp edx, 1
jne 0x43bed1
mov byte [eax + 0x161], 0x27
jmp 0x43bf0b
cmp edx, 3
jne 0x43bedf
mov byte [eax + 0x161], 0x22
jmp 0x43bf0b
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 0x43befd
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 0x43bf72
test byte [eax + 0x172], 0x40
jne 0x43bf3d
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 0x43bf39
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x43bf72
cmp edx, 1
jne 0x43bf50
and byte [eax + 0x176], 0xfd
jmp 0x43bf90
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 0x43bf6e
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 0x43bfe3
cmp eax, 2
je 0x43bfc9
cmp eax, 1
je 0x43bfc9
cmp eax, 3
je 0x43bfc9
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 0x43bfc5
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43b508
test al, 0x10
jne 0x43b508
mov eax, dword [ebx + 0x90]
cmp eax, 5
ja case.default.0x43bff2
jmp dword [eax*4 + 0x4e67e4]
mov ecx, dword [ebp - 4]
and dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x164], 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 - 0x168], eax
mov byte [ecx + 0x178], al
jmp 0x43c1b0
mov ecx, dword [ebp - 4]
and dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x164], 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 - 0x168], eax
mov byte [ecx + 0x178], al
jmp 0x43c1b0
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 + 0x178]
and eax, 0xffffffcb
movzx edx, byte [ecx + 0x172]
or eax, 8
and edx, 0xfffffffe
mov byte [ecx + 0x172], dl
mov dword [ebp - 0x168], eax
mov byte [ecx + 0x178], al
mov dword [ebp - 0x164], 0
jmp 0x43c1b0
mov ecx, dword [ebp - 4]
or dword [ebp - 0x20], 2
mov dword [ebp - 0x164], 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 - 0x168], eax
mov byte [ecx + 0x178], al
jmp 0x43c1b0
cmp dword [ebx + 0x54], 0
jne 0x43c10f
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43c144
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x164], 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 - 0x168], eax
mov byte [ecx + 0x178], al
jmp 0x43c1b0
cmp dword [ebx + 0x50], 0
je 0x43c185
mov ecx, eax
and dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x164], 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 - 0x168], eax
mov byte [ecx + 0x178], al
jmp 0x43c1b0
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 - 0x168], eax
mov byte [ecx + 0x178], al
mov eax, edx
and eax, 0x40
mov ecx, dword [ebx + 0xb4]
shr eax, 6
test ecx, ecx
je 0x43c1e9
test eax, eax
jne 0x43c1e9
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 0x43c1e5
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 0x43c222
test eax, eax
jne 0x43c222
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 0x43c21e
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x169], cl
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x43c258
test eax, eax
jne 0x43c258
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 0x43c254
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x16b], cl
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x43c28e
test eax, eax
jne 0x43c290
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 0x43c28a
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
test eax, eax
mov eax, esi
mov byte [eax + 0x16d], cl
je 0x43c2e8
movzx eax, byte [eax + 0x173]
test al, 2
jne 0x43c2a9
test al, 1
je 0x43c2ba
mov eax, esi
mov dword [eax + 0x13c], 3
jmp 0x43c399
test al, 8
je 0x43c2cf
mov eax, esi
mov dword [eax + 0x13c], 2
jmp 0x43c399
test al, 0x10
je 0x43c399
mov eax, esi
mov dword [eax + 0x13c], 8
jmp 0x43c399
test edx, 0x80
jne 0x43c2f9
test byte [ebp - 0x168], 1
je 0x43c351
movzx eax, byte [eax + 0x173]
test al, 2
jne 0x43c308
test al, 1
je 0x43c32d
test byte [ebp - 0x168], 1
je 0x43c31f
mov eax, esi
mov dword [eax + 0x13c], 7
jmp 0x43c399
mov eax, esi
mov dword [eax + 0x13c], 0xb
jmp 0x43c399
test al, 8
je 0x43c33f
mov eax, esi
mov dword [eax + 0x13c], 6
jmp 0x43c399
test al, 0x10
je 0x43c399
mov eax, esi
mov dword [eax + 0x13c], 9
jmp 0x43c399
test byte [ebp - 0x168], 2
movzx eax, byte [eax + 0x173]
je 0x43c399
test al, 2
jne 0x43c369
test al, 1
je 0x43c377
mov eax, esi
mov dword [eax + 0x13c], 5
jmp 0x43c399
test al, 8
je 0x43c389
mov eax, esi
mov dword [eax + 0x13c], 4
jmp 0x43c399
test al, 0x10
je 0x43c399
mov eax, esi
mov dword [eax + 0x13c], 0xa
mov eax, dword [0x512ea0]
cmp dword [ebx + 0x84], 0
je 0x43c3bd
test eax, eax
jne 0x43c3bd
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 0x43e578
test eax, eax
je 0x43d8a9
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x168], eax
mov eax, dword [ebx + 0x9c]
cmp eax, 1
je 0x43c4e1
test eax, eax
jne 0x43c477
mov eax, dword [ebp - 4]
test byte [eax + 0x179], 0x20
jne 0x43c416
push str.FORT_BUFFERED
call fcn.00430a20
add esp, 4
test eax, eax
je 0x43c4e1
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042fae0
add esp, 8
mov esi, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
lea eax, [ebp - 0x140]
sete dl
movzx ecx, byte [esi + 0x179]
shl edx, 6
and ecx, 0xffffffbf
push eax
push esi
or ecx, edx
mov byte [esi + 0x179], cl
call fcn.0042fae0
add esp, 8
xor edx, edx
cmp eax, 0xffffffff
sete dl
movzx ecx, byte [esi + 0x17c]
shl edx, 2
and ecx, 0xfffffffb
or ecx, edx
mov byte [esi + 0x17c], cl
jmp 0x43c4f2
cmp eax, 2
jne case.default.0x43b73b
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042fae0
add esp, 8
mov esi, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
lea eax, [ebp - 0x140]
sete dl
movzx ecx, byte [esi + 0x179]
shl edx, 6
and ecx, 0xffffffbf
push eax
push esi
or ecx, edx
mov byte [esi + 0x179], cl
call fcn.0042fae0
add esp, 8
xor edx, edx
cmp eax, 0xffffffff
sete dl
movzx ecx, byte [esi + 0x17c]
shl edx, 2
and ecx, 0xfffffffb
or ecx, edx
mov byte [esi + 0x17c], cl
jmp 0x43c4f2
mov eax, dword [ebp - 4]
and byte [eax + 0x179], 0xbf
and byte [eax + 0x17c], 0xfb
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call fcn.0042fae0
mov dword [ebp - 0x144], eax
add esp, 8
cmp dword [ebp - 0x144], 0xffffffff
je 0x43c57c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
cmp eax, 3
jne 0x43c530
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c], 1
jmp 0x43c535
cmp eax, 5
jne 0x43c551
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 4
je 0x43c57c
or byte [eax + 0x172], 2
mov dword [ebp - 0x1c], 3
jmp 0x43c57c
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x170]
test dl, 4
je 0x43c57c
mov eax, 0x229
test dl, 0x20
mov ebx, dword [ebp - 8]
jne 0x43c572
mov eax, 0x33
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x512ea0]
test ecx, ecx
jne 0x43c59b
cmp dword [ebp - 0x144], 0xfffffffa
jne 0x43c5cb
mov dword [ebp - 0x144], 1
jmp 0x43c5e5
cmp dword [ebp - 0x144], 0xfffffffa
je 0x43e3b7
cmp dword [ebp - 0x144], 1
je 0x43c5e5
cmp dword [ebp - 0x168], 0
jne 0x43d8a9
cmp dword [ebx + 0x84], 0
jne 0x43c3ab
cmp dword [ebp - 0x144], 0xfffffffc
je 0x43e4e9
cmp dword [ebp - 0x144], 0
jl 0x43e3a2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 1
jne 0x43c623
cmp dword [ebp - 0x144], 0
je 0x43c60c
cmp dword [ebp - 0x144], 2
je 0x43c60c
cmp dword [ebp - 0x144], 1
jne 0x43c623
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 - 0x28], 0
je 0x43c6df
cmp dword [ebx + 0xa4], 0
jne 0x43c6b4
cmp dword [ebx + 0x68], 0
je 0x43d986
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x140]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], 0
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43c676
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43c661
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 + 0xe4], eax
jmp 0x43c6ee
push dword [ebx + 0xa8]
call fcn.0047d2d0
mov dword [ebp - 0x168], eax
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe4], eax
mov edx, dword [ebx + 0xa8]
mov dword [ecx + 0x180], edx
jmp 0x43c6ee
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe4]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0xffffffff
je 0x43e0d6
cmp dword [ebx + 0xa4], 0
jne 0x43c825
mov eax, dword [ebp - 4]
cmp dword [0x5119c4], 0
mov dword [eax + 0x180], 0xffffffff
je 0x43c825
movzx eax, byte [eax + 0x173]
test al, 8
jne 0x43c825
cmp dword [ebp - 0x28], 0
je 0x43c7ad
mov edx, dword [ebp - 4]
test byte [edx + 0x178], 2
jne 0x43c756
test al, 4
je 0x43c75d
movzx ecx, byte [edx + 0x172]
test ecx, 0x80
je 0x43c75d
mov edx, 0x8000
jmp 0x43c75f
xor edx, edx
mov ecx, dword [ebp - 0x24]
test ecx, 0xc0000000
je 0x43c76f
or edx, 2
jmp 0x43c77e
mov esi, edx
or esi, 1
test ecx, 0x40000000
je 0x43c77e
mov edx, esi
cmp dword [ebx + 0x78], 1
je 0x43c788
test al, 1
je 0x43c78b
or edx, 8
push edx
push dword [ebp - 0x168]
call fcn.0047d460
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x180], eax
mov eax, dword [0x512ea0]
jmp 0x43c82a
cmp dword [0x512ea0], 0
jne 0x43c82e
cmp dword [ebp - 0x144], 1
je 0x43c809
cmp dword [ebp - 0x144], 0
jne 0x43c7e4
call fcn.00473a00
push eax
call fcn.0047d790
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43c867
cmp dword [ebp - 0x144], 2
jne 0x43c867
call fcn.00473a00
add eax, 0x40
push eax
call fcn.0047d790
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43c867
call fcn.00473a00
add eax, 0x20
push eax
call fcn.0047d790
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x180], eax
jmp 0x43c867
mov eax, dword [0x512ea0]
test eax, eax
je 0x43c858
test dword [ebp - 0x144], 0xfffffffe
je 0x43c84c
cmp dword [ebp - 0x144], 0xfffffffa
je 0x43c84c
cmp dword [ebp - 0x144], 2
jne 0x43c858
mov dword [ebp - 0x168], 2
jmp 0x43c879
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe4]
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 + 0x15e]
test eax, eax
jne 0x43c9aa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15c], 1
je 0x43d9b7
movzx edx, byte [eax + 0x171]
and edx, 6
shr edx, 1
test edx, edx
je 0x43c942
mov ecx, dword [eax + 0x100]
add ecx, 2
cmp ecx, 0x20
jae 0x43c942
mov eax, 1
shl eax, cl
test eax, 0x103
je 0x43c942
cmp edx, 1
je 0x43c922
cmp edx, 2
jne 0x43c8fc
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 0x43c9de
cmp edx, 3
jne case.default.0x43b73b
mov eax, dword [ebp - 4]
mov byte [eax + 0x15e], 3
movzx ecx, byte [eax + 0x170]
movzx edx, byte [eax + 0x172]
jmp 0x43c9de
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 0x43c99e
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x170]
test cl, 4
movzx edx, byte [eax + 0x172]
je 0x43c97e
cmp dword [eax + 0x13c], 1
je 0x43c991
test dl, 0x40
je 0x43c96f
cmp dword [ebp - 0x168], 2
je 0x43c991
mov byte [eax + 0x15e], 2
inc dword [eax + 0xf8]
jmp 0x43c9de
test dl, 0x40
je 0x43c96f
cmp dword [ebp - 0x168], 2
jne 0x43c96f
test cl, 1
je 0x43c96f
mov byte [eax + 0x15e], 1
inc dword [eax + 0xf8]
mov eax, dword [ebp - 4]
add dword [eax + 0xf8], 5
jmp 0x43c9de
mov edx, dword [ebp - 4]
cmp eax, 3
movzx ecx, byte [edx + 0x170]
movzx edx, byte [edx + 0x172]
je 0x43c9de
mov esi, dword [ebp - 4]
movsx edi, byte [esi + 0x15c]
cmp edi, 1
je 0x43c9d5
inc dword [esi + 0xf8]
cmp eax, 1
je 0x43e0c8
test cl, 1
je 0x43c9fe
mov eax, dword [ebp - 4]
test byte [eax + 0x173], 8
je 0x43c9fe
cmp byte [eax + 0x15d], 2
jne 0x43c9fe
inc dword [eax + 0xf8]
test cl, 4
je 0x43ca22
mov eax, dword [ebp - 4]
and edx, 0x40
shr edx, 6
test byte [eax + 0x173], 8
je 0x43ca28
test edx, edx
je 0x43ca28
add dword [eax + 0xf8], 2
jmp 0x43ca28
and edx, 0x40
shr edx, 6
cmp dword [ebp - 0x168], 1
jne 0x43ca40
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x174]
or eax, 8
jmp 0x43ca4d
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 0x43cb2f
push dword [ebp - 4]
call fcn.00425300
add esp, 4
test eax, eax
jne 0x43b1e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x43cb2f
cmp byte [eax + 0x1e], 0
je 0x43cb2f
mov esi, dword [eax + 0xc]
movzx eax, byte [esi + 0x175]
test al, 0x40
je 0x43caa4
cmp byte [esi + 0x15e], 1
je 0x43d9f0
push esi
call fcn.00426c20
add esp, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x43cabb
mov byte [edx + 0x1e], 0
test eax, eax
je 0x43cb1a
mov edx, dword [esi + 0x18]
test edx, edx
je 0x43da27
test byte [edx + 0x44], 2
je 0x43caf5
mov dword [edx + 0x38], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [esi + 0x64]
test edx, edx
je 0x43cae8
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [esi + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [esi + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0042af40
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
add dword [esi + 0x98], 1
adc dword [esi + 0x9c], 0
and byte [esi + 0x177], 0xfb
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
test al, 8
je 0x43cb5b
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
jne 0x43cb5b
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 - 0x28], 0
je 0x43d4c9
cmp dword [ebx + 0x58], 5
je 0x43df83
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x43d4b8
cmp eax, 2
je 0x43d4b8
cmp eax, 3
jne 0x43cbbb
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 0x43d4c9
cmp eax, 1
jne 0x43cd9b
cmp dword [ebx + 0x58], 5
je 0x43df59
mov eax, dword [ebp - 4]
test byte [eax + 0x174], 8
jne 0x43cbe6
movzx eax, byte [eax + 0x173]
jmp 0x43d4c9
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 + 0xe4]
call fcn.0043e790
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 0x43df13
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x168]
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 0x43d4c9
mov eax, esi
movsx edx, byte [eax + 0x15c]
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x43cc89
jmp dword [eax*4 + 0x4e67fc]
cmp edx, 7
je 0x43dc1f
cmp edx, 5
je 0x43dbec
mov dword [ebp - 0x164], 3
mov edx, esi
push eax
mov eax, dword [edx + 0xe4]
call fcn.0043e7f0
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 + 0xe4]
call fcn.0043e790
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 0x43ce10
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 0x43ce10
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43cd52
cmp dword [ebx + 0x68], 0
je 0x43da41
push 0
mov ecx, eax
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x164]
lea edx, [ebp - 0x160]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
je 0x43dbcb
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x154]
jne 0x43cdaa
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43d4c9
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
mov edx, esi
push eax
mov eax, dword [edx + 0xe4]
call fcn.0043e7f0
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43cee4
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 0x43cf4a
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43cf60
cmp dword [ebx + 0x68], 0
je 0x43dc3d
push 0
mov ecx, eax
lea eax, [ebp - 0x154]
push eax
push 4
lea edx, [ebp - 0x160]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43dbcb
cmp dword [ebp - 0x154], 4
jne 0x43cfbe
movzx eax, byte [ebp - 0x15f]
shl eax, 8
movzx edx, byte [ebp - 0x160]
or edx, eax
cmp edx, 1
je 0x43dce2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43d4c9
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
mov edx, esi
push eax
mov eax, dword [edx + 0xe4]
call fcn.0043e7f0
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43d1b3
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 0x43d1b3
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43d0b0
cmp dword [ebx + 0x68], 0
je 0x43dd43
push 0
mov ecx, eax
lea eax, [ebp - 0x154]
push eax
push 9
lea edx, [ebp - 0x160]
push edx
push dword [ecx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43dbcb
cmp dword [ebp - 0x154], 9
jne 0x43d14d
mov eax, dword [ebp - 4]
movzx esi, byte [ebp - 0x15b]
movzx edx, byte [ebp - 0x15a]
movzx ecx, byte [ebp - 0x159]
movzx edi, byte [ebp - 0x158]
test byte [eax + 0x175], 0x20
je 0x43d11c
shl ecx, 8
shl edx, 0x10
or edi, ecx
shl esi, 0x18
or edi, edx
or edi, esi
jmp 0x43d12b
shl edx, 8
shl ecx, 0x10
or esi, edx
shl edi, 0x18
or esi, ecx
or edi, esi
cmp edi, 1
jne 0x43cbda
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
mov edx, esi
push eax
mov eax, dword [edx + 0xe4]
call fcn.0043e7f0
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 + 0xf8]
mov eax, dword [edi + 0xe4]
mov dword [esp + 4], esi
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.0043e790
add esp, 0x10
mov edi, eax
mov ecx, 0xffffffff
mov esi, edx
sub edi, ecx
sub esi, ecx
or edi, esi
je 0x43d298
mov ecx, dword [ebp - 0x164]
sub ecx, eax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x168]
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 0x43d2fe
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d4c9
lea eax, [ebp - 0x164]
push eax
push 0
push esi
call fcn.00425a60
add esp, 0xc
test eax, eax
jne 0x43b1e9
mov eax, dword [ebp - 4]
test byte [eax + 0x176], 1
je 0x43d32e
cmp dword [ebx + 0x68], 0
je 0x43de20
mov edx, eax
lea eax, [ebp - 0x154]
push 0
push eax
push dword [edx + 0xf8]
push dword [ebp - 0x164]
push dword [edx + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x43dbcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
cmp eax, dword [ebp - 0x154]
jne 0x43d41e
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 0x172]
test ecx, 0x80
jne 0x43d393
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
push 0xe2c
push str.for_nt_open_proc.c
push 2
push 8
call fcn.0041eea0
add esp, 0x10
mov eax, esi
movzx eax, byte [eax + 0x173]
jmp 0x43d4c9
mov eax, dword [ebp - 4]
or byte [eax + 0x177], 4
movzx eax, byte [eax + 0x173]
test al, 1
je 0x43d57c
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
je 0x43d5a9
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 + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
mov eax, esi
cmp dword [eax + 0x13c], 7
jne 0x43d554
add esp, 0xfffffff0
mov ecx, 0xffffffff
mov edx, 1
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xe4]
call fcn.0043e790
add esp, 0x10
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x43db6a
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 0x43d5a9
mov edx, dword [ebp - 4]
test byte [edx + 0x174], 8
je 0x43d5a9
test byte [edx + 0x170], 4
je 0x43d595
test al, 8
jne 0x43d5a9
test byte [edx + 0x172], 0x40
jne 0x43d5a2
test al, 4
jne 0x43d5a9
or byte [edx + 0x175], 8
test eax, 0x80
jne 0x43d5c2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xf8]
mov word [edx + 0x158], ax
jmp 0x43d5f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 1
je 0x43e08f
test byte [eax + 0x170], 4
je 0x43d5eb
mov edx, eax
mov eax, 0x4f
mov word [edx + 0x158], ax
jmp 0x43d5f9
mov edx, eax
mov eax, 0x50
mov word [edx + 0x158], ax
mov edx, dword [ebx + 0x14]
test edx, edx
jle 0x43e050
mov ecx, dword [ebp - 4]
mov esi, dword [ebx + 0x10]
movzx ecx, byte [ecx + 0x170]
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x43d62a
cmp esi, 0x7ffffe00
jle 0x43d62a
mov esi, 0x7ffffe00
jmp 0x43d632
test esi, esi
jle 0x43e004
add esi, 0x1ff
and esi, 0xfffffe00
mov dword [ebx + 0x10], esi
mov ecx, dword [ebp - 4]
test byte [ecx + 0x173], 8
je 0x43d6aa
mov edx, ecx
test byte [edx + 0x170], 4
je 0x43d66a
movzx edx, byte [ecx + 0x179]
and edx, 0xffffffbf
mov byte [ecx + 0x179], dl
jmp 0x43d671
movzx edx, byte [edx + 0x179]
test dl, 0x40
mov ecx, dword [ecx + 0xf8]
je 0x43d6a4
cmp esi, ecx
jae 0x43d684
mov eax, ecx
mov esi, ecx
jmp 0x43d6be
imul edx, esi
mov ecx, dword [ecx + 0xf8]
lea eax, [ecx + 4]
cmp eax, edx
ja 0x43d6bc
mov eax, edx
mov esi, eax
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x172]
test edx, 0x80
je 0x43d6ea
mov edi, dword [ebp - 4]
cmp byte [edi + 0x15c], 3
je 0x43dfcd
mov eax, dword [ebp - 4]
mov dword [eax + 0xec], esi
mov ecx, dword [ebp - 4]
test dl, 0x40
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x140], eax
je 0x43d7ad
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 0x43d8da
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 0x43d8fd
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 0x43d920
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 0x43d943
mov eax, 0x30
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x58], 0
jne 0x43b197
mov dword [ebx + 0x58], 3
jmp 0x43b197
push esi
call fcn.0047ce00
add esp, 4
cmp eax, ebx
jne 0x43b9d4
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x160]
or dword [ebp - 0x18], 0x8000000
jmp 0x43b9fc
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 + 0xe4], eax
jmp 0x43c6ee
movzx ecx, byte [eax + 0x170]
test cl, 4
movzx edx, byte [eax + 0x172]
je 0x43d9e4
test byte [eax + 0x173], 8
je 0x43d9e4
test dl, 0x40
je 0x43d9e4
mov byte [eax + 0x15e], 2
jmp 0x43c9de
mov byte [eax + 0x15e], 3
jmp 0x43c9de
mov ecx, dword [esi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x43da1a
cmp edx, 0x2b
jne 0x43da0c
mov byte [ecx + 5], 0
movzx eax, byte [esi + 0x175]
and eax, 0xffffffbf
mov byte [esi + 0x175], al
jmp 0x43caa4
mov byte [ecx + 5], 0x24
movzx eax, byte [esi + 0x175]
jmp 0x43da0c
push esi
push eax
push eax
push 1
call fcn.0041cdf0
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 - 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 0x43dae2
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 0x43dc10
xor edx, edx
cmp eax, 2
setne dl
add edx, 2
mov dword [ebp - 0x164], edx
jmp 0x43ccac
mov dword [ebp - 0x164], 1
jmp 0x43ccac
mov eax, esi
cmp byte [eax + 0x15e], 3
jne 0x43cca2
mov dword [ebp - 0x164], 2
jmp 0x43ccac
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 0x43dbcb
add esp, 0xfffffff0
mov edx, 1
mov dword [esp + 4], 0xfffffffc
mov dword [esp + 8], 0xffffffff
call fcn.0043e790
add esp, 0x10
push 0
lea eax, [ebp - 0x154]
push eax
push 4
lea edx, [ebp - 0x160]
push edx
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xfffffff0
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.0043e790
add esp, 0x10
jmp 0x43cf82
cmp byte [ebp - 0x15e], 0x1a
je 0x43dcfa
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 edi, eax
cmp edi, 0xffffffff
je 0x43dbcb
add esp, 0xfffffff0
mov eax, edi
mov edx, 2
mov dword [esp + 4], 0xfffffff7
mov dword [esp + 8], 0xffffffff
call fcn.0043e790
add esp, 0x10
push 0
lea eax, [ebp - 0x154]
push eax
push 9
lea edx, [ebp - 0x160]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xfffffff0
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.0043e790
add esp, 0x10
jmp 0x43d0d2
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 0x43dbcb
mov ecx, dword [ebp - 4]
xor esi, esi
add esp, 0xfffffff0
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.0043e790
add esp, 0x10
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
push 0
push eax
push dword [edx + 0xf8]
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xfffffff0
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.0043e790
add esp, 0x10
jmp 0x43d353
mov edx, dword [ebp - 4]
push eax
mov eax, dword [edx + 0xe4]
call fcn.0043e7f0
add esp, 4
or eax, edx
jne 0x43df38
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x173]
jmp 0x43d4c9
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 0x43d4c9
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x43dfa5
mov eax, dword [ebp - 4]
and byte [eax + 0x175], 0xf7
jmp 0x43cb6f
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 0x43e011
mov dword [ebx + 0x10], 0x400
jmp 0x43e02c
mov esi, dword [0x510e2c]
cmp esi, 0xfffffffe
je 0x43e03e
test esi, esi
je 0x43e025
cmp esi, 0xffffffff
jne 0x43e036
mov dword [ebx + 0x10], 0x20000
mov esi, 0x2000
jmp 0x43d641
mov dword [ebx + 0x10], esi
jmp 0x43d641
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 [0x510e30]
cmp edx, 0xfffffffe
je 0x43e07d
test edx, edx
je 0x43e064
cmp edx, 0xffffffff
jne 0x43e075
mov dword [ebx + 0x14], 1
mov edx, 1
jmp 0x43d604
mov dword [ebx + 0x14], edx
jmp 0x43d604
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 0x43e09f
mov edx, 0x50
jmp 0x43e0a4
mov edx, 0x51
cmp byte [eax + 0x15c], 1
je 0x43e0bc
add edx, 4
mov word [eax + 0x158], dx
jmp 0x43d5f9
mov word [eax + 0x158], dx
jmp 0x43d5f9
cmp edi, 1
jne 0x43c99e
jmp 0x43c9de
cmp dword [ebx + 0xa4], 0
je 0x43e1c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.0047d880
mov dword [eax], ebx
cmp ebx, 2
jge 0x43e197
cmp ebx, 0x7b
je 0x43e6dc
cmp ebx, 0xa1
je 0x43e6dc
cmp ebx, 0xce
je 0x43e6dc
cmp ebx, 0xb7
je 0x43e747
cmp ebx, 0x50
je 0x43e747
cmp ebx, 0x13
je 0x43e6ee
cmp ebx, 5
je 0x43e6ee
cmp ebx, 0x14
je 0x43e185
cmp ebx, 0xf
je 0x43e185
cmp ebx, 4
jne 0x43e16a
mov edx, dword [ebp - 4]
mov eax, 0x25b
test byte [edx + 0x170], 0x20
jne 0x43e178
mov eax, 0x1e
jmp 0x43e178
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 0x43e0fb
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 0x43e1bf
mov eax, 0x1d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 1
je 0x43e1dc
test byte [eax + 0x171], 0x40
je 0x43e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
cmp eax, 0x13
movzx edx, byte [edx + 0x170]
je 0x43e1ff
cmp eax, 5
je 0x43e1ff
test dl, 4
je 0x43e280
test dl, 1
jne 0x43e280
cmp dword [ebp - 0x158], 0
je 0x43e280
mov edx, dword [ebp - 4]
test byte [edx + 0x171], 0x40
jne 0x43e280
test byte [edx + 0x176], 1
jne 0x43e280
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 + 0xe4], edx
je 0x43e350
or byte [eax + 0x171], 0x40
or byte [eax + 0x177], 0x10
jmp 0x43e33e
cmp eax, 0x20
jne 0x43e32f
cmp dword [ebp - 0x164], 0
je 0x43e32f
cmp dword [ebp - 0x158], 0
jne 0x43e2bc
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x40
jne 0x43e2bc
mov edx, dword [eax + 0xe4]
mov dword [ebp - 0x168], edx
jmp 0x43e33e
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 + 0xe4], edx
je 0x43e0e3
or byte [eax + 0x171], 0x40
or byte [eax + 0x177], 0x10
or byte [eax + 0x172], 1
or byte [eax + 0x178], 4
jmp 0x43c6fb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe4]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0xffffffff
je 0x43e0e3
jmp 0x43c6fb
test byte [eax + 0x170], 4
je 0x43e26d
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 + 0xe4], eax
or byte [edx + 0x176], 1
jmp 0x43e33e
test ecx, ecx
je 0x43c623
cmp dword [ebp - 0x144], 0xfffffffa
jne 0x43c623
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], 0
or byte [eax + 0x178], 0x80
cmp dword [ebx + 0x84], 0
je 0x43e3e3
cmp dword [ebx + 0x88], 0
jne 0x43e3e3
and byte [eax + 0x179], 0xfe
jmp 0x43e3ea
or byte [eax + 0x179], 1
mov eax, dword [ebp - 0x168]
test eax, eax
lea edx, [ebp - 0x150]
jne 0x43e3ff
mov eax, 0x100
push edx
push 0
mov dword [ebp - 0x168], eax
lea ecx, [eax + 1]
push ecx
call fcn.00425a60
add esp, 0xc
test eax, eax
jne 0x43b1e9
cmp dword [ebx + 0x98], 0
jne 0x43e443
mov eax, dword [ebp - 4]
push dword [eax + 0x100]
push str.Unit__i
push dword [ebp - 0x150]
call fcn.00472c00
add esp, 0xc
jmp 0x43e46d
push dword [ebp - 0x168]
push dword [ebx + 0x94]
push dword [ebp - 0x150]
call fcn.00472910
add esp, 0xc
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x168]
mov byte [eax + edx], 0
push dword [ebp - 0x150]
call fcn.004ca080
add esp, 4
mov edx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [edx + 0xe4], eax
je 0x43e76a
test byte [edx + 0x179], 1
je 0x43e4c6
push eax
call fcn.004ca140
add esp, 4
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call fcn.004ca0c0
add esp, 4
test eax, eax
jne 0x43e4c6
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 - 0x150]
call fcn.00425b20
add esp, 4
test eax, eax
je 0x43c623
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 0x43e537
push dword [eax + 0x60]
call fcn.00425b20
add esp, 4
test eax, eax
je 0x43e514
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x154]
push 0
push 5
call fcn.00425a60
add esp, 0xc
test eax, eax
je 0x43e537
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0x314d4f43
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 0x43e554
mov edx, dword [ebp - 4]
mov eax, 4
mov ecx, dword [0x512ea0]
mov word [edx + 0x15a], ax
jmp 0x43e3a2
test eax, eax
jne 0x43e594
push str.USER
lea eax, [ebp - 0x140]
push eax
call fcn.00475a50
add esp, 8
test eax, eax
je 0x43e5a3
mov dword [ebp - 0x168], 0
jmp 0x43c3de
mov dword [ebp - 0x140], 0x4e4f43
mov eax, esi
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 0x43e5b8
mov edx, dword [ebp - 4]
mov eax, 3
mov dword [ebp - 0x168], 0
mov word [edx + 0x15a], ax
jmp 0x43c3de
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 1
je 0x43bbd1
mov edx, eax
movzx eax, byte [edx + 0x173]
and eax, 0xffffffdf
mov byte [edx + 0x173], al
jmp 0x43bbe4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15e], 3
je 0x43bb46
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 0x43b8e1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x15d], 3
mov ecx, 3
jmp 0x43b8f0
mov edx, ecx
test byte [edx + 0x170], 4
je 0x43e679
test byte [edx + 0x173], 8
je 0x43e679
test byte [edx + 0x172], 0x40
je 0x43e679
mov byte [edx + 0x15e], 2
jmp 0x43b82d
movsx edx, al
cmp edx, 4
je 0x43e6be
cmp edx, 1
je 0x43e6be
movzx esi, byte [ecx + 0x172]
test esi, 0x80
jne 0x43e6be
movzx ecx, byte [ecx + 0x178]
test cl, 1
jne 0x43e6be
test cl, 2
jne 0x43e6be
test esi, 0x40
je 0x43b82d
add edx, 0xfffffffb
cmp edx, 3
ja 0x43b82d
mov edx, dword [ebp - 4]
mov byte [edx + 0x15e], 3
jmp 0x43b82d
mov dword [ebp - 0x158], 1
jmp 0x43b38b
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 0x43e70d
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 0x43e766
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 0x43e786
mov eax, 9
mov esp, ebp
pop ebp
ret