Function at 0x1003fd40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117abb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
inc byte [edi + 1]
mov al, byte [edi + 1]
xor ebx, ebx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x74], ebx
cmp al, 5
jbe 0x1003fd94
cmp al, 0x14
jae 0x1003fd94
cmp word [edi + 0x2c], bx
jne 0x1003fd94
call fcn.1003f940
cmp dword [edi + 4], ebx
je 0x100400e7
cmp byte [edi], 0x14
ja 0x100400e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x28]
add ecx, 0x3e8
cmp ecx, eax
jae 0x100400e7
lea eax, [edi + 8]
push 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.10077850
mov dword [ebp - 4], ebx
cmp dword [edi + 4], ebx
jne 0x1003fde7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100778b0
jmp 0x100400e7
mov dword [edi + 4], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100778b0
inc byte [edi]
push ebx
push 0x80
push 3
push ebx
push 7
push accept
lea edx, [edi + 0x2c]
push edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x80], esi
cmp esi, 0xffffffff
je 0x1003ffc8
xor eax, eax
cmp esi, eax
je 0x1003ffc8
push 0x800
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], eax
call fcn.1007dc71
add esp, 4
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1003ffc8
mov dword [ebp - 0x7c], 0xfffff800
jmp 0x1003fe79
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 0
jne 0x1003ffc8
mov eax, dword [ebp - 0x74]
push 0x800
push 0
push eax
call fcn.1007d080
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x78], ebx
cmp dword [0x1016af88], ebx
je 0x1003febf
push str.CDealWhatsApp::GetLoginUserName_1
push str.whatsapp
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
mov ecx, dword [ebp - 0x7c]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ecx
push esi
call edi
cmp eax, 0xffffffff
jne 0x1003fee7
push 0
push 0
push 0
push esi
call edi
mov dword [ebp - 0x84], 1
mov edi, dword [ebp - 0x74]
push 0
lea edx, [ebp - 0x8c]
push edx
push 0x7ff
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp - 0x8c]
sub dword [ebp - 0x7c], 0x800
cmp esi, 0x800
jbe 0x1003ff1a
mov esi, 0x800
push 8
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x2d
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x64
call fcn.10056980
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1003fe70
cmp byte [edi + 0xa], 0x22
jne 0x1003fe70
cmp dword [0x1016af88], 0
je 0x1003ff80
push str.CDealWhatsApp::GetLoginUserName_2
push str.whatsapp
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
mov ecx, dword [ebp - 0x74]
add edi, 0xb
sub ecx, edi
add esi, ecx
mov dword [ebp - 0x78], edi
cmp esi, 0x50
jbe 0x1003ff97
mov esi, 0x50
push 1
lea edx, [ebp - 0x6d]
push edx
push esi
push edi
mov byte [ebp - 0x6d], 0x22
call fcn.10056980
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1003fe70
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x90], 1
cmp dword [0x1016af88], 0
je 0x1003ffef
mov eax, dword [ebp - 0x78]
push eax
push ebx
push str.CDealWhatsApp::GetLoginUserName_3___p____p_
push str.whatsapp
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
cmp dword [ebp - 0x90], 0
je 0x100400a0
test ebx, ebx
je 0x100400a0
cmp dword [ebp - 0x78], 0
je 0x100400a0
push 0x4f
lea ecx, [ebp - 0x6b]
push 0
push ecx
mov byte [ebp - 0x6c], 0
call fcn.1007d080
mov eax, dword [ebp - 0x78]
sub ebx, eax
push ebx
push eax
lea edx, [ebp - 0x6c]
push edx
call fcn.1007ed10
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006a080
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
push 0x4f
push ecx
lea esi, [edi + 0x234]
push esi
call fcn.1007ce61
push esi
call fcn.1003fc60
add esp, 0x10
cmp dword [0x1016af88], 0
je 0x10040089
push esi
push str.CDealWhatsApp::GetLoginUserName_4___s_
push str.whatsapp
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1006a980
mov esi, dword [ebp - 0x80]
jmp 0x100400c7
mov ebx, 1
push ebx
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10077850
mov dword [ebp - 4], ebx
mov dword [edi + 4], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100778b0
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x100400d7
push eax
call fcn.1007d541
add esp, 4
cmp esi, 0xffffffff
je 0x100400e7
test esi, esi
je 0x100400e7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret