Function at 0x1000c740
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xaec
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0xae8], eax
push ebx
push ebp
mov ebp, dword [esp + 0xaf8]
push esi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x6f5]
push ebx
push eax
mov byte [esp + 0x6fc], bl
call fcn.1011e8d0
xor eax, eax
add esp, 0xc
push 0x103
lea ecx, [esp + 0x5ed]
push ebx
push ecx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov word [esp + 0x49], ax
mov byte [esp + 0x4b], al
mov byte [esp + 0x24], bl
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
mov byte [esp + 0x5f4], bl
call fcn.1011e8d0
add esp, 0xc
push 0x103
lea edx, [esp + 0xc5]
push ebx
push edx
mov byte [esp + 0xcc], bl
call fcn.1011e8d0
add esp, 0xc
push 0x103
lea eax, [esp + 0x4e5]
push ebx
push eax
mov byte [esp + 0x4ec], bl
call fcn.1011e8d0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x1cd]
push ebx
push ecx
mov byte [esp + 0x1d4], bl
call fcn.1011e8d0
add esp, 0xc
push 0x103
lea edx, [esp + 0x3dd]
push ebx
push edx
mov byte [esp + 0x3e4], bl
call fcn.1011e8d0
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x1000cd2d
cmp byte [edi], bl
je 0x1000cd2d
push 0x101a9dc8
push 0xffffffffffffffff
push edi
call fcn.1014e560
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1000c919
push 0x103
lea eax, [esp + 0x2d5]
push ebx
push eax
mov byte [esp + 0x2dc], bl
call fcn.1011e8d0
add esp, 0xc
push 0x101a9dd4
push esi
call fcn.1011b3c0
add esp, 8
cmp eax, ebx
je 0x1000c8c8
sub eax, esi
sub eax, 9
push eax
add esi, 9
push esi
lea ecx, [esp + 0x2d8]
push 0x103
push ecx
call fcn.1011b643
add esp, 0x10
jmp 0x1000c8e1
add esi, 9
push esi
lea edx, [esp + 0x2d4]
push 0x103
push edx
call fcn.1011b28e
add esp, 0xc
lea eax, [esp + 0x2d0]
lea edx, [eax + 1]
jmp 0x1000c8f0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000c8f0
push 0x103
lea ecx, [esp + 0x3dc]
sub eax, edx
push ecx
push eax
lea edx, [esp + 0x2dc]
push edx
call fcn.10154670
add esp, 0x10
push str.CoreID
push 0xffffffffffffffff
push edi
call fcn.1014e560
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1000c9d9
push 0x3f
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call fcn.1011e8d0
add esp, 0xc
push 0x3f
lea ecx, [esp + 0x85]
push ebx
push ecx
mov byte [esp + 0x8c], bl
call fcn.1011e8d0
add esp, 0xc
push 0x101a9dd4
push 0xffffffffffffffff
push esi
call fcn.1014e560
add esp, 0xc
cmp eax, ebx
je 0x1000c990
sub eax, esi
sub eax, 7
push eax
add esi, 7
push esi
lea edx, [esp + 0x48]
push 0x40
push edx
call fcn.1011b643
add esp, 0x10
jmp 0x1000c9a3
add esi, 7
push esi
lea eax, [esp + 0x44]
push 0x40
push eax
call fcn.1011b28e
add esp, 0xc
push 0x40
lea ecx, [esp + 0x84]
push ecx
push str.ServerID
push 0x101a721a
call sym.IsaManage.dll_IsiReadDb_s
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.1011a62b
add esp, 0x18
test eax, eax
je 0x1000ccfd
lea edx, [esp + 0x20]
push edx
call sym.IsaManage.dll_IsiGetServerIP
lea eax, [esp + 0x1c]
add esp, 4
push eax
call sym.IsaManage.dll_IsiGetWebPort
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x1c]
add esp, 4
cmp al, bl
je 0x1000cc98
cmp cl, bl
je 0x1000cc98
push edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push str.http:___s:_s__sRequestPath1
lea eax, [esp + 0x700]
push 0x400
push eax
call fcn.1011a6b9
lea ecx, [esp + 0x600]
push ecx
call sym.IsaManage.dll_IsiGetMainDir
add esp, 0x1c
lea edx, [esp + 0x5e8]
push edx
lea eax, [esp + 0xc4]
push 0x104
push eax
call fcn.1011b28e
add esp, 0xc
push str.Tmp
lea ecx, [esp + 0xc4]
push 0x104
push ecx
call fcn.1011a6f4
add esp, 0xc
lea esi, [esp + 0x4e0]
call fcn.1000c6d0
push 0x101a7bac
lea edx, [esp + 0xc4]
push 0x104
push edx
call fcn.1011a6f4
add esp, 0xc
mov eax, esi
push eax
lea ecx, [esp + 0xc4]
push 0x104
push ecx
call fcn.1011a6f4
add esp, 0xc
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x6f4]
push eax
call fcn.10149670
add esp, 8
test eax, eax
jne 0x1000cb1c
lea ecx, [esp + 0x6f0]
push ecx
push 0x101a9e08
push 0x5a1
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
lea edx, [esp + 0x708]
push edx
push 0x101a9e08
push 0x5a1
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x30
jmp 0x1000ccf8
push ebx
push 0x80
push 4
push ebx
push 7
push closesocket
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000cb8f
lea ecx, [esp + 0xc0]
push ecx
push 0x101a9e20
push 0x5b1
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
lea edx, [esp + 0xd8]
push edx
push 0x101a9e20
push 0x5b1
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x30
jmp 0x1000ccf8
push ebx
lea eax, [esp + 0x14]
push eax
push 0x103
lea ecx, [esp + 0x1d4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0xc0]
push edx
call fcn.1014c2e0
add esp, 4
cmp byte [esp + 0x1c8], bl
je 0x1000cc5a
cmp dword [esp + 0x10], ebx
jbe 0x1000cc5a
lea eax, [esp + 0x1c8]
push eax
call fcn.1014eda0
lea eax, [esp + 0x1cc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000cbf1
sub eax, edx
jne 0x1000cc3f
push 0x101a9e38
push 0x5c3
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101a9e38
push 0x5c3
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000ccf8
lea ecx, [esp + 0x1c8]
push ecx
push 0x400
push ebp
call fcn.1014e1e0
add esp, 0xc
jmp 0x1000ccf8
push 0x101a9e38
push 0x5bb
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101a9e38
push 0x5bb
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000ccf8
xor edx, edx
cmp cl, bl
sete dl
xor ecx, ecx
cmp al, bl
sete cl
push edx
push ecx
push str.szServerIP__d___szWebPort__d_
push 0x58c
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x1c
xor edx, edx
cmp byte [esp + 0x18], bl
sete dl
xor eax, eax
cmp byte [esp + 0x20], bl
sete al
push edx
push eax
push str.szServerIP__d___szWebPort__d_
push 0x58c
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x1c
cmp byte [ebp], bl
jne 0x1000cd13
lea ecx, [esp + 0x3d8]
push ecx
push 0x400
push ebp
call fcn.1014e1e0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xae8]
xor ecx, esp
call fcn.1011a380
add esp, 0xaec
ret
push str.lpSrvPath_1_
push 0x54f
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.lpSrvPath_1_
push 0x54f
push str.GetRealPath
push str..If_FileTransfer.c
push 1
call fcn.1014f750
mov ecx, dword [esp + 0xb08]
add esp, 0x14
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0xfffffffb
call fcn.1011a380
add esp, 0xaec
ret