joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11143f0
Capabilities:
Create directory
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x30968]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x35a8]
lea ebx, [ebp - 8]
push ebx
push eax
push 0x1071510
push 0
lea esi, [eax + 0x2b598]
lea eax, [ebp - 4]
push eax
add ecx, 0x7dc
push ecx
push esi
push edx
mov dword [ebp - 4], 0
call fcn.010eece0
mov dword [ebp - 8], eax
test eax, eax
je 0x11145e1
cmp dword [ebp - 4], 0
je 0x11145e1
push 0x20a
lea ecx, [ebp - 0x298]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x82
lea edx, [ebp - 0x8c]
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x30968]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x2a0]
add esp, 0x18
call eax
push eax
push 0x101f098
lea ecx, [ebp - 0x8c]
push 0x3f
push ecx
call fcn.0102d240
mov edx, dword [edi + 0x30968]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x29c]
add esp, 0x10
lea edx, [ebp - 0x298]
push edx
push 0x103
call eax
push 0
lea ecx, [ebp - 0x298]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp word [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
je 0x11144ee
add eax, 2
cmp word [eax], 0
jne 0x11144e5
lea edx, [ebp - 0x8c]
sub eax, edx
sar eax, 1
cmp word [ebp - 0x298], 0
mov ecx, eax
lea eax, [ebp - 0x298]
je 0x1114519
lea ebx, [ebx]
add eax, 2
cmp word [eax], 0
jne 0x1114510
lea ebx, [ecx + ecx]
lea ecx, [ebp - 0x298]
sub eax, ecx
sar eax, 1
add eax, eax
mov edi, eax
lea eax, [edi + ebx + 2]
test eax, eax
je 0x11145e1
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x11145e1
push edi
lea edx, [ebp - 0x298]
push edx
push esi
call fcn.0102a680
lea eax, [esi + edi]
test eax, eax
je 0x1114574
push ebx
lea ecx, [ebp - 0x8c]
push ecx
push eax
call fcn.0102a680
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x30968]
mov ebx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov eax, dword [eax]
push 1
push 0
push ecx
push ebx
push esi
push eax
call fcn.01107cc0
test eax, eax
je 0x11145d1
mov edx, dword [edi + 0x30968]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push 0
push 5
push 0
push 0x64
push 0x1001cac
push esi
push ecx
call fcn.010b98d0
test eax, eax
je 0x11145cb
push 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push ebx
call fcn.01083050
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1115920
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2f7fc], eax
call edi
cmp dword [esi + 0x2f7fc], 0
mov dword [esi + 0x2f800], eax
je 0x1115986
test eax, eax
je 0x1115986
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x1115850
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x2f804], eax
test eax, eax
je 0x1115986
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
pop edi
pop esi
pop ebp
ret 4

Function at 0x11172c0
Capabilities:
Enumerate threads

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xa4]
push eax
push 0
mov ebx, 1
push 0x418
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x11173f3
cmp edi, 0xffffffff
je 0x11173f3
mov ecx, dword [esi + 0xa4]
push ecx
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
je 0x11173e0
cmp ebx, 0xffffffff
je 0x11173e0
lea edx, [ebp - 0x28]
push edx
push ebx
mov dword [ebp - 0x28], 0x1c
call sub.KERNEL32.DLL_Thread32First
test eax, eax
je 0x11173d9
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x111736b
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
jne 0x1117354
jmp 0x11173d9
push eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.DLL_OpenThread]
mov esi, eax
test esi, esi
je 0x11173d9
cmp esi, 0xffffffff
je 0x11173d9
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xac]
push 0
push 4
lea ecx, [ebp - 4]
push ecx
push 9
push esi
mov dword [ebp - 4], 0
call edx
cmp dword [ebp - 4], 0
je 0x11173cf
push esi
push edi
call fcn.01051390
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0xa4]
jne 0x11173cf
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push edi
call fcn.011171e0
test eax, eax
je 0x11173cf
mov dword [ebp - 0xc], 5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1117c50
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14640], eax
jne 0x1117e3d
push ebx
push edi
push 0xa0
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1117cc2
mov eax, dword [edi + 0x80]
imul eax, dword [edi + 0x14]
add eax, eax
cmp eax, 0x1000
jae 0x1117ca8
mov eax, 0x1000
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
push edx
push eax
push esi
call fcn.0102fb00
mov ebx, eax
mov dword [ebp + 8], ebx
jmp 0x1117cd7
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
call fcn.01083080
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], eax
mov ebx, eax
test ebx, ebx
je 0x1117e38
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x94], edx
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0xa4], dl
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x9c], edx
test eax, eax
je 0x1117d23
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
call fcn.0102fbf0
push edi
push esi
call fcn.01053d70
mov edx, dword [edi + 0x10]
push 0
push 1
push edx
push esi
call fcn.010bba20
mov eax, dword [edi + 0x10]
push 0
push 1
push 0x80
push 2
push 3
push 0xc0000000
push eax
push esi
call fcn.01107ae0
mov ebx, eax
test ebx, ebx
je 0x1117d5f
cmp ebx, 0xffffffff
jne 0x1117d87
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edx, dword [edi + 0x10]
push 0
push 1
push 0x80
push 2
push 7
push 0xc0000000
push edx
push esi
call fcn.01107ae0
mov ebx, eax
test ebx, ebx
je 0x1117e1e
cmp ebx, 0xffffffff
je 0x1117e1e
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x91d8]
push ecx
push edx
push 0xffffffffffffffff
push eax
mov dword [ebp - 0xa8], 0x58505850
call fcn.01030d00
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x91d8]
push ecx
push 0xffffffffffffffff
push eax
call fcn.01030d00
mov ecx, dword [esi + 0x268]
push 0
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x1c], eax
push 0x94
lea eax, [ebp - 0xa8]
push eax
push ebx
call ecx
test eax, eax
je 0x1117e15
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
lea edx, [ebp - 8]
push edx
mov edx, dword [esi + 0x268]
push eax
push ecx
push ebx
call edx
test eax, eax
je 0x1117e15
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c0]
push ebx
call eax
push edi
push esi
call fcn.01117bf0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x11182b0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2f874], 0
jne 0x111832c
push 0x3031
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [esi + 0x2f874], eax
test eax, eax
je 0x111832c
mov dword [eax], esi
mov eax, dword [esi + 0x2f874]
add eax, 0x3014
je 0x11182f6
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov eax, dword [esi + 0x2f874]
lea ecx, [ebp + 8]
push ecx
push 0
mov dword [eax + 4], 1
mov eax, dword [esi + 0x2f874]
push eax
push 0x1118240
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x111832c
mov edx, dword [esi + 0x1c0]
push eax
call edx
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x1118e70
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x188], 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jne 0x1118f2a
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x35a8]
push 1
add ecx, 0x168
push ecx
call edi
test eax, eax
jne 0x1118f2a
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
lea ecx, [eax + 0x272]
push ecx
push eax
call fcn.010c9c50
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x35a8]
mov dword [eax + 0x16c], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0x18]
push eax
add ecx, 0x132e0
push ecx
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x35a8]
mov eax, dword [eax + 0x8018]
test eax, eax
je 0x1118efc
push 1
add eax, 0x64
push eax
call edi
mov esi, dword [esi + 0x18]
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push 0x1118820
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1118f45
mov edx, dword [esi + 0x1c0]
push eax
call edx
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x35a8]
mov eax, dword [eax + 0x8018]
test eax, eax
je 0x1118f45
push 1
add eax, 0x64
push eax
call edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x1119550
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push 1
add ecx, 0x132b4
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push 0x22e038
push ecx
call fcn.01096090
mov eax, dword [esi]
mov edi, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push eax
push fcn.010d30e0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11195af
push eax
mov eax, dword [edi + 0x1c0]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push edx
call fcn.010c4540
mov eax, dword [esi]
mov ecx, dword [0x119d388]
mov eax, dword [eax]
push ecx
push eax
call fcn.010fa660
mov edi, eax
test edi, edi
je 0x11195f5
mov edx, dword [esi]
mov eax, dword [edx]
push edi
add eax, 0x13354
push 0
push eax
call fcn.0110e840
add esp, 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x111e4d0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x43601
push 0
push 0
push 0
push 0
push 0
push 0x420
mov esi, dword [ebp + 8]
push 0x2c7
push 0xaf
push 0x2d
push 0
push 0
push 0x107f960
push 0x111d610
push 0x107ba80
push 0x10e4830
push 0
mov eax, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0xf34]
mov edx, dword [eax + 0x185c]
push 0
push 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x1e28]
push 0
push 0x16
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x16d0]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x1860]
push 0xa
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x1e2c]
mov eax, dword [eax + 0x1e30]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x24], edx
push 7
lea edx, [ebp - 0x38]
push edx
push esi
mov dword [ebp - 0x18], 0x71
mov dword [ebp - 0x14], 0xe6
mov dword [ebp - 0x10], 0x3f
mov dword [ebp - 0xc], 0x70
mov dword [ebp - 8], 0x32
mov dword [ebp - 0x20], eax
call fcn.0105ee10
mov dword [eax + 0x4ac], 0
mov dword [eax + 0x498], 0x1c
mov dword [eax + 0x49c], 0
mov dword [eax + 0x4a0], 2
mov ecx, dword [esi + 0x88]
cmp dword [ecx], 0
jne 0x111e5d9
mov dword [ecx], eax
jmp 0x111e5e2
mov ecx, dword [ecx + 4]
mov dword [ecx + 0x4c8], eax
mov edx, dword [esi + 0x88]
mov dword [edx + 4], eax
mov ecx, dword [esi]
lea edx, [ebp + 8]
push edx
push 0
push esi
push fcn.010ecc80
push 0
mov dword [ecx + 0x2883c], eax
mov edi, dword [esi + 4]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x111e619
push eax
mov eax, dword [edi + 0x1c0]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x111ef20
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push esi
mov dword [ebp - 4], 0
call fcn.010b8d80
push 0x80
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
push 0
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push esi
call fcn.0111ed60
mov edi, eax
test edi, edi
jne 0x111ef7f
push eax
push 1
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.0111ed60
mov edi, eax
test edi, edi
je 0x111f028
mov ecx, dword [ebp + 0x10]
push 0
push 0
push ecx
push edi
push ebx
push esi
call fcn.01107cc0
test eax, eax
jne 0x111efa6
mov edx, dword [ebp + 0x10]
push 1
push eax
push edx
push edi
push ebx
push esi
call fcn.01107cc0
test eax, eax
je 0x111f014
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
call fcn.0111ed60
test eax, eax
je 0x111f014
mov ecx, dword [ebp + 0x10]
mov edx, edi
mov esi, eax
cmp ecx, 4
jb 0x111efd9
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x111f004
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x111efc5
test ecx, ecx
je 0x111effd
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x111f004
cmp ecx, 1
jbe 0x111effd
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x111f004
cmp ecx, 2
jbe 0x111effd
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x111f004
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test edi, edi
je 0x111f028
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x111fd70
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2f768], eax
call edi
cmp dword [esi + 0x2f768], 0
mov dword [esi + 0x2f76c], eax
je 0x111fdd6
test eax, eax
je 0x111fdd6
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x111fc20
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x2f770], eax
test eax, eax
je 0x111fdd6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
pop edi
pop esi
pop ebp
ret 4

Function at 0x1122470
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push 0x213
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x11224ef
mov ecx, dword [ebp + 0xc]
push edi
test ecx, ecx
je 0x11224ad
mov edi, 0x210
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x11224a2
mov eax, dword [ebp + 8]
mov dword [esi + 0x20c], eax
mov edi, dword [eax]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push 0x11223f0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11224e2
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1123e80
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1123edb
mov esi, dword [ebp + 0x10]
push 0x100d0cc
push esi
call fcn.0102d0b0
test eax, eax
je 0x1123ead
cmp dword [edi + 0x54], 0
jne 0x1123edb
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.01123b10
mov ebx, eax
test ebx, ebx
je 0x1123ede
mov eax, dword [ebp + 0x10]
push ebx
push eax
push edi
push esi
call fcn.010941b0
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x1123ede
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [edi + 0x20]
push ecx
push ebx
push 0x1f
push edi
push esi
call edx
add esp, 0x14
cmp dword [edi + 0x44], 0
je 0x1124058
cmp dword [edi + 0x48], 0
je 0x1123f27
push ebx
push esi
call fcn.0102f540
mov ebx, eax
test ebx, ebx
je 0x1123f27
push ebx
push edi
push esi
call fcn.01093a70
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll__wtoi64]
mov ebx, edx
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jl 0x1124058
jg 0x1123f4d
test esi, esi
jbe 0x1124058
mov ecx, dword [ebp + 0x14]
push 0x3a
push ecx
call fcn.0102d1a0
test eax, eax
je 0x1124058
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wtoi64]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
jl 0x1124058
jg 0x1123f82
test eax, eax
jbe 0x1124058
cmp dword [edi + 0x100d0], 0
je 0x1123fa9
mov ebx, dword [edi + 0x100d0]
mov edx, dword [ebp - 0xc]
xor eax, eax
push eax
push ebx
push edx
push esi
mov dword [ebp - 0x14], eax
call fcn.011949b0
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
jmp 0x1123fbe
push 0
push 0x10000
push ebx
push esi
call fcn.011949b0
push 0
push 0x10000
push edx
push eax
call fcn.01194910
mov ecx, dword [edi + 0x100cc]
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, ebx
add eax, esi
push eax
push ebx
push edx
push 4
push ecx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x1124058
mov eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.0102a710
mov edi, eax
test edi, edi
je 0x112404e
mov eax, dword [ebp - 8]
push eax
sub esi, ebx
add esi, dword [ebp + 0x14]
add eax, 2
push esi
push eax
push edi
call fcn.0119511b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
add esp, 0x10
lea edx, [ebp + 0xc]
push edx
push eax
push edi
push ebx
call fcn.0104acd0
mov esi, eax
test esi, esi
je 0x1124041
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push 0
push ecx
push esi
push edx
push ebx
call fcn.01107de0
push esi
call fcn.01083050
jmp 0x1124048
mov dword [ebp + 0xc], 0
push edi
call fcn.01083050
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x11259e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0xd
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1125a9b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1125a0f
xor eax, eax
jmp 0x1125a24
cmp word [ecx], 0
mov eax, ecx
je 0x1125a20
add eax, 2
cmp word [eax], 0
jne 0x1125a17
sub eax, ecx
sar eax, 1
push eax
push ecx
mov dword [esi + 8], eax
call fcn.0102d280
mov dword [esi + 4], eax
test eax, eax
je 0x1125a8f
mov edi, dword [ebp + 8]
push ebx
lea ebx, [edi + 0x944]
push ebx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov edi, dword [edi]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push fcn.01125800
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1125a7b
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
call fcn.01125800
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebp
ret 8

Function at 0x11265c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
call fcn.010d1d70
test eax, eax
jne 0x112661e
mov ecx, dword [esi]
push ecx
call fcn.010d1d70
test eax, eax
jne 0x112661e
push edi
mov edi, dword [esi]
cmp dword [edi + 0x8aec], 0x1771
jb 0x11265fa
push eax
push eax
push esi
call fcn.010d8a10
jmp 0x112661d
lea edx, [ebp + 8]
push edx
push 0
push edi
push 0x10d8d70
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x112661d
push eax
mov eax, dword [edi + 0x1c0]
call eax
pop edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x35a8]
test eax, eax
je 0x1126680
push 0
add eax, 0x70
push eax
push esi
call fcn.010c9010
mov edx, dword [esi]
mov eax, dword [edx + 0x35a8]
push 0
add eax, 0x70
push eax
push esi
call fcn.010c9010
mov eax, dword [esi]
mov ecx, dword [eax + 0x35a8]
push 0
push 0
push 0
push 0x1001e00
add ecx, 0x4ac
push ecx
push 0
push 1
push eax
call fcn.010c8d60
mov edx, dword [esi]
push 0x1018a90
push connect
push edx
call fcn.010ba750
pop esi
pop ebp
ret 4