Function at 0x100230d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b607
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x10023108
cmp dword [ebp + 0xc], 0
jne 0x1002310f
xor eax, eax
jmp 0x100236d8
push 0x104
lea ecx, [ebp - 0x160]
call fcn.100062d0
push 0xfde9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x160]
call fcn.100086f0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x160]
call fcn.100034b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0xffffffff
jne 0x10023191
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1b8]
jmp 0x100236d8
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x1c0], esp
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.10002ea0
mov edx, dword [eax]
push edx
mov ecx, esi
call fcn.10022c10
lea ecx, [ebp - 0x5c]
call fcn.10022ef0
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0xd
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x1002323b
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1b4]
jmp 0x100236d8
mov dword [ebp - 0x174], str.version_1.0.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x170]
mov al, byte [edx]
mov byte [ebp - 0x166], al
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx]
jne 0x100232ac
cmp byte [ebp - 0x166], 0
je 0x100232a0
mov edx, dword [ebp - 0x170]
mov al, byte [edx + 1]
mov byte [ebp - 0x167], al
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 1]
jne 0x100232ac
add dword [ebp - 0x170], 2
add dword [ebp - 0x174], 2
cmp byte [ebp - 0x167], 0
jne 0x1002324e
mov dword [ebp - 0x184], 0
jmp 0x100232b7
sbb edx, edx
or edx, 1
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x100232ff
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1bc]
jmp 0x100236d8
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
push 0
lea edx, [ebp - 0x34]
push edx
push 8
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x17c], eax
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x1cc], eax
push 4
lea ecx, [ebp - 0x2c]
call fcn.100062d0
push 0x100a6390
mov ecx, dword [ebp - 0x17c]
add ecx, 1
push ecx
call fcn.100384e7
add esp, 8
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008f20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10023020
mov byte [eax], 0
lea ecx, [ebp - 0x2c]
call fcn.10023040
movzx ecx, al
test ecx, ecx
jne 0x100233ec
mov dword [ebp - 0x194], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x194]
jmp 0x100236d8
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ab80
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x1002345d
mov dword [ebp - 0x198], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x198]
jmp 0x100236d8
lea ecx, [ebp - 0x160]
call fcn.100034b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x19c], eax
push str._vip
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10023494
mov byte [ebp - 0x165], 1
jmp 0x1002349b
mov byte [ebp - 0x165], 0
mov al, byte [ebp - 0x165]
mov byte [ebp - 0x175], al
mov dword [ebp - 0x30], 0
push 0x100874b4
lea ecx, [ebp - 0x1fc]
call fcn.100080b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.1000ab80
push eax
lea ecx, [ebp - 0x1e4]
call fcn.100080b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1fc]
push edx
lea eax, [ebp - 0x1e4]
push eax
call fcn.10008ca0
add esp, 0xc
test eax, eax
jne 0x10023504
mov dword [ebp - 0x188], 1
jmp 0x1002350e
mov dword [ebp - 0x188], 0
mov cl, byte [ebp - 0x188]
mov byte [ebp - 0x168], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1e4]
call fcn.10008120
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.10008120
movzx edx, byte [ebp - 0x168]
test edx, edx
je 0x10023582
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1a0]
jmp 0x100236d8
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x10]
jle 0x100235c9
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1a4]
jmp 0x100236d8
push str.46C39CC1_022B_49a9_BD64_AE6C63679C89
lea ecx, [ebp - 0x22c]
call fcn.100080b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.1000ab80
push eax
lea ecx, [ebp - 0x214]
call fcn.100080b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.10008800
add esp, 0x10
test eax, eax
jne 0x10023623
mov dword [ebp - 0x18c], 1
jmp 0x1002362d
mov dword [ebp - 0x18c], 0
mov dl, byte [ebp - 0x18c]
mov byte [ebp - 0x169], dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x214]
call fcn.10008120
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.10008120
movzx eax, byte [ebp - 0x169]
test eax, eax
je 0x1002369e
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1a8]
jmp 0x100236d8
mov dword [ebp - 0x1ac], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10022f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10022fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100087a0
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret 0xc