joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4299b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.004132f0
test eax, eax
jne 0x4136dd
lea ecx, [esp + 8]
mov byte [esp + 0x18], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
push 0
lea eax, [esp + 0x30]
push str.xviewer.exe
push eax
call fcn.0041e690
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x10]
push str._s__s
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 8]
push ecx
push edx
push 1
push esi
push eax
call fcn.0041e9f0
add esp, 0x14
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14

Function at 0x4144a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_2
push str.Content_Type:_application_x_www_form_urlencoded_r_nReferer:_http:__www.ocean_soft.com.cn__r_nUser_Agent:_oceanclick_1.0_beta_r_nXApp_Version:_3.3.0.3
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x438898
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041dca0
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x416ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
mov ebx, 1
push 0x43b42c
push eax
mov byte [esp + 0x48], bl
call fcn.0041d240
add esp, 8
mov ecx, dword [eax]
mov edx, dword [0x43a1c0]
push ecx
push edx
lea eax, [esp + 0x14]
push str.numaccount_dids_s
push eax
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi + 0x1c]
push 0
push 0
push 0
push 0
push ebx
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1_
push esi
lea ecx, [esp + 0x30]
call fcn.00414370
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
push str.clnt_proc.asp_acttousu
lea ecx, [esp + 0x1c]
call fcn.004144a0
test eax, eax
jne 0x416bb3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.004051e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
jmp 0x416bc5
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x416bc5
mov eax, dword [ecx]
lea edx, [esp + 8]
push edx
call dword [eax + 0x60]
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call fcn.00414430
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x4195c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x419622
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x419830
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x419922
lea ecx, [esp + 0x10]
push ecx
push str..htm
push connect
mov ecx, edi
call fcn.004195c0
test eax, eax
jne 0x419922
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push connect
mov ecx, edi
call fcn.004195c0
test eax, eax
jne 0x419922
mov edi, dword [sym.imp.MSVCRT.dll__mbsstr]
lea edx, [esp + 0x10]
push str.__1_
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4198f3
lea eax, [esp + 0x10]
push 0x43a9f0
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4198f3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4198f6
mov byte [esi], 0
push 0x43a9ec
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x419940
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41ad80
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x41adc1
call fcn.0041baf0
test eax, eax
je 0x41adc8
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x41b410
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x94], eax
test eax, eax
je 0x41adc1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x41adc1
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x9c]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x9c]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x54]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x7c]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x41adc1
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x41af80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41b03f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x41b03f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41b03f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41b038
test edi, edi
je 0x41b038
mov ecx, ebp
mov esi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push ebp
push ebx
call fcn.0041a6d0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x41c0a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x41cbc0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x42a2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x10]
call fcn.00413da0
xor esi, esi
mov dword [esp + 0x24], 0
test edi, edi
je 0x41cbfb
lea esi, [esp + 0xc]
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
mov esi, dword [esp + 0x34]
push 0
push esi
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
mov al, byte [esp + 0x34]
setge bl
test al, al
je 0x41cc8e
test bl, bl
je 0x41cc8e
push esi
lea ecx, [esp + 0x38]
call fcn.0042640e
mov bl, 1
push 0x5c
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
push ecx
push esi
call fcn.0041cf90
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne bl
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00413e00
mov ecx, dword [esp + 0x1c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x41ce10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a30b
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00426b20
mov eax, dword [esp + 0x3ef4]
push edi
push 0x43aaf8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x41ce62
pop edi
mov ecx, dword [esp + 0x3ee4]
mov dword fs:[0], ecx
add esp, 0x3ef0
ret
push ebx
push ebp
push esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x100
mov dword [esp + 0x3f00], 0
call sub.MFC42.DLL_operatornew
lea ecx, [esp + 0x1c]
mov ebx, eax
push ecx
call fcn.0041c0a0
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
add esp, 8
push edi
push 0x3e80
lea edx, [esp + 0x7c]
push 1
push edx
call ebp
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cec3
lea eax, [esp + 0x18]
lea ecx, [esp + 0x74]
push eax
push esi
push ecx
call fcn.0041c0e0
add esp, 0xc
cmp esi, 0x3e80
je 0x41ce98
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0041c170
mov ebp, dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
xor esi, esi
xor ecx, ecx
lea eax, [esp + 0x10]
mov cl, byte [esi + ebx]
push 0x10
push eax
push ecx
call ebp
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x41cf1e
mov dl, byte [esp + 0x10]
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00426414
inc esi
cmp esi, 0x14
jl 0x41cee8
push ebx
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x3f0c]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x14]
mov dword [esp + 0x3efc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3ef4]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x3ef0
ret
Function at 0x41cf90
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x234
push ebx
push edi
xor ebx, ebx
push 2
push ebx
push eax
call fcn.004257f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41d07c
lea ecx, [esp + 0xc]
push esi
push ecx
push 0xffffffffffffffff
push edi
call fcn.00425860
add esp, 0xc
test eax, eax
jne 0x41d052
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
mov ebx, 1
mov dword [esp + 0xc], eax
jle 0x41d052
push ebp
mov ebp, dword [esp + 0x24c]
lea edx, [esp + 0x14]
push edx
push esi
push edi
call fcn.00425860
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x140]
push eax
push ebp
push 0x438ccc
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
lea eax, [esp + 0x144]
push 0
push eax
push esi
push edi
call fcn.004258a0
add esp, 0x14
test ebx, ebx
je 0x41d046
test eax, eax
jne 0x41d046
mov ebx, 1
jmp 0x41d048
xor ebx, ebx
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x41cfe8
pop ebp
push edi
call fcn.00425940
add esp, 4
test al, al
pop esi
push edi
je 0x41d074
call fcn.004258f0
add esp, 4
mov eax, ebx
pop edi
pop ebx
add esp, 0x234
ret
call fcn.004261b0
add esp, 4
mov eax, ebx
pop edi
pop ebx
add esp, 0x234
ret

Function at 0x41db80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42a4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 6]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_AfxParseURL
test eax, eax
jne 0x41dc0c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41dc1e
lea edx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x14]
push edi
lea edi, [esi + 0x14]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41dc4a
mov dx, word [esi + 0x18]
cmp dx, word [esp + 0xa]
jne 0x41dc4a
mov eax, dword [esi + 8]
test eax, eax
jne 0x41dc66
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_1
mov cx, word [esp + 0xa]
mov word [esi + 0x18], cx
mov ecx, esi
call fcn.0041d980
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x41e080
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [ecx + 0x10]
lea ecx, [esp]
mov dword [esp + 4], edx
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WSOCK32.dll_select
add esp, 0x10c
ret 8

Function at 0x41e9f0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp], eax
push ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [esp + 0x5c]
lea eax, [esp]
neg edx
lea ecx, [esp + 0x10]
push eax
sbb edx, edx
push ecx
push 0
and edx, 5
push 0
push 0
mov word [esp + 0x54], dx
mov edx, dword [esp + 0x6c]
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41ea5b
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41ea69
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x41ea92
mov edx, dword [esp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41ea92
push eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
mov eax, 1
pop esi
add esp, 0x54
ret

Function at 0x41eac0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41eb12
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
pop edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x41eb30
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x408
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41eb58
xor eax, eax
add esp, 0x408
ret
mov eax, dword [esp + 0x40c]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41eb8e
xor eax, eax
add esp, 0x408
ret
push ebx
push esi
mov esi, dword [esp + 0x418]
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41ebd3
test cl, cl
je 0x41ebbf
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41ebd3
add eax, 2
add esi, 2
test cl, cl
jne 0x41eb9b
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
pop ebx
add esp, 0x408
ret
sbb eax, eax
pop esi
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
pop ebx
add esp, 0x408
ret

Function at 0x41ec70
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x41ed17
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x41ecc5
test dword [esi + 0xc], 0x100000
jne 0x41ecdd
mov eax, dword [esi + 4]
push eax
jmp 0x41ecd7
cmp ebp, 1
jne 0x41ecdd
test dword [esi + 0xc], 0x100000
je 0x41ecdd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0
push edi
call ebx
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatornew
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x41ecb2
mov ebx, 1
pop ebp
test esi, esi
je 0x41ed24
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret

Function at 0x41ed30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push 1
call fcn.0041ec70
add esp, 4
lea eax, [esp]
push 0
push 0x21
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x104
ret

Function at 0x41ed60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push 0
call fcn.0041ec70
add esp, 4
lea eax, [esp]
push 0
push 0x20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x104
ret