Function at 0x467d40
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9668
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x234], ebp
mov eax, dword [edi]
mov dword [esp + 0x1c], 1
mov dword [edi + 4], ebp
cmp eax, 0xffffffff
je 0x467d9c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x1c]
cmp eax, ebp
je 0x467ddd
lea esi, [edi + 0x10]
call fcn.0043a400
mov ebx, eax
cmp ebx, ebp
je 0x467dd8
mov eax, dword [ebx]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.0049081d
add esp, 4
cmp dword [edi + 0x1c], ebp
jne 0x467da6
lea ecx, [esp + 0x23c]
push ecx
lea edx, [edi + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00401b40
mov eax, dword [eax]
add esp, 0xc
push ebp
push ebp
push 3
push ebp
push ebp
push SHChangeNotifyRegister
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467e2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x467e3a
xor esi, esi
jmp 0x467fd0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], ebp
call esi
mov ecx, dword [edi]
push ebp
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [edi + 4]
push eax
push ecx
call esi
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], 0
push 0xc
call fcn.004907ee
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x467ea5
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x468029
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
jmp 0x467ea7
xor ebx, ebx
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x24], 0
call esi
mov eax, dword [esp + 0x14]
add ebp, dword [esp + 0x10]
cmp eax, 0x208
jae 0x467ee9
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [edi]
lea edx, [esp + 0x2c]
push edx
push eax
call esi
mov eax, dword [esp + 0x10]
jmp 0x467eef
xor eax, eax
mov dword [esp + 0x10], eax
add ebp, eax
test eax, eax
je 0x467f90
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467f00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00401fa0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x467f90
mov ecx, dword [edi]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [ebx + 8]
push eax
push ecx
call esi
mov eax, dword [esp + 0x10]
add ebp, eax
test eax, eax
je 0x467f90
mov ecx, dword [edi]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [ebx + 4]
push eax
push ecx
call esi
mov eax, dword [esp + 0x10]
add ebp, eax
test eax, eax
je 0x467f90
mov edx, dword [edi + 0x14]
lea esi, [edi + 0x10]
push edx
push 0
call fcn.00481790
mov dword [eax + 8], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x467f82
mov dword [ecx + 4], eax
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x467fbb
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x467fbb
test ebx, ebx
je 0x467fbf
mov eax, dword [ebx]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.0049081d
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x467fcc
cmp ebp, dword [edi + 4]
jb 0x467e71
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x228
ret 4
push 0x80004005
call fcn.004010d0
int3