Function at 0x25d5180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x270edfc
mov eax, dword fs:[0]
push eax
mov eax, 0x133c
call fcn.026a6d30
push esi
push edi
lea edi, [ebp - 0x1348]
mov ecx, 0x4cf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc3500
push 0x240a770
push 0x2565778
call fcn.025d1bd0
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x25d5214
mov esi, esp
push 0x10
push 0x256579c
mov eax, dword [ebp - 0x14]
push eax
push 0x25657b0
call fcn.025dcbe0
add esp, 8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
xor al, al
jmp 0x25d5da6
lea ecx, [ebp - 0x38]
call fcn.025d8500
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], 0
jmp 0x25d523b
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 8]
jge 0x25d5281
mov ecx, dword [ebp - 0x40]
add ecx, 4
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx - 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.025bf820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x131c]
push edx
lea ecx, [ebp - 0x38]
call fcn.025dbd70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.025c0580
nop
jmp 0x25d5232
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x68]
call fcn.025d85a0
mov byte [ebp - 4], 2
push 0x240a770
lea ecx, [ebp - 0x68]
call fcn.025d9720
lea ecx, [ebp - 0x78]
call fcn.025d83f0
mov byte [ebp - 4], 3
push 0x25657ac
push 0x25658a8
call fcn.026c4a16
add esp, 8
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x25d5382
lea ecx, [ebp - 0x68]
call fcn.025d96d0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.025db2d0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.025db410
nop
jmp 0x25d530d
lea ecx, [ebp - 0x8c]
call fcn.025d92f0
nop
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x8c]
call fcn.025d9040
movzx eax, al
test eax, eax
je 0x25d537d
lea ecx, [ebp - 0x8c]
call fcn.025d91e0
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x1324]
push ecx
lea ecx, [ebp - 0x38]
call fcn.025dbcf0
push eax
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x1320]
push eax
lea ecx, [ebp - 0x38]
call fcn.025d7a60
mov ecx, eax
call fcn.025d8fa0
movzx ecx, al
test ecx, ecx
je 0x25d537b
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x78]
call fcn.025dc050
nop
jmp 0x25d5301
jmp 0x25d5524
mov eax, dword [ebp - 0x80]
push eax
push 0xc3500
push 1
push 0x240a770
call fcn.026c4cc8
add esp, 0x10
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.026c4728
add esp, 4
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x1328], edx
cmp dword [ebp - 0x1328], 0xc3500
jae 0x25d53c6
jmp 0x25d53cc
call fcn.026a5cbe
nop
mov eax, dword [ebp - 0x1328]
mov byte [eax + 0x240a770], 0
lea ecx, [ebp - 0xb0]
call fcn.025d85a0
mov byte [ebp - 4], 4
push 0x240a770
lea ecx, [ebp - 0xb0]
call fcn.025d9720
nop
lea ecx, [ebp - 0x68]
call fcn.025d96d0
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.025db2d0
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.025db410
nop
jmp 0x25d543a
lea ecx, [ebp - 0xc0]
call fcn.025d92f0
nop
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xc0]
call fcn.025d9040
movzx ecx, al
test ecx, ecx
je 0x25d5514
lea ecx, [ebp - 0xc0]
call fcn.025d91e0
mov dword [ebp - 0xd4], eax
lea edx, [ebp - 0x1330]
push edx
lea ecx, [ebp - 0x38]
call fcn.025dbcf0
push eax
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x132c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.025d7a60
mov ecx, eax
call fcn.025d8fa0
movzx edx, al
test edx, edx
je 0x25d550f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1334], esp
mov eax, dword [ebp - 0xd4]
push eax
call fcn.025cd390
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.025d9560
mov dword [ebp - 0x133c], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0xf8]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x18]
je 0x25d54ff
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x78]
call fcn.025dc050
nop
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.025d8df0
nop
jmp 0x25d542e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.025d8dc0
nop
lea ecx, [ebp - 0x78]
call fcn.025dc0f0
test eax, eax
jne 0x25d5569
mov byte [ebp - 0x1335], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.025d8c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.025d8dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.025d8d30
mov al, byte [ebp - 0x1335]
jmp 0x25d5da6
lea ecx, [ebp - 0x108]
call fcn.025d83b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x110], ecx
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.025db2d0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.025db410
nop
jmp 0x25d55b4
lea ecx, [ebp - 0x118]
call fcn.025d92f0
nop
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x118]
call fcn.025d9040
movzx edx, al
test edx, edx
je 0x25d5715
lea ecx, [ebp - 0x118]
call fcn.025d91e0
mov dword [ebp - 0x12c], eax
push 0xc3500
push 0x240a770
mov ecx, dword [ebp - 0x12c]
call fcn.025c91f0
push eax
push 0x25658b4
call fcn.025dcb40
add esp, 8
push eax
call fcn.025d1bd0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x13c]
call fcn.025d8790
mov byte [ebp - 4], 7
push 0x240a770
lea ecx, [ebp - 0x13c]
call fcn.025d98e0
nop
lea ecx, [ebp - 0x13c]
call fcn.025d96e0
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x144]
call fcn.025db310
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x144]
call fcn.025db450
nop
jmp 0x25d567c
lea ecx, [ebp - 0x14c]
call fcn.025d9320
nop
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x14c]
call fcn.025d9090
movzx ecx, al
test ecx, ecx
je 0x25d5700
lea ecx, [ebp - 0x14c]
call fcn.025d9210
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.025d7c30
add esp, 0xc
mov dword [ebp - 0x1340], eax
mov edx, dword [ebp - 0x1340]
mov dword [ebp - 0x1344], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1344]
push eax
lea ecx, [ebp - 0x108]
call fcn.025dc010
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.025d8d00
nop
jmp 0x25d5670
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x13c]
call fcn.025d8e50
nop
jmp 0x25d55a8
call fcn.025dc1e0
nop
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x1b4], ecx
lea edx, [ebp - 0x1bc]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.025db290
lea eax, [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.025db3d0
nop
jmp 0x25d575a
lea ecx, [ebp - 0x1bc]
call fcn.025d92c0
nop
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.025d8ff0
movzx edx, al
test edx, edx
je 0x25d5c4b
lea ecx, [ebp - 0x1bc]
call fcn.025d91b0
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x1c
mov dword [ebp - 0x1d8], ecx
mov byte [ebp - 0x1d9], 1
mov esi, esp
push 0
push 0x40000000
push 3
push 0
push 1
push 0x100001
mov ecx, dword [ebp - 0x1d8]
call fcn.025c91f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x1e0], eax
mov esi, esp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x1e4], eax
mov esi, esp
push 0x200
push 0x24cdc70
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1d8]
call fcn.025c91f0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, esp
call fcn.026a5ffe
nop
cmp dword [ebp - 0x1e0], 0xffffffff
je 0x25d5b81
push 0x24cdc70
push 0x25658dc
call fcn.025dcbe0
add esp, 8
push eax
push 1
call fcn.025dc310
add esp, 8
lea edx, [ebp - 0x26c]
push edx
call fcn.025de010
add esp, 4
mov byte [ebp - 0x271], 0
mov dword [ebp - 0x278], 0
movzx eax, byte [ebp - 0x271]
test eax, eax
jne 0x25d5b45
push 0x14
push 0
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.026a9140
add esp, 0xc
mov dword [ebp - 0x1f0], 0
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x1f4], edx
mov esi, esp
lea eax, [ebp - 0x1fc]
push eax
push 0
push 0x1000
lea ecx, [ebp - 0x127c]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.026a5ffe
test eax, eax
jne 0x25d5aab
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0x3e5
je 0x25d5991
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0x26
je 0x25d5991
mov esi, esp
push 0x10
push 0x25658f4
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.026a5ffe
push eax
push 0x24cdc70
push 0x2565908
call fcn.025dcbe0
add esp, 0xc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
nop
mov byte [ebp - 0x1336], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.025d8c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.025d8c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.025d8dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.025d8d30
mov al, byte [ebp - 0x1336]
jmp 0x25d5da6
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0x26
jne 0x25d59aa
jmp 0x25d5b45
mov eax, 1
test eax, eax
je 0x25d5aab
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp + edx - 0x1288], eax
mov esi, esp
push 0x1cff
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x1288]
push ecx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x1290], eax
cmp dword [ebp - 0x1290], 0
jne 0x25d5a01
jmp 0x25d5aab
mov esi, esp
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x12b0]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp esi, esp
call fcn.026a5ffe
test eax, eax
je 0x25d5a52
mov esi, esp
lea eax, [ebp - 0x12b0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
lea ecx, [ebp - 0x12b0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp esi, esp
call fcn.026a5ffe
nop
jmp 0x25d5a01
call fcn.025dc430
movzx edx, al
test edx, edx
je 0x25d5aa6
mov byte [ebp - 0x1337], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.025d8c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.025d8c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.025d8dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.025d8d30
mov al, byte [ebp - 0x1337]
jmp 0x25d5da6
jmp 0x25d59aa
mov esi, esp
push 0
lea eax, [ebp - 0x12bc]
push eax
lea ecx, [ebp - 0x1fc]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x12c4], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x12c8], eax
mov eax, dword [ebp - 0x12bc]
push eax
lea ecx, [ebp - 0x127c]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.025de0c0
add esp, 0xc
cmp dword [ebp - 0x12bc], 0x1000
jb 0x25d5b27
cmp dword [ebp - 0x12c4], 0
jne 0x25d5b2e
cmp dword [ebp - 0x12c8], 0x26
jne 0x25d5b2e
mov byte [ebp - 0x271], 1
mov eax, dword [ebp - 0x278]
add eax, dword [ebp - 0x12bc]
mov dword [ebp - 0x278], eax
jmp 0x25d5870
lea ecx, [ebp - 0x12e0]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.025de1f0
add esp, 8
push 0x14
lea eax, [ebp - 0x12e0]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x1d
push ecx
call fcn.026a9b64
add esp, 0xc
test eax, eax
jne 0x25d5b81
mov byte [ebp - 0x1d9], 0
mov esi, esp
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
mov eax, dword [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.026a5ffe
nop
movzx ecx, byte [ebp - 0x1d9]
test ecx, ecx
je 0x25d5c46
mov edx, dword [ebp - 0x1d8]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x25d5bd7
mov dword [ebp - 0x1348], 0x2565950
jmp 0x25d5be1
mov dword [ebp - 0x1348], 0x25657aa
mov ecx, dword [ebp - 0x1348]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.025c91f0
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.025c91f0
push eax
push 0x2565954
call fcn.025dcb40
add esp, 0x10
mov dword [ebp - 0x12e8], eax
mov edx, dword [ebp - 0x1d8]
movzx eax, byte [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 0x18]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x1d8]
call fcn.025c91f0
push eax
mov ecx, dword [ebp - 0x12e8]
push ecx
call fcn.025d1e00
add esp, 0x14
jmp 0x25d574e
call fcn.025d2000
mov byte [ebp - 0x12e9], al
call fcn.025dc2e0
nop
movzx edx, byte [ebp - 0x12e9]
test edx, edx
je 0x25d5d5e
push 0x2565974
push 0x2565978
call fcn.026c4a16
add esp, 8
mov dword [ebp - 0x12f0], eax
cmp dword [ebp - 0x12f0], 0
je 0x25d5d5e
push 0x2565984
mov eax, dword [ebp - 0x12f0]
push eax
call fcn.025dc180
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.025d96d0
mov dword [ebp - 0x12f4], eax
lea ecx, [ebp - 0x12fc]
push ecx
mov ecx, dword [ebp - 0x12f4]
call fcn.025db2d0
lea edx, [ebp - 0x1308]
push edx
mov ecx, dword [ebp - 0x12f4]
call fcn.025db410
nop
jmp 0x25d5ce5
lea ecx, [ebp - 0x12fc]
call fcn.025d92f0
nop
lea eax, [ebp - 0x1308]
push eax
lea ecx, [ebp - 0x12fc]
call fcn.025d9040
movzx ecx, al
test ecx, ecx
je 0x25d5d3b
lea ecx, [ebp - 0x12fc]
call fcn.025d91e0
mov dword [ebp - 0x1310], eax
mov edx, dword [ebp - 0x1310]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1310]
call fcn.025c91f0
push eax
push 0x2565990
mov ecx, dword [ebp - 0x12f0]
push ecx
call fcn.025dc180
add esp, 0x10
jmp 0x25d5cd9
push 0x25659b4
mov edx, dword [ebp - 0x12f0]
push edx
call fcn.025dc180
add esp, 8
mov eax, dword [ebp - 0x12f0]
push eax
call fcn.026c4728
add esp, 4
mov cl, byte [ebp - 0x12e9]
mov byte [ebp - 0x1338], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.025d8c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.025d8c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.025d8dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.025d8d30
mov al, byte [ebp - 0x1338]
push edx
mov ecx, ebp
push eax
lea edx, [0x25d5de0]
call fcn.026a5faa
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.026a6086
add esp, 0x1348
cmp ebp, esp
call fcn.026a5ffe
mov esp, ebp
pop ebp
ret