joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443200
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ac910
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 8]
push 0x400000
push eax
mov dword [esp + 0x20], 0
call fcn.0043a320
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00405e10
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44328a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push str.data
mov ecx, esi
call fcn.00425c00
mov ecx, dword [esi]
push ecx
call fcn.0043a3b0
add esp, 4
push 0xe
push str._rcmdlocal.dat
mov ecx, esi
call fcn.00425c00
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4432e2
mov eax, dword [esi]
push 0
push 0
push 1
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4432e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x443370
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ac8a2
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x834]
mov edi, dword [esp + 0x840]
mov esi, dword [esp + 0x83c]
mov ebp, ecx
mov ecx, dword [esp + 0x838]
xor eax, eax
mov dword [esp + 0x14], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x830], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
call fcn.004079b0
xor eax, eax
cmp esi, eax
mov dword [esp + 0x82c], eax
mov dword [esp + 0x18], 1
je 0x443444
push 0x7fe
push eax
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], ax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
push 0x400
lea eax, [esp + 0x28]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add eax, 0xffffffff
cmp eax, 0x3fe
ja 0x443444
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.00406d50
mov eax, ebx
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x81c
ret 0x10
Function at 0x4434c0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ac8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
xor esi, esi
xor edi, edi
mov ecx, 0x500de4
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x78]
cmp edx, esi
mov dword [esp + 0x70], esi
je 0x4436bc
mov ebx, dword [esp + 0x80]
cmp ebx, esi
je 0x4436bc
mov eax, ebx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443535
sub eax, edi
sar eax, 1
je 0x4436b8
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443550
sub eax, edi
sar eax, 1
je 0x4436b8
push ebx
push 0x4b6f6c
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00443470
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 1
call fcn.00405e10
lea ecx, [esp + 0x24]
call fcn.00404930
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], esi
je 0x4436b8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push str._d__d__d
push ebp
call dword [sym.imp.MSVCR80.dll_swscanf_s]
add esp, 0x14
cmp eax, 3
jne 0x4436b8
cmp dword [esp + 0x20], esi
je 0x4436b8
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x4436b8
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4436b8
cmp ecx, 0xc
jg 0x4436b8
cmp eax, 0x1f
jg 0x4436b8
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x5e]
movzx eax, word [esp + 0x5a]
movzx ecx, word [esp + 0x58]
push esi
push esi
push esi
push edx
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.004430b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push esi
push esi
push esi
push edx
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.004430b0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x44]
call fcn.00442e90
test al, al
lea ecx, [esp + 0x4c]
je 0x44365f
lea eax, [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x3c]
jmp 0x443669
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00442f30
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
call fcn.00442da0
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x24], eax
mov edi, 1
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x7c], eax
fldcw word [esp + 0x14]
ja 0x4436bc
mov edi, dword [esp + 0x30]
lea eax, [ebp - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4436e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x4437f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ac910
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 8]
push 0x400000
push eax
mov dword [esp + 0x20], 0
call fcn.0043a320
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00405e10
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44387a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push str.data
mov ecx, esi
call fcn.00425c00
mov ecx, dword [esi]
push ecx
call fcn.0043a3b0
add esp, 4
push 0x10
push str._rcmdlocalse.dat
mov ecx, esi
call fcn.00425c00
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4438d2
mov eax, dword [esi]
push 0
push 0
push 1
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4438d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x443b70
Capabilities:
Access peb ldr_data
Check if file exists
Create shortcut via ishelllink
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ac9a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
xor ebx, ebx
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s.lnk
push edx
mov dword [esp + 0x38], ebx
call fcn.00405e90
add esp, 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x38], ebx
mov byte [esp + 0x28], 2
jne 0x443c02
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443cbe
mov edi, dword [edi]
push edi
call fcn.0043a3b0
add esp, 4
test eax, eax
je 0x443cbe
lea ecx, [esp + 0x14]
push ecx
push 0x4c3074
push 1
push ebx
push 0x4c3094
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x443cbe
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4c31a4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x443cbe
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x443cbe
mov ebp, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x443cd9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x28], bl
je 0x443ced
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443d15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x443d30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ac9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x238]
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x230], esi
mov dword [esp + 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [esp + 0x1e]
push esi
push eax
mov dword [esp + 0x23c], esi
mov dword [esp + 0x18], 1
mov word [esp + 0x24], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x443dff
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443dd7
sub eax, edx
sar eax, 1
je 0x443dff
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00406d50
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x228
ret
Function at 0x443e30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4aca4d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x23c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x234], ebx
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esi], eax
push ebx
mov dword [esp + 0x238], ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x240]
lea eax, [esp + 0xc]
push eax
push ecx
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea edx, [esp + 0x26]
push ebx
push edx
mov word [esp + 0x2c], bx
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x443ef2
sub eax, edx
sar eax, 1
je 0x443f31
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x443f15
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405620
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x238], 1
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x443f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x234], bl
je 0x443f7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x22c
ret
Function at 0x4443e0
Capabilities:
Modify service

Disassembly:
sub esp, 0x28
push ebx
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x444458
mov eax, dword [esp + 0x34]
push esi
push 2
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
je 0x444450
lea ecx, [esp + 0xc]
push ecx
push 0x24
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
mov eax, dword [esp + 0x3c]
je 0x444434
cmp dword [esp + 0x14], eax
je 0x444449
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ebx, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
add esp, 0x28
ret
Function at 0x445a30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4acc53
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x500728
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x500728
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4b469b
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00444b70
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp dword [ebp], 0xffffffff
je 0x448b35
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
add ebp, 8
mov esi, dword [ebp]
test esi, esi
je 0x448b29
mov edi, dword [esi + 6]
lea eax, [esp + 0x14]
push eax
push 0x40
push 0x10
push esi
mov dword [esp + 0x24], 0
call ebx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 4]
push edx
sub edi, eax
push 0x10
sub edi, 5
push esi
mov byte [eax], 0xe9
mov dword [eax + 1], edi
call ebx
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp], 0
add ebp, 0xc
cmp dword [ebp - 8], 0xffffffff
jne 0x448ad7
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret
Function at 0x448b90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push esi
je 0x448c82
mov esi, dword [esp + 0xc]
test esi, esi
je 0x448c82
cmp dword [esi], 0xffffffff
push ebx
mov ebx, dword [eax]
push ebp
push edi
je 0x448c71
jmp 0x448bc0
cmp dword [esi + 8], 0
jne 0x448c65
mov eax, dword [esi]
mov eax, dword [ebx + eax*4]
cmp byte [eax], 0x58
mov dword [esp + 0x14], eax
jne 0x448bea
cmp dword [eax - 4], 0x400000
jne 0x448bea
cmp byte [eax], 0x58
je 0x448c65
mov ebp, dword [esi + 4]
push 4
push 0x3000
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x448c78
mov ecx, dword [esp + 0x14]
push ebp
push ecx
mov ecx, edi
call fcn.00448b40
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x14]
push edx
push 0x40
push 4
lea ecx, [ebx + eax*4]
push ecx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x448c65
mov edx, dword [esi]
push 4
lea eax, [ebx + edx*4]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x448c65
mov ecx, dword [esi]
mov dword [esi + 8], edi
add edi, 4
mov dword [ebx + ecx*4], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
push 4
lea edx, [ebx + ecx*4]
push edx
call ebp
add esi, 0xc
cmp dword [esi], 0xffffffff
jne 0x448bc0
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret
pop edi
pop ebp
pop ebx
mov eax, 0x8007000e
pop esi
ret
mov eax, 0x80070057
pop esi
ret

Function at 0x449190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4acfab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0x258]
mov byte [esi], bl
mov dword [esi + 0x254], 0xffffffff
call fcn.004496e0
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x28]
mov dword [esi + 0x278], ecx
lea ecx, [esi + 0x27c]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x274], al
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edi, [esi + 0x298]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
push 0x250
lea edx, [esi + 4]
push ebx
push edx
mov byte [esp + 0x28], 2
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
mov ecx, edi
call fcn.00449130
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x44a0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad1da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x28]
push eax
lea ebx, [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 1
call fcn.00449ef0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x44a430
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push 0
call dword [sym.imp.USER32.dll_ReplyMessage]
mov eax, 0x501018
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a443
sub eax, edx
sar eax, 1
je 0x44a4cd
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push 0x501018
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44a4ad
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x44a4b8
push eax
call esi
push 0x800
push 0
push 0x501018
call sub.MSVCR80.dll_memset
add esp, 0xc
pop esi
xor eax, eax
add esp, 0x58
ret 0x10

Function at 0x44a970
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00402770
test eax, eax
je 0x44a9a0
mov eax, dword [esi + 0x390]
mov ecx, dword [esi + 0x38c]
mov edx, dword [esi + 4]
push 0x9e
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
add esi, 4
push 0
mov ecx, esi
call fcn.0044a4e0
mov eax, dword [esi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push 0x1f4
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x501010], eax
sub eax, dword [0x50100c]
mov esi, eax
push esi
push str.ksearchSTMid
push str.RcmdLocalData
call fcn.00443300
mov ecx, eax
call fcn.00443060
push esi
push str.ksearchSTMax
push str.RcmdLocalData
mov ebx, eax
call fcn.00443300
mov ecx, eax
call fcn.00443060
mov edi, eax
lea eax, [ebx + esi]
shr eax, 1
cmp esi, edi
pop ebx
jbe 0x44aa1e
mov edi, esi
push eax
push str.ksearchSTMid
push str.RcmdLocalData
call fcn.00443300
mov ecx, eax
call fcn.00443170
push edi
push str.ksearchSTMax
push str.RcmdLocalData
call fcn.00443300
mov ecx, eax
call fcn.00443170
call fcn.004026c0
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x44ca70
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4ad568
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x28]
call fcn.004079b0
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0xe]
push edx
movzx edx, word [esp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push str._02d__02d__02d__03d_n
push eax
call fcn.00405eb0
mov ecx, dword [esp + 0x3c]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44cb11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4