joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100374d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374fb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.10002fc0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x10037529
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10037522
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10037525
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003753b
lea ecx, [ebp - 8]
push ecx
push 0x100374a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10037540
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10002fc0
mov dword [ebp - 0x188], eax
test eax, eax
je 0x100376bb
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037595
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 4
push esi
call edi
test eax, eax
jne 0x10037591
push esi
call ebx
test eax, eax
je 0x10037595
mov esi, eax
jmp 0x10037581
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100376ab
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100376ab
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x100376ab
test esi, esi
je 0x100376ab
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
mov ebx, eax
call edi
mov ecx, dword [ebp - 0x188]
push 0
push ecx
mov esi, eax
call edi
mov edi, eax
test ebx, ebx
je 0x100376ab
cmp edi, esi
je 0x100376ab
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037658
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call esi
push 2
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0x2001
mov dword [ebp - 0x190], 0
call esi
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call esi
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret
Function at 0x100377b0
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x100377c0
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x100377e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], 1
call fcn.10002fc0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push edi
push edi
mov dword [ebp - 0x18], edx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10037869
mov dword [esi + 0xc], 0x20
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov eax, dword [0x10083aa8]
cmp eax, edi
jne 0x1003787d
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x52], ebx
mov dword [eax + 0x56], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10037b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083674]
cmp eax, 0xffffffff
je 0x10037bb0
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10037ba1
cmp esi, dword [0x10083be8]
jne 0x10037b8a
mov dword [0x10083be8], 0
mov ecx, esi
call fcn.100204a0
mov ecx, esi
call fcn.10002fc0
push esi
call sub.msvcr100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x10083674]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x10037bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083be8]
test eax, eax
jne 0x10037c2a
mov eax, dword [0x10083674]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10037c2a
push esi
push 0x16c
call sub.msvcr100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10037bf6
mov ecx, eax
call fcn.10002fc0
mov esi, eax
jmp 0x10037bf8
xor esi, esi
cmp byte [0x10083be4], 0
jne 0x10037c12
mov ecx, esi
mov dword [0x10083be8], esi
call fcn.10020760
mov eax, esi
pop esi
ret
mov ecx, dword [0x10083674]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.10020760
mov eax, esi
pop esi
ret

Function at 0x100437c0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x100437e6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x100437d0
ret
Function at 0x4016b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
nop
nop
nop
pushal
mov dword [ebp - 4], 0
call fcn.004016cb

Function at 0x401732
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
nop
nop
nop
pushal
mov dword [ebp - 4], 0
call fcn.00401748
Function at 0x4027d4
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push 0x405190
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x4028a2
mov dword [ebp - 0x50], eax
push 0
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x54], eax
or eax, eax
je 0x4028a2
push 0
push 0
push 0
push 2
push 0
push dword [ebp - 0x50]
call sub.kernel32.dll_CreateFileMappingA
or eax, eax
je 0x40289a
mov dword [ebp - 0x58], eax
push 0
push 0
push 0
push 4
push eax
call sub.kernel32.dll_MapViewOfFile
or eax, eax
je 0x402892
mov dword [ebp - 0x5c], eax
push ebp
push 0x402880
push 0x4027a4
push dword fs:[0]
mov dword fs:[0], esp
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0x5a4d
je 0x402865
jmp 0x402880
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
je 0x402872
jmp 0x402880
push dword [ebp - 0x54]
push esi
push dword [ebp - 0x5c]
call fcn.00402166
jmp 0x402880
pop dword fs:[0]
add esp, 0xc
push dword [ebp - 0x5c]
call sub.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x58]
call sub.kernel32.dll_CloseHandle
push dword [ebp - 0x50]
call sub.kernel32.dll_CloseHandle
leave
ret
Function at 0x402b23
Capabilities:
Check for time delay via gettickcount
Create thread
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x402d18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x405180]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.MainWinClass
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Main_Window
push str.MainWinClass
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
push 0x104
push 0x405cac
call sub.kernel32.dll_GetWindowsDirectoryA
push 0x405cac
push 0x405eb4
call sub.kernel32.dll_lstrcpyA
push 0x405034
push 0x405cac
call sub.kernel32.dll_lstrcatA
push str.svchost
push 0x405cac
call sub.kernel32.dll_lstrcatA
push 0x405cac
push 0x405db0
call sub.kernel32.dll_lstrcpyA
push str..aaa
push 0x405cac
call sub.kernel32.dll_lstrcatA
push str..exe
push 0x405db0
call sub.kernel32.dll_lstrcatA
mov eax, 0x402d5e
push 0x40518c
push 0
push 0
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, 1
jmp 0x402cb4
mov byte [ebp - 0x154], 0
inc byte [0x405069]
lea eax, [0x405069]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.kernel32.dll_lstrcatA
push 0x405067
lea eax, [ebp - 0x154]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x154]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x402ca7
cmp eax, 2
je 0x402ca7
cmp eax, 4
jne 0x402cb3
lea eax, [ebp - 0x154]
push eax
call fcn.004028a4
inc ebx
cmp ebx, 0x1a
jbe 0x402c5b
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x57e40
jb 0x402cd0
jmp 0x402cd9
push 1
call sub.kernel32.dll_Sleep
jmp 0x402cc0
push 0
push 0
push 2
push dword [0x405188]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x402d11
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x402cea
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x100025a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10052670]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x18], 0x10054ee8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100025fa
push 0x10054e78
mov esi, 0x1004ca52
call fcn.100038a0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000
push 0x10054ee8
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10002632
push 0x10054e78
mov esi, 0x1004ca52
call fcn.100038a0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x18], 0
jbe 0x10002653
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
add esi, 0x10054ee8
push 0x10054e78
call fcn.100038a0
jmp 0x10002662
push 0x10054e78
mov esi, 0x1004ca52
call fcn.100038a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000f160
mov esp, ebp
pop ebp
ret
Function at 0x10002810
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x288
push 0x12
call fcn.10012420
add esp, 4
mov dword [ebp - 8], eax
push 0x288
call fcn.10012420
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002860
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.100145a0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10012130
add esp, 4
xor eax, eax
jmp 0x1000296c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100028b4
mov eax, dword [ebp - 4]
push eax
call fcn.10012130
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10012420
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100028b4
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.100145a0
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.10012130
add esp, 4
xor eax, eax
jmp 0x1000296c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000295d
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp - 8]
push eax
call fcn.1000f3d0
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1b0
push edx
push str.Address:__s__mac:__s_n
call fcn.100145a0
add esp, 0xc
push 0x1004cae4
call fcn.100145a0
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100028d0
mov edx, dword [ebp - 4]
push edx
call fcn.10012130
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10002df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x1004cb48
mov dword [ebp - 4], str.xxxxxxxxx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push str.Conquer.exe
call fcn.10008950
add esp, 0xc
mov dword [0x10054e00], eax
call fcn.1003e220
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003e6f0
push 0x10002b70
push 0x10054e00
call fcn.1003dcb0
call fcn.1003e280
test eax, eax
je 0x10002e4e
push 0
call fcn.10015b30
mov esp, ebp
pop ebp
ret
Function at 0x10005a10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003fea9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10052670]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10052670]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x44], esi
je 0x10005c24
cmp byte [ecx + 0x49], 0
je 0x10005c24
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10005c0c
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10005330
mov dword [esp + 0x80], esi
lea esp, [esp]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
call fcn.10005610
mov esi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call fcn.10005610
mov edi, eax
mov ecx, esi
mov byte [esp + 0x80], 2
call fcn.10006630
mov ebx, dword [esp + 0x64]
mov ecx, edi
mov esi, eax
call fcn.10006630
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.10001170
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0
call fcn.10001170
mov eax, esi
sub eax, 0
je 0x10005b3e
dec eax
je 0x10005b42
sub eax, 2
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
jne 0x10005c07
jmp 0x10005c1f
mov byte [edi + 0x49], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x54]
call fcn.10005610
mov ecx, eax
mov byte [esp + 0x80], 3
call fcn.10006630
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub esi, eax
mov byte [esp + 0x80], 0
call fcn.10001170
test esi, esi
je 0x10005bb4
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x54]
call fcn.10005610
mov byte [esp + 0x80], 4
or dword [esp + 0x14], 1
mov ecx, eax
call fcn.10006630
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10014ea0
add esp, 0x10
cmp esi, eax
je 0x10005bb4
mov bl, 1
jmp 0x10005bb6
xor bl, bl
mov dword [esp + 0x80], 0
test byte [esp + 0x14], 1
je 0x10005bd6
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.10001170
test bl, bl
jne 0x10005bf8
cmp byte [edi + 0x49], bl
je 0x10005c10
test esi, esi
jne 0x10005a90
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.100053e0
jmp 0x10005a90
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.10003870
xor al, al
jmp 0x10005c26
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.10003870
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1000f160
mov esp, ebp
pop ebp
ret
Function at 0x100064f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fabb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10052670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000a9b0
push 0x18
push 0x1004d228
mov dword [ebp - 4], 0
call fcn.10009c90
push eax
push 4
call fcn.10009bc0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000657d
call fcn.1000a160
mov dword [edi], eax
call fcn.10009f70
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1000a940
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006573
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1000a980
jmp 0x1000657f
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10008850
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push 0x1005362c
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push 0x10053634
call esi
mov eax, dword [edi]
pop esi
cmp eax, dword [0x1005362c]
jne 0x100088a3
mov cl, byte [0x10053630]
cmp cl, byte [edi + 4]
jne 0x100088a3
mov eax, 0xb
mov esp, ebp
pop ebp
ret
cmp eax, dword [0x10053634]
jne 0x100088bb
mov dl, byte [0x10053638]
mov eax, 5
cmp dl, byte [edi + 4]
je 0x100088be
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100088d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 4]
push edi
push eax
mov edi, ebx
call fcn.10008850
mov dword [esi + 4], eax
add eax, 5
push eax
call fcn.10016070
mov edx, dword [esi + 4]
add esp, 8
lea ecx, [ebp - 8]
push ecx
push 0x40
add edx, 5
mov edi, eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 4]
push eax
push ebx
push edi
call fcn.10016ea0
mov ecx, dword [esi + 4]
mov byte [edi + ecx], 0xe9
mov eax, dword [esi + 4]
mov edx, ebx
sub edx, edi
sub edx, 5
mov dword [edi + eax + 1], edx
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, ebx
sub eax, 5
mov dword [ebp - 7], eax
mov dl, byte [ebp - 4]
mov byte [ebp - 8], 0xe9
mov ecx, dword [ebp - 8]
mov dword [ebx], ecx
mov byte [ebx + 4], dl
mov dword [esi], edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100095a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040314
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10052670]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x7c], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1000960d
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
lea esi, [ebp - 0x7c]
call fcn.100092f0
mov ecx, esi
call fcn.100093a0
mov eax, esi
push eax
mov esi, edi
call fcn.10009480
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x80], 1
jb 0x10009646
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10014c20
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
call fcn.100056a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f160
mov esp, ebp
pop ebp
ret
Function at 0x1000f160
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10052670]
jne 0x1000f16a
repz ret
jmp fcn.1001b810