Function at 0x42a9ed
Capabilities:
Check if file exists
Clear file content
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
mov ebx, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 1
test byte [edx + 0x168], 4
je 0x429bf0
cmp dword [ebx + 0x80], 0
jne 0x429bf0
cmp dword [ebx + 0x2c], 0
je 0x42c208
cmp dword [ebx + 0xa4], 0
je 0x429c02
mov byte [ebp - 0x13c], 0
jmp 0x429c49
mov esi, dword [ebx + 0x58]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x38], esi
lea esi, [ebp - 0x24]
mov dword [esp + 0xc], esi
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], edi
call fcn.004287fc
test eax, eax
je 0x429c49
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x13c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x429c66
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x429c51
dec eax
mov edx, dword [ebp - 4]
movsx esi, ax
add esi, 0xa
mov word [edx + 0x152], ax
lea ecx, [edx + 0x60]
push ecx
push 0
push esi
mov dword [ebp - 0x158], ecx
call fcn.0040fe90
add esp, 0xc
test eax, eax
je 0x429c9c
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x429ca8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
or edx, dword [eax + 0x9c]
jne 0x429cd7
mov dword [eax + 0x98], 1
mov dword [eax + 0x9c], 0
cmp dword [ebx + 0x44], 0
je 0x429cfb
or byte [eax + 0x169], 0x40
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0x80000000
or byte [eax + 0x16f], 0x10
jmp 0x429d09
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42cef3
cmp eax, 2
je 0x429db8
cmp eax, 1
jne 0x429d54
mov eax, dword [ebp - 4]
mov dword [ebp - 0x15c], 0
or byte [eax + 0x169], 0x40
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x429dde
cmp eax, 3
jne 0x429d95
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
mov dword [ebp - 0x15c], 0
or byte [eax + 0x16e], 1
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x429dde
mov edx, dword [ebp - 4]
mov eax, 0x2ed
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x429db4
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
xor eax, eax
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov dword [ebp - 0x15c], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x429eb6
cmp eax, 2
je 0x429e90
cmp eax, 1
jne 0x429e2c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x15c], 0
or byte [eax + 0x169], 0x40
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
or edx, 0x80000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x429eb6
cmp eax, 3
jne 0x429e6d
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
mov dword [ebp - 0x15c], 0
or byte [eax + 0x16e], 1
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
or edx, 0x40000000
or dword [ebp - 0x14], 0x80
mov dword [ebp - 0x20], edx
jmp 0x429eb6
mov edx, dword [ebp - 4]
mov eax, 0x23b
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x429e8c
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
xor eax, eax
or dword [ebp - 0x14], 0x80
or dword [ebp - 0x20], 0xc0000000
mov dword [ebp - 0x15c], eax
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x429ec8
mov eax, dword [eax*4 + 0x4d6130]
jmp eax
mov eax, dword [ebp - 4]
or byte [eax + 0x16b], 4
and byte [eax + 0x168], 0x7b
jmp case.0x429ec8.0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16b]
or eax, 0x10
mov byte [edx + 0x16b], al
jmp 0x429f3a
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
mov edx, eax
movzx eax, byte [edx + 0x16b]
or eax, 3
mov byte [edx + 0x16b], al
jmp 0x429f3a
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16b]
or eax, 8
mov byte [edx + 0x16b], al
jmp 0x429f3a
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16b]
or eax, 2
mov byte [edx + 0x16b], al
mov edx, dword [ebx + 0x58]
cmp edx, 5
ja case.default.0x429f4d
mov edx, dword [edx*4 + 0x4d6148]
jmp edx
test al, 1
je 0x429f71
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
jne 0x429f71
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
or dword [ebp - 0x18], 2
or dword [ebp - 0x14], 0x4000002
or byte [eax + 0x16a], 4
jmp 0x42a020
test al, 1
je 0x429fad
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
jne 0x429fad
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
or dword [ebp - 0x18], 1
jmp 0x42a020
mov eax, dword [ebp - 4]
or byte [eax + 0x16a], 2
or dword [ebp - 0x18], 3
jmp 0x42a020
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
je case.0x429f4d.4
push str.USER
lea eax, [ebp - 0x13c]
push eax
call fcn.00470730
add esp, 8
test eax, eax
jne case.0x429f4d.4
mov eax, dword [ebp - 4]
or byte [eax + 0x16a], 8
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
je 0x42a006
test byte [eax + 0x168], 4
je 0x42a00f
test byte [eax + 0x16f], 0x10
je case.0x429f4d.5
or byte [eax + 0x16a], 2
or dword [ebp - 0x18], 3
jmp 0x42a020
or dword [ebp - 0x18], 4
mov eax, dword [ebx + 0x28]
cmp eax, 6
ja case.default.0x42a19d
mov eax, dword [eax*4 + 0x4d6160]
jmp eax
mov eax, dword [ebp - 4]
test byte [eax + 0x16a], 4
je case.0x42a033.2
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16a]
test al, 4
jne 0x429f5f
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x16a], al
jmp case.0x42a033.0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16a]
test al, 4
jne 0x429f5f
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x16a], al
jmp case.0x42a033.0
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x429f5f
mov edx, eax
movzx eax, byte [edx + 0x16a]
or eax, 8
mov byte [edx + 0x16a], al
mov edx, dword [ebx + 0x28]
cmp edx, 5
jne 0x42a0ce
mov edx, dword [ebp - 4]
or eax, 0x10
mov byte [edx + 0x16a], al
jmp case.0x42a033.0
cmp edx, 6
jne case.0x42a033.0
mov edx, dword [ebp - 4]
or eax, 0x20
mov byte [edx + 0x16a], al
jmp case.0x42a033.0
mov eax, dword [ebp - 4]
test byte [eax + 0x16a], 4
je case.0x42a033.0
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x34]
cmp eax, 4
ja case.default.0x42a112
mov eax, dword [eax*4 + 0x4d617c]
jmp eax
mov eax, dword [ebp - 4]
or byte [eax + 0x170], 2
jmp 0x42a17f
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x168]
test edx, 0x80
jne 0x42a16c
or byte [eax + 0x16a], 0x80
jmp 0x42a17f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
test al, 8
jne 0x42a151
test al, 0x10
jne 0x42a151
test al, 4
je case.0x42a112.1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x168]
test edx, 0x80
jne 0x42a16c
or byte [eax + 0x16a], 0x80
jmp 0x42a17f
or byte [eax + 0x170], 1
jmp 0x42a17f
mov eax, dword [ebp - 4]
or byte [eax + 0x16a], 0x40
mov edx, eax
mov eax, dword [ebx + 0x4c]
mov byte [edx + 0x154], al
mov edx, dword [ebx + 0x4c]
cmp edx, 8
ja case.default.0x42a19d
mov edx, dword [edx*4 + 0x4d6190]
jmp edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x16b]
test dl, 8
jne 0x42a1c4
test dl, 0x10
jne 0x42a1c4
test dl, 4
jne 0x42a1c4
mov edx, dword [ebp - 4]
test byte [edx + 0x16a], 0x40
je case.0x42a19d.0
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x154], 4
mov eax, 4
jmp case.0x42a19d.0
mov edx, dword [ebp - 4]
test byte [edx + 0x16b], 4
je case.0x42a19d.0
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ecx + 0x156], dl
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x42ce70
cmp edx, 1
je 0x42a27d
cmp edx, 2
jne 0x42a256
mov edx, ecx
test byte [edx + 0x16b], 4
jne 0x429f5f
test byte [edx + 0x16a], 0x40
je 0x42a28c
movsx edx, al
cmp edx, 5
jl 0x42a28c
cmp edx, 8
jg 0x42a28c
mov edx, ecx
mov byte [edx + 0x156], 3
jmp 0x42a28c
cmp edx, 3
je 0x42a28c
mov edx, ecx
mov eax, 0x2f2
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a279
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, ecx
test byte [edx + 0x16b], 4
jne 0x429f5f
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x42ce49
cmp edx, 1
je 0x42a30a
cmp edx, 2
jne 0x42a2bd
mov eax, dword [ebp - 4]
test byte [eax + 0x16b], 0x10
jne 0x429f5f
mov byte [eax + 0x155], 2
jmp 0x42a354
cmp edx, 3
jne case.default.0x42a19d
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x16b]
test dl, 8
jne 0x429f5f
test dl, 1
jne 0x429f5f
test dl, 4
jne 0x429f5f
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x155], 3
mov ecx, 3
jmp 0x42a34f
mov eax, 0x30
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x16b]
test dl, 8
je 0x42a337
movsx ecx, al
cmp ecx, 1
je 0x42a337
test ecx, ecx
je 0x42a337
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test dl, 0x10
jne 0x429f5f
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x155], 1
mov ecx, 1
test dl, 8
je 0x42a3a4
push str.FOR_DO_NOT_CASHE_DIRECT_FILE
call fcn.0046f3d0
add esp, 4
mov edx, eax
test edx, edx
je 0x42a38c
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x100]
call fcn.0042d060
test eax, eax
je 0x42a38c
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x154]
movsx ecx, byte [edx + 0x155]
jmp 0x42a3a4
mov edx, dword [ebp - 4]
or dword [ebp - 0x14], 0x10000000
movsx eax, byte [edx + 0x154]
movsx ecx, byte [edx + 0x155]
cmp dword [ebx + 0x4c], 0
jne 0x42a455
cmp ecx, 3
je 0x42a3cc
cmp ecx, 2
je 0x42a3cc
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x16b]
test dl, 8
jne 0x42a3cc
test dl, 0x10
je 0x42a3dd
mov eax, dword [ebp - 4]
mov byte [eax + 0x154], 1
mov eax, 1
jmp 0x42a455
movzx eax, byte [eax + 0x170]
test al, 1
jne 0x42a407
test al, 2
jne 0x42a407
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16a]
and eax, 0x80
shr eax, 7
test dl, 4
je 0x42a418
test eax, eax
je 0x42a42d
mov eax, dword [ebp - 4]
mov byte [eax + 0x154], 5
mov eax, 5
jmp 0x42a46e
test eax, eax
je 0x42a42d
mov eax, dword [ebp - 4]
mov byte [eax + 0x154], 4
mov eax, 4
jmp 0x42a46e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x156], 3
je 0x42a447
mov byte [eax + 0x154], 8
mov eax, 8
jmp 0x42a46e
mov byte [eax + 0x154], 5
mov eax, 5
jmp 0x42a46e
cmp ecx, 3
je 0x42a473
cmp ecx, 2
je 0x42a473
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x16b]
test dl, 8
jne 0x42a473
test dl, 0x10
je 0x42a48d
movsx edx, al
cmp edx, 1
je 0x42a490
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx edx, al
mov eax, dword [ebp - 4]
test byte [eax + 0x170], 1
je 0x42a4c2
movzx eax, byte [eax + 0x16b]
test al, 1
jne 0x42a4ab
test al, 2
je 0x42a4c2
cmp edx, 5
je 0x42a4cb
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp edx, 4
je 0x42ce27
or dword [ebp - 0x1c], 1
cmp dword [ebx + 0x54], 0
jne 0x42a4e1
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
je 0x42a502
mov eax, dword [ebp - 4]
mov dword [ebp - 0x160], 0
or byte [eax + 0x16a], 1
and byte [eax + 0x170], 0xfb
or dword [ebp - 0x1c], 2
jmp 0x42a50c
mov dword [ebp - 0x160], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x42a54c
cmp eax, 1
je 0x42a540
cmp eax, 2
je 0x42a556
mov edx, dword [ebp - 4]
mov eax, 0x23d
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a53c
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
jmp 0x42a569
cmp dword [ebp - 0x34], 0
je 0x42ce00
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16b]
or eax, 0x20
mov byte [edx + 0x16b], al
and eax, 4
mov edx, dword [ebx + 0x48]
shr eax, 2
mov dword [ebp - 0x164], edx
test edx, edx
je 0x42a592
test eax, eax
je 0x42a5f9
mov eax, 0x70
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x42a753
mov eax, dword [ebp - 4]
test byte [eax + 0x16a], 0x40
je 0x42a5c8
mov eax, dword [0x50a4ec]
cmp eax, 0xfffffffe
mov dword [ebp - 0x164], eax
je 0x42cf6c
cmp dword [ebp - 0x164], 0xffffffff
jne 0x42a5e9
jmp 0x42a753
mov eax, dword [0x50a4f0]
cmp eax, 0xfffffffe
mov dword [ebp - 0x164], eax
je 0x42cf5a
cmp dword [ebp - 0x164], 0xffffffff
je 0x42a753
mov dword [ebx + 0x48], eax
cmp dword [ebp - 0x164], 0
je 0x42a753
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
je 0x42a638
cmp dword [ebp - 0x164], 0
jle 0x42a626
mov ecx, 0xfffffffa
xor esi, esi
mov eax, dword [ebp - 0x164]
cdq
sub eax, ecx
sbb edx, esi
jl 0x42a645
or eax, edx
je 0x42a645
mov eax, 0x245
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x164], 0
jle 0x42cf7e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x164]
mov dword [edx + 0xfc], eax
movzx edx, byte [edx + 0x16a]
and edx, 0x80
shr edx, 7
test edx, edx
je 0x42a68f
mov eax, dword [ebp - 4]
test byte [eax + 0x16c], 0x10
jne 0x42a68f
mov ecx, dword [ebp - 0x164]
cmp dword [ebx + 0x7c], 0
lea eax, [ecx*4]
jne 0x42a689
mov ecx, eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x154]
dec eax
cmp eax, 7
ja case.default.0x42a6aa
mov eax, dword [eax*4 + 0x4d61b4]
jmp eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x164]
cmp byte [eax + 0x156], 3
lea edx, [ecx + 1]
jne 0x42a6c3
mov ecx, edx
mov dword [ebp - 0x164], ecx
jmp case.0x42a6aa.1
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x16b]
test byte [ecx + 0x170], 2
jne 0x42a6e6
test al, 4
je case.0x42a6aa.1
test edx, edx
je case.0x42a6aa.1
mov edx, ecx
or eax, 0xffffff80
mov dword [ebp - 0x164], 0x400
mov dword [edx + 0xfc], 0x10000
mov byte [edx + 0x16b], al
jmp case.0x42a6aa.1
mov eax, dword [ebp - 0x164]
add eax, 4
mov dword [ebp - 0x164], eax
jmp case.0x42a6aa.1
mov eax, dword [ebp - 0x164]
add eax, 8
mov dword [ebp - 0x164], eax
jmp case.0x42a6aa.1
push 0x6ba
push str.for_nt_open_proc.c
push 2
push 8
call fcn.00416110
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x164]
mov dword [edx + 0xf8], eax
jmp 0x42a85f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x154], 1
je 0x42a772
mov esi, eax
movzx eax, byte [esi + 0x16b]
test al, 8
mov dword [ebp - 0x164], eax
je 0x42a795
mov edx, dword [ebp - 4]
mov eax, 0x241
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a791
mov eax, 0x25
mov esp, ebp
pop ebp
ret
mov eax, esi
movzx eax, byte [eax + 0x170]
test al, 1
jne 0x42a7c7
test al, 2
jne 0x42a7c7
mov eax, esi
mov ecx, dword [ebp - 0x164]
and ecx, 4
shr ecx, 2
movzx edx, byte [eax + 0x16a]
test ecx, ecx
je 0x42a7df
test edx, 0x80
je 0x42a7df
mov eax, esi
mov dword [eax + 0xf8], 0x400
mov dword [eax + 0xfc], 0x10000
jmp 0x42a84e
test byte [eax + 0x168], 4
je 0x42a802
test dl, 0x40
je 0x42a802
mov edx, eax
mov eax, 0x400
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], eax
jmp 0x42a84e
test edx, 0x80
je 0x42a820
mov dword [eax + 0xf8], 0x800
mov dword [eax + 0xfc], 0x1fe
jmp 0x42a84e
test ecx, ecx
je 0x42a83a
mov dword [eax + 0xf8], 0x401
mov dword [eax + 0xfc], 0x400
jmp 0x42a84e
mov dword [eax + 0xf8], 0x85
mov dword [eax + 0xfc], 0x84
mov edx, esi
mov eax, dword [ebp - 0x164]
or eax, 0xffffff80
mov byte [edx + 0x16b], al
mov eax, dword [ebx + 4]
test eax, eax
je 0x42a872
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 8]
mov byte [edx + 0x157], al
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0xd8], eax
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x42a8f3
mov eax, dword [ebp - 4]
test byte [eax + 0x16a], 0x40
jne 0x42a8b0
mov edx, eax
mov eax, 0x2ee
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a8ac
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x42a8f3
cmp edx, 1
jne 0x42a8c3
mov byte [eax + 0x159], 0x27
jmp 0x42a8fd
cmp edx, 3
jne 0x42a8d1
mov byte [eax + 0x159], 0x22
jmp 0x42a8fd
mov edx, eax
mov eax, 0x2ef
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a8ef
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x159], 0
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x42a964
test byte [eax + 0x16a], 0x40
jne 0x42a92f
mov edx, eax
mov eax, 0x2f0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a92b
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
cmp edx, 2
je 0x42a964
cmp edx, 1
jne 0x42a942
and byte [eax + 0x16e], 0xfd
jmp 0x42a982
mov edx, eax
mov eax, 0x2f1
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a960
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, eax
movzx eax, byte [edx + 0x16e]
movzx esi, byte [edx + 0x168]
and eax, 0xfffffffd
and esi, 2
or eax, esi
mov byte [edx + 0x16e], al
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x42a9d5
cmp eax, 2
je 0x42a9bb
cmp eax, 1
je 0x42a9bb
cmp eax, 3
je 0x42a9bb
mov edx, dword [ebp - 4]
mov eax, 0x2ec
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42a9b7
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
test al, 8
jne 0x429f5f
test al, 0x10
jne 0x429f5f
mov eax, dword [ebx + 0x90]
cmp eax, 5
ja case.default.0x42a9eb
mov eax, dword [eax*4 + 0x4d61d4]
jmp eax
mov ecx, dword [ebp - 4]
and dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x170]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x16a]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
jmp 0x42aba4
mov ecx, dword [ebp - 4]
and dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x170]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x16a]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
jmp 0x42aba4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
or edx, 2
and edx, 0xfffffffe
mov dword [ebp - 0x1c], edx
movzx eax, byte [ecx + 0x170]
and eax, 0xffffffcb
movzx edx, byte [ecx + 0x16a]
or eax, 8
and edx, 0xfffffffe
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
mov dword [ebp - 0x160], 0
jmp 0x42aba4
mov ecx, dword [ebp - 4]
or dword [ebp - 0x1c], 2
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x170]
or eax, 4
movzx edx, byte [ecx + 0x16a]
and eax, 0xffffffc7
or edx, 1
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
jmp 0x42aba4
cmp dword [ebx + 0x54], 0
jne 0x42ab03
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
je 0x42ab38
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x160], 0
movzx edx, byte [ecx + 0x16a]
movzx eax, byte [ecx + 0x170]
or edx, 1
or eax, 4
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
jmp 0x42aba4
cmp dword [ebx + 0x50], 0
je 0x42ab79
mov ecx, eax
and dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x160], 0
movzx eax, byte [ecx + 0x170]
and eax, 0xffffffd3
movzx edx, byte [ecx + 0x16a]
or eax, 0x10
and edx, 0xfffffffe
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
jmp 0x42aba4
mov ecx, eax
movzx eax, byte [ecx + 0x170]
and eax, 0xffffffe3
movzx edx, byte [ecx + 0x16a]
or eax, 0x20
and edx, 0xfffffffe
mov byte [ecx + 0x16a], dl
mov dword [ebp - 0x164], eax
mov byte [ecx + 0x170], al
mov eax, edx
and eax, 0x40
mov ecx, dword [ebx + 0xb4]
shr eax, 6
test ecx, ecx
je 0x42abdd
test eax, eax
jne 0x42abdd
mov edx, dword [ebp - 4]
mov eax, 0x2f0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42abd9
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov byte [esi + 0x15f], cl
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x42ac16
test eax, eax
jne 0x42ac16
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42ac12
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x161], cl
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x42ac4c
test eax, eax
jne 0x42ac4c
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42ac48
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x163], cl
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x42ac82
test eax, eax
jne 0x42ac84
mov edx, esi
mov eax, 0x2f0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42ac7e
mov eax, 0x2e
mov esp, ebp
pop ebp
ret
test eax, eax
mov eax, esi
mov byte [eax + 0x165], cl
je 0x42acdc
movzx eax, byte [eax + 0x16b]
test al, 2
jne 0x42ac9d
test al, 1
je 0x42acae
mov eax, esi
mov dword [eax + 0x138], 3
jmp 0x42ad8d
test al, 8
je 0x42acc3
mov eax, esi
mov dword [eax + 0x138], 2
jmp 0x42ad8d
test al, 0x10
je 0x42ad8d
mov eax, esi
mov dword [eax + 0x138], 8
jmp 0x42ad8d
test edx, 0x80
jne 0x42aced
test byte [ebp - 0x164], 1
je 0x42ad45
movzx eax, byte [eax + 0x16b]
test al, 2
jne 0x42acfc
test al, 1
je 0x42ad21
test byte [ebp - 0x164], 1
je 0x42ad13
mov eax, esi
mov dword [eax + 0x138], 7
jmp 0x42ad8d
mov eax, esi
mov dword [eax + 0x138], 0xb
jmp 0x42ad8d
test al, 8
je 0x42ad33
mov eax, esi
mov dword [eax + 0x138], 6
jmp 0x42ad8d
test al, 0x10
je 0x42ad8d
mov eax, esi
mov dword [eax + 0x138], 9
jmp 0x42ad8d
test byte [ebp - 0x164], 2
movzx eax, byte [eax + 0x16b]
je 0x42ad8d
test al, 2
jne 0x42ad5d
test al, 1
je 0x42ad6b
mov eax, esi
mov dword [eax + 0x138], 5
jmp 0x42ad8d
test al, 8
je 0x42ad7d
mov eax, esi
mov dword [eax + 0x138], 4
jmp 0x42ad8d
test al, 0x10
je 0x42ad8d
mov eax, esi
mov dword [eax + 0x138], 0xa
mov eax, dword [0x50c480]
cmp dword [ebx + 0x84], 0
je 0x42adb1
test eax, eax
jne 0x42adb1
mov eax, 0x232
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x94], 0
je 0x42cd98
test eax, eax
je 0x42c16a
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x164], eax
mov eax, dword [ebx + 0x9c]
cmp eax, 1
je 0x42ae3b
test eax, eax
jne 0x42ae00
mov eax, dword [ebp - 4]
test byte [eax + 0x171], 0x20
jne 0x42ae09
push str.FORT_BUFFERED
call fcn.004320e0
add esp, 4
test eax, eax
je 0x42ae3b
jmp 0x42ae09
cmp eax, 2
jne case.default.0x42a19d
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call fcn.00413770
add esp, 8
mov esi, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
sete dl
movzx ecx, byte [esi + 0x171]
shl edx, 6
and ecx, 0xffffffbf
or ecx, edx
mov byte [esi + 0x171], cl
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call fcn.00413770
mov dword [ebp - 0x140], eax
add esp, 8
cmp dword [ebp - 0x140], 0xffffffff
je 0x42aec5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
cmp eax, 3
jne 0x42ae79
mov eax, dword [ebp - 4]
mov dword [eax + 0x138], 1
jmp 0x42ae7e
cmp eax, 5
jne 0x42ae9a
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 4
je 0x42aec5
or byte [eax + 0x16a], 2
mov dword [ebp - 0x18], 3
jmp 0x42aec5
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 0x168]
test dl, 4
je 0x42aec5
mov eax, 0x229
test dl, 0x20
mov ebx, dword [ebp - 0x10]
jne 0x42aebb
mov eax, 0x33
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x50c480]
test ecx, ecx
jne 0x42aee4
cmp dword [ebp - 0x140], 0xfffffffa
jne 0x42af14
mov dword [ebp - 0x140], 1
jmp 0x42af2e
cmp dword [ebp - 0x140], 0xfffffffa
je 0x42cbda
cmp dword [ebp - 0x140], 1
je 0x42af2e
cmp dword [ebp - 0x164], 0
jne 0x42c16a
cmp dword [ebx + 0x84], 0
jne 0x42ad9f
cmp dword [ebp - 0x140], 0xfffffffc
je 0x42cd09
cmp dword [ebp - 0x140], 0
jl 0x42cbc5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 1
jne 0x42af6c
cmp dword [ebp - 0x140], 0
je 0x42af55
cmp dword [ebp - 0x140], 2
je 0x42af55
cmp dword [ebp - 0x140], 1
jne 0x42af6c
mov edx, eax
shl ecx, 7
movzx eax, byte [edx + 0x170]
and eax, 0x7f
or eax, ecx
mov byte [edx + 0x170], al
cmp dword [ebp - 0x24], 0
je 0x42b020
cmp dword [ebx + 0xa4], 0
jne 0x42aff9
cmp dword [ebx + 0x68], 0
je 0x42c21e
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x13c]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], 0
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x42afbf
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x42afaa
dec eax
push eax
lea edx, [ebp - 0x148]
push edx
lea edi, [ebp - 0x144]
push edi
lea ecx, [ebp - 0x14]
push ecx
lea esi, [ebp - 0x18]
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x13c]
push ecx
call dword [ebx + 0x68]
add esp, 0x24
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
jmp 0x42b029
push dword [ebx + 0xa8]
call fcn.00472bc0
add esp, 4
mov esi, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], esi
mov eax, dword [ebx + 0xa8]
mov dword [edx + 0x178], eax
jmp 0x42b029
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
cmp esi, 0xffffffff
je 0x42c928
cmp dword [ebx + 0xa4], 0
jne 0x42b157
mov eax, dword [ebp - 4]
cmp dword [0x50a510], 0
mov dword [eax + 0x178], 0xffffffff
je 0x42b157
movzx eax, byte [eax + 0x16b]
test al, 8
jne 0x42b157
cmp dword [ebp - 0x24], 0
je 0x42b0df
mov edx, dword [ebp - 4]
test byte [edx + 0x170], 2
jne 0x42b08d
test al, 4
je 0x42b094
movzx ecx, byte [edx + 0x16a]
test ecx, 0x80
je 0x42b094
mov edx, 0x8000
jmp 0x42b096
xor edx, edx
mov ecx, dword [ebp - 0x20]
test ecx, 0xc0000000
je 0x42b0a6
or edx, 2
jmp 0x42b0b5
mov edi, edx
or edi, 1
test ecx, 0x40000000
je 0x42b0b5
mov edx, edi
cmp dword [ebx + 0x78], 1
je 0x42b0bf
test al, 1
je 0x42b0c2
or edx, 8
push edx
push esi
call fcn.00472d30
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x178], eax
mov eax, dword [0x50c480]
jmp 0x42b15c
cmp dword [0x50c480], 0
jne 0x42b160
cmp dword [ebp - 0x140], 1
je 0x42b13b
cmp dword [ebp - 0x140], 0
jne 0x42b116
call fcn.00470b60
push eax
call fcn.00473090
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x178], eax
jmp 0x42b191
cmp dword [ebp - 0x140], 2
jne 0x42b191
call fcn.00470b60
add eax, 0x40
push eax
call fcn.00473090
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x178], eax
jmp 0x42b191
call fcn.00470b60
add eax, 0x20
push eax
call fcn.00473090
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x178], eax
jmp 0x42b191
mov eax, dword [0x50c480]
test eax, eax
je 0x42b188
mov eax, dword [ebp - 0x140]
lea ecx, [eax + 6]
cmp ecx, 0x20
jae 0x42b188
mov eax, 1
shl eax, cl
test eax, 0x1c1
je 0x42b188
mov dword [ebp - 0x164], 2
jmp 0x42b19e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x156]
test eax, eax
jne 0x42b2cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x154], 1
je 0x42c24b
movzx edx, byte [eax + 0x169]
and edx, 6
shr edx, 1
test edx, edx
je 0x42b267
mov ecx, dword [eax + 0x100]
add ecx, 2
cmp ecx, 0x20
jae 0x42b267
mov eax, 1
shl eax, cl
test eax, 0x103
je 0x42b267
cmp edx, 1
je 0x42b247
cmp edx, 2
jne 0x42b221
mov eax, dword [ebp - 4]
mov byte [eax + 0x156], 2
movzx ecx, byte [eax + 0x168]
movzx edx, byte [eax + 0x16a]
inc dword [eax + 0xf8]
jmp 0x42b303
cmp edx, 3
jne case.default.0x42a19d
mov eax, dword [ebp - 4]
mov byte [eax + 0x156], 3
movzx ecx, byte [eax + 0x168]
movzx edx, byte [eax + 0x16a]
jmp 0x42b303
mov eax, dword [ebp - 4]
mov byte [eax + 0x156], 1
movzx ecx, byte [eax + 0x168]
movzx edx, byte [eax + 0x16a]
inc dword [eax + 0xf8]
jmp 0x42b2c3
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x168]
test cl, 4
movzx edx, byte [eax + 0x16a]
je 0x42b2a3
cmp dword [eax + 0x138], 1
je 0x42b2b6
test dl, 0x40
je 0x42b294
cmp dword [ebp - 0x164], 2
je 0x42b2b6
mov byte [eax + 0x156], 2
inc dword [eax + 0xf8]
jmp 0x42b303
test dl, 0x40
je 0x42b294
cmp dword [ebp - 0x164], 2
jne 0x42b294
test cl, 1
je 0x42b294
mov byte [eax + 0x156], 1
inc dword [eax + 0xf8]
mov eax, dword [ebp - 4]
add dword [eax + 0xf8], 5
jmp 0x42b303
mov edx, dword [ebp - 4]
cmp eax, 3
movzx ecx, byte [edx + 0x168]
movzx edx, byte [edx + 0x16a]
je 0x42b303
mov esi, dword [ebp - 4]
movsx edi, byte [esi + 0x154]
cmp edi, 1
je 0x42b2fa
inc dword [esi + 0xf8]
cmp eax, 1
je 0x42c91a
test cl, 1
je 0x42b323
mov eax, dword [ebp - 4]
test byte [eax + 0x16b], 8
je 0x42b323
cmp byte [eax + 0x155], 2
jne 0x42b323
inc dword [eax + 0xf8]
test cl, 4
je 0x42b347
mov eax, dword [ebp - 4]
and edx, 0x40
shr edx, 6
test byte [eax + 0x16b], 8
je 0x42b34d
test edx, edx
je 0x42b34d
add dword [eax + 0xf8], 2
jmp 0x42b34d
and edx, 0x40
shr edx, 6
cmp dword [ebp - 0x164], 1
jne 0x42b365
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16c]
or eax, 8
jmp 0x42b372
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16c]
and eax, 0xfffffff7
mov ecx, dword [ebp - 4]
test edx, edx
mov byte [ecx + 0x16c], al
je 0x42b456
push dword [ebp - 4]
call fcn.00424360
add esp, 4
test eax, eax
jne 0x429c3c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x42b456
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x42b456
mov esi, dword [edx + 0xc]
movzx eax, byte [esi + 0x16d]
test al, 0x40
je 0x42b3cb
cmp byte [esi + 0x156], 1
je 0x42c284
push esi
call fcn.0042e740
add esp, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x42b3e2
mov byte [edx + 0x1e], 0
test eax, eax
je 0x42b441
mov edx, dword [esi + 0x18]
test edx, edx
je 0x42c2bb
test byte [edx + 0x44], 2
je 0x42b41c
mov dword [edx + 0x38], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [esi + 0x64]
test edx, edx
je 0x42b40f
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [esi + 0x64], ecx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [esi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.00427d70
add esp, 0x14
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
add dword [esi + 0x98], 1
adc dword [esi + 0x9c], 0
and byte [esi + 0x16f], 0xfb
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
test al, 8
je 0x42b482
mov edx, dword [ebp - 4]
test byte [edx + 0x16c], 8
jne 0x42b482
mov eax, 0x33
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0
je 0x42bd9a
cmp dword [ebx + 0x58], 5
je 0x42c7cf
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x42bd89
cmp eax, 2
je 0x42bd89
cmp eax, 3
jne 0x42b4e2
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16b]
and eax, 0xfffffffe
and byte [edx + 0x16f], 0xfb
mov byte [edx + 0x16b], al
mov dword [edx + 0x98], 1
mov dword [edx + 0x9c], 0
jmp 0x42bd9a
cmp eax, 1
jne 0x42b6b7
cmp dword [ebx + 0x58], 5
je 0x42c7a5
mov eax, dword [ebp - 4]
test byte [eax + 0x16c], 8
jne 0x42b50d
movzx eax, byte [eax + 0x16b]
jmp 0x42bd9a
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.0042cfb0
mov dword [ebp - 0x164], eax
mov eax, 0xffffffff
mov ecx, edx
mov esi, dword [ebp - 0x164]
sub ecx, eax
sub esi, eax
or esi, ecx
je 0x42c763
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x164]
movzx eax, byte [esi + 0x16b]
and byte [esi + 0x16f], 0xfb
and eax, 0xfffffffe
mov dword [esi + 0x98], 0x80000000
mov dword [esi + 0x9c], 0xffffffff
mov byte [esi + 0x16b], al
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
cmp dword [esi + 0x138], 5
je 0x42bd9a
mov eax, esi
movsx edx, byte [eax + 0x154]
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x42b5b1
mov eax, dword [eax*4 + 0x4d61ec]
jmp eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
jmp 0x42bd9a
push 0xdf2
push str.for_nt_open_proc.c
push 2
push 8
call fcn.00416110
add esp, 0x10
mov eax, esi
movzx eax, byte [eax + 0x16b]
jmp 0x42bd9a
mov eax, dword [ebp - 4]
or byte [eax + 0x16f], 4
movzx eax, byte [eax + 0x16b]
test al, 1
je 0x42be41
mov edx, dword [ebp - 4]
test byte [edx + 0x16c], 8
je 0x42be6e
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.0042cfb0
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x42c3ec
mov eax, esi
cmp dword [eax + 0x138], 7
jne 0x42be19
mov ecx, 0xffffffff
mov edx, 1
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xe4]
call fcn.0042cfb0
mov ecx, 0xffffffff
sub eax, ecx
sub edx, ecx
or eax, edx
je 0x42c3ec
mov eax, esi
mov dword [eax + 0x98], 0x80000000
mov dword [eax + 0x9c], 0xffffffff
and byte [eax + 0x16f], 0xfb
movzx eax, byte [eax + 0x16b]
test al, 1
jne 0x42be6e
mov edx, dword [ebp - 4]
test byte [edx + 0x16c], 8
je 0x42be6e
test byte [edx + 0x168], 4
je 0x42be5a
test al, 8
jne 0x42be6e
test byte [edx + 0x16a], 0x40
jne 0x42be67
test al, 4
jne 0x42be6e
or byte [edx + 0x16d], 8
test eax, 0x80
jne 0x42be87
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xf8]
mov word [edx + 0x150], ax
jmp 0x42bebe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x156], 1
je 0x42c8e1
test byte [eax + 0x168], 4
je 0x42beb0
mov edx, eax
mov eax, 0x4f
mov word [edx + 0x150], ax
jmp 0x42bebe
mov edx, eax
mov eax, 0x50
mov word [edx + 0x150], ax
mov edx, dword [ebx + 0x14]
test edx, edx
jle 0x42c8a2
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
movzx ecx, byte [ecx + 0x168]
and ecx, 4
shr ecx, 2
test ecx, ecx
je 0x42beee
cmp eax, 0x7ffffe00
jle 0x42beee
mov eax, 0x7ffffe00
jmp 0x42bef6
test eax, eax
jle 0x42c857
add eax, 0x1ff
and eax, 0xfffffe00
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 4]
test byte [ecx + 0x16b], 8
je 0x42bf7c
mov edx, ecx
test byte [edx + 0x168], 4
je 0x42bf2c
imul edx, eax
mov esi, dword [ecx + 0xf8]
mov dword [ebp - 0x164], esi
lea ecx, [esi + 4]
cmp ecx, edx
ja 0x42bf94
mov eax, 0x234
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23f
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42c19b
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42c1be
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23a
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42c1e1
mov eax, 0x30
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x23c
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42c204
mov eax, 0x30
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x58], 0
jne 0x429bf0
mov dword [ebx + 0x58], 3
jmp 0x429bf0
xor eax, eax
lea edx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
jmp 0x42b029
movzx ecx, byte [eax + 0x168]
test cl, 4
movzx edx, byte [eax + 0x16a]
je 0x42c278
test byte [eax + 0x16b], 8
je 0x42c278
test dl, 0x40
je 0x42c278
mov byte [eax + 0x156], 2
jmp 0x42b303
mov byte [eax + 0x156], 3
jmp 0x42b303
mov ecx, dword [esi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x42c2ae
cmp edx, 0x2b
jne 0x42c2a0
mov byte [ecx + 5], 0
movzx eax, byte [esi + 0x16d]
and eax, 0xffffffbf
mov byte [esi + 0x16d], al
jmp 0x42b3cb
mov byte [ecx + 5], 0x24
movzx eax, byte [esi + 0x16d]
jmp 0x42c2a0
push esi
push eax
push eax
push 1
call fcn.00414040
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x78
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe4]
call fcn.0042d010
or eax, edx
jne 0x42c784
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16b]
jmp 0x42bd9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x78
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x80000000
mov dword [eax + 0x9c], 0xffffffff
and byte [eax + 0x16f], 0xfb
movzx eax, byte [eax + 0x16b]
jmp 0x42bd9a
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42c7f1
mov eax, dword [ebp - 4]
and byte [eax + 0x16d], 0xf7
jmp 0x42b496
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xe8], eax
mov eax, 0x26
mov edi, dword [ebp - 8]
and byte [edx + 0x16d], 0xf7
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x42c864
mov dword [ebx + 0x10], 0x400
jmp 0x42c87e
mov eax, dword [0x50a4f4]
cmp eax, 0xfffffffe
je 0x42c890
mov edx, dword [0x50a4f8]
cmp edx, 0xfffffffe
je 0x42c8cf
test edx, edx
je 0x42c8b6
cmp edx, 0xffffffff
jne 0x42c8c7
mov dword [ebx + 0x14], 1
mov edx, 1
jmp 0x42bec9
mov dword [ebx + 0x14], edx
jmp 0x42bec9
mov eax, 0x6b
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x168], 4
je 0x42c8f1
mov edx, 0x50
jmp 0x42c8f6
mov edx, 0x51
cmp byte [eax + 0x154], 1
je 0x42c90e
add edx, 4
mov word [eax + 0x150], dx
jmp 0x42bebe
mov word [eax + 0x150], dx
jmp 0x42bebe
cmp edi, 1
jne 0x42b2c3
jmp 0x42b303
cmp dword [ebx + 0xa4], 0
je 0x42ca15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00473320
mov dword [eax], ebx
cmp ebx, 2
jge 0x42c9e9
cmp ebx, 0x7b
je 0x42cf25
cmp ebx, 0xa1
je 0x42cf25
cmp ebx, 0xce
je 0x42cf25
cmp ebx, 0xb7
je 0x42cf02
cmp ebx, 0x50
je 0x42cf02
cmp ebx, 0x13
je 0x42cf37
cmp ebx, 5
je 0x42cf37
cmp ebx, 0x14
je 0x42c9d7
cmp ebx, 0xf
je 0x42c9d7
cmp ebx, 4
jne 0x42c9bc
mov edx, dword [ebp - 4]
mov eax, 0x25b
test byte [edx + 0x168], 0x20
jne 0x42c9ca
mov eax, 0x1e
jmp 0x42c9ca
mov eax, dword [ebp - 4]
mov dword [eax + 0xe8], ebx
mov eax, 0x1e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jg 0x42c94d
mov edx, dword [ebp - 4]
mov eax, 0x25a
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42ca11
mov eax, 0x1d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 1
je 0x42ca2e
test byte [eax + 0x169], 0x40
je 0x42c935
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
cmp eax, 0x13
movzx edx, byte [edx + 0x168]
je 0x42ca4d
cmp eax, 5
je 0x42ca4d
test dl, 4
je 0x42cac4
test dl, 1
jne 0x42cac4
cmp dword [ebp - 0x15c], 0
je 0x42cac4
mov edx, dword [ebp - 4]
test byte [edx + 0x169], 0x40
jne 0x42cac4
test byte [edx + 0x16e], 1
jne 0x42cac4
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
and edx, 0x3fffffff
push dword [ebp - 0x1c]
or edx, 0x80000000
push edx
mov dword [ebp - 0x20], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
mov dword [eax + 0xe4], esi
je 0x42cb77
or byte [eax + 0x169], 0x40
or byte [eax + 0x16f], 0x10
jmp 0x42cb69
cmp eax, 0x20
jne 0x42cb60
cmp dword [ebp - 0x160], 0
je 0x42cb60
cmp dword [ebp - 0x15c], 0
jne 0x42caf7
mov eax, dword [ebp - 4]
test byte [eax + 0x169], 0x40
jne 0x42caf7
mov esi, dword [eax + 0xe4]
jmp 0x42cb69
xor eax, eax
lea esi, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
and ecx, 0x3fffffff
or edx, 2
or ecx, 0x80000000
push edx
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
mov dword [eax + 0xe4], esi
je 0x42c935
or byte [eax + 0x169], 0x40
or byte [eax + 0x16f], 0x10
or byte [eax + 0x16a], 1
or byte [eax + 0x170], 4
jmp 0x42b032
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe4]
cmp esi, 0xffffffff
je 0x42c935
jmp 0x42b032
test byte [eax + 0x168], 4
je 0x42cab1
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
and edx, 0x7fffffff
push dword [ebp - 0x1c]
or edx, 0x40000000
push edx
mov dword [ebp - 0x20], edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], esi
or byte [eax + 0x16e], 1
jmp 0x42cb69
test ecx, ecx
je 0x42af6c
cmp dword [ebp - 0x140], 0xfffffffa
jne 0x42af6c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], 0
or byte [eax + 0x170], 0x80
cmp dword [ebx + 0x84], 0
je 0x42cc06
cmp dword [ebx + 0x88], 0
jne 0x42cc06
and byte [eax + 0x171], 0xfe
jmp 0x42cc0d
or byte [eax + 0x171], 1
mov eax, dword [ebp - 0x164]
test eax, eax
lea edx, [ebp - 0x14c]
jne 0x42cc22
mov eax, 0x100
push edx
push 0
mov dword [ebp - 0x164], eax
lea ecx, [eax + 1]
push ecx
call fcn.0040fe90
add esp, 0xc
test eax, eax
jne 0x429c3c
cmp dword [ebx + 0x98], 0
jne 0x42cc66
mov eax, dword [ebp - 4]
push dword [eax + 0x100]
push str.Unit__i
push dword [ebp - 0x14c]
call fcn.00470040
add esp, 0xc
jmp 0x42cc90
push dword [ebp - 0x164]
push dword [ebx + 0x94]
push dword [ebp - 0x14c]
call fcn.004703d0
add esp, 0xc
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x164]
mov byte [eax + edx], 0
push dword [ebp - 0x14c]
call fcn.004bf4d0
add esp, 4
mov edx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [edx + 0xe4], eax
je 0x42cf90
test byte [edx + 0x171], 1
je 0x42cce6
push eax
call fcn.004bf590
mov eax, dword [ebp - 4]
push dword [eax + 0xe4]
call fcn.004bf510
add esp, 8
test eax, eax
jne 0x42cce6
mov eax, 0x28e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14c]
call fcn.0040ff50
add esp, 4
test eax, eax
je 0x42af6c
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x152]
cmp edx, 4
jge 0x42cd57
push dword [eax + 0x60]
call fcn.0040ff50
add esp, 4
test eax, eax
je 0x42cd34
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x158]
push 0
push 5
call fcn.0040fe90
add esp, 0xc
test eax, eax
je 0x42cd57
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0x314d4f43
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x42cd74
mov edx, dword [ebp - 4]
mov eax, 4
mov ecx, dword [0x50c480]
mov word [edx + 0x152], ax
jmp 0x42cbc5
test eax, eax
jne 0x42cdb4
push str.USER
lea eax, [ebp - 0x13c]
push eax
call fcn.00470730
add esp, 8
test eax, eax
je 0x42cdc3
mov dword [ebp - 0x164], 0
jmp 0x42add2
mov dword [ebp - 0x13c], 0x4e4f43
mov eax, esi
lea edi, [ebp - 0x13c]
mov esi, dword [eax + 0x60]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x42cdd8
mov edx, dword [ebp - 4]
mov eax, 3
mov dword [ebp - 0x164], 0
mov word [edx + 0x152], ax
jmp 0x42add2
mov eax, dword [ebp - 4]
test byte [eax + 0x168], 1
je 0x42a556
mov edx, eax
movzx eax, byte [edx + 0x16b]
and eax, 0xffffffdf
mov byte [edx + 0x16b], al
jmp 0x42a569
mov eax, dword [ebp - 4]
cmp byte [eax + 0x156], 3
je 0x42a4cb
mov eax, 0x2e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x16b]
test dl, 0x10
je 0x42a340
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x155], 3
mov ecx, 3
jmp 0x42a34f
mov edx, ecx
test byte [edx + 0x168], 4
je 0x42ce99
test byte [edx + 0x16b], 8
je 0x42ce99
test byte [edx + 0x16a], 0x40
je 0x42ce99
mov byte [edx + 0x156], 2
jmp 0x42a28c
movsx edx, al
cmp edx, 4
je 0x42cee4
cmp edx, 1
je 0x42cee4
movzx esi, byte [ecx + 0x16a]
test esi, 0x80
jne 0x42cee4
movzx ecx, byte [ecx + 0x170]
test cl, 1
jne 0x42cee4
test cl, 2
jne 0x42cee4
test esi, 0x40
je 0x42a28c
cmp edx, 5
jl 0x42a28c
cmp edx, 8
jg 0x42a28c
mov edx, dword [ebp - 4]
mov byte [edx + 0x156], 3
jmp 0x42a28c
mov dword [ebp - 0x15c], 1
jmp 0x429dde
mov edx, dword [ebp - 4]
mov eax, 0x259
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42cf21
mov eax, 0xa
mov esp, ebp
pop ebp
ret
mov eax, 0x2b
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0x258
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42cf56
mov eax, 9
mov esp, ebp
pop ebp
ret
mov eax, 0x64
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x63
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x25
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x258
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
test byte [edx + 0x168], 0x20
mov edi, dword [ebp - 8]
jne 0x42cfac
mov eax, 9
mov esp, ebp
pop ebp
ret