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

Disassembly:
push 0xffffffffffffffff
push 0x42c020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edi
push eax
push 2
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esi]
push 5
mov ecx, esi
mov edi, eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x430e70
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x18

Function at 0x41d6a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42d7d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edi
push eax
push 2
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esi]
push 5
mov ecx, esi
mov edi, eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x430e70
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x18
Function at 0x41eb90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d888
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
mov ecx, dword [eax - 8]
inc ecx
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x41ebdb
push eax
push eax
push 0x43b16c
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41ec48
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
jne 0x41ebfd
push eax
push eax
push 0x43b14c
call sub.MFC42.DLL_AfxMessageBox
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41ec48
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41ec48
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x423a90
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e03b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push edi
mov edi, dword [esp + 0x2c]
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x18]
push 4
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x14]
push edi
push 1
push 4
push ecx
call ebx
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
add esp, 0x10
mov ecx, ebp
push edx
call dword [sym.imp.TAPI_DRAW.dll_public:_struct_obj_list____thiscall_CObjList::FindObjectByID_int_]
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x18], esi
je 0x423bb9
mov ecx, esi
call dword [sym.imp.TAPI_DRAW.dll_public:_int___thiscall_TAPI_DllBase::GetGroupInfo_void_]
or al, 2
mov ecx, esi
push eax
call dword [sym.imp.TAPI_DRAW.dll_public:_void___thiscall_TAPI_DllBase::SetGroupInfo_int_]
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x24], ecx
je 0x423b37
mov ecx, eax
call fcn.00411290
mov dword [esp + 0x2c], eax
xor ecx, ecx
jmp 0x423b3b
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
cmp eax, ecx
mov dword [esp + 0x30], ecx
jle 0x423ba3
push edi
push 1
lea eax, [esp + 0x18]
push 4
push eax
call ebx
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
mov ecx, ebp
call dword [sym.imp.TAPI_DRAW.dll_public:_struct_obj_list____thiscall_CObjList::FindObjectByID_int_]
mov esi, dword [eax]
test esi, esi
je 0x423b8e
mov ecx, esi
call dword [sym.imp.TAPI_DRAW.dll_public:_int___thiscall_TAPI_DllBase::GetGroupInfo_void_]
or al, 1
mov ecx, esi
push eax
call dword [sym.imp.TAPI_DRAW.dll_public:_void___thiscall_TAPI_DllBase::SetGroupInfo_int_]
mov ecx, dword [esp + 0x2c]
push esi
call fcn.004112f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x423b4f
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push edx
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, eax
call dword [sym.imp.TAPI_DRAW.dll_public:_void___thiscall_TAPI_ControlImageBase::SetGroupList_char__]
jmp 0x423bdb
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x423bdb
push edi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call ebx
mov eax, dword [esp + 0x24]
add esp, 0x10
inc esi
cmp esi, eax
jl 0x423bc3
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x4251a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
push esi
lea esi, [ecx + 0x70]
mov dword [esp + 4], ecx
mov ecx, esi
call fcn.0041dc90
cmp eax, 1
jne 0x42530f
push edi
push ebp
push ebx
mov ecx, esi
call fcn.0041dc70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov ebp, dword [sym.imp.TAPI_DRAW.dll_public:_char_const____thiscall_TAPI_LinkControlAttr::GetPathString_void_]
mov ebx, eax
mov ecx, ebx
call ebp
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4252bc
mov ecx, 0x3f
lea edi, [esp + 0x15]
mov byte [esp + 0x14], al
rep stosd dword es:[edi], eax
mov ecx, ebx
stosw word es:[edi], ax
call ebp
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..exe
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x42524e
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4252fa
mov ecx, ebx
call dword [sym.imp.TAPI_DRAW.dll_public:_char___thiscall_TAPI_LinkControlAttr::GetNewWindowFlag_void_]
test al, al
je 0x4252ac
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004232e0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x425285
call sub.MFC42.DLL_AfxGetThread
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x425287
xor eax, eax
push 0
mov ecx, eax
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
mov ecx, eax
call sub.MFC42.DLL_CFrameWnd::GetActiveView
mov esi, eax
mov ecx, esi
call fcn.004266a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
jmp 0x4252fa
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00427b20
jmp 0x4252fa
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4252d3
call sub.MFC42.DLL_AfxGetThread
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4252d5
xor eax, eax
cmp dword [eax + 0xd4], 1
jne 0x4252fa
mov ecx, esi
call fcn.0041dc70
push 1
mov ecx, esi
mov edi, eax
call fcn.0041d8e0
push 0
mov ecx, edi
call dword [sym.imp.TAPI_DRAW.dll_public:_void___thiscall_TAPI_DllBase::Set_Active_int_]
mov eax, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x104
ret
Function at 0x42af10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435508
push 0x42b0c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x43b9c0], 0xffffffff
mov dword [0x43b9c4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x43b9b4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x43b9b0]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x43b9bc], ecx
call fcn.00404750
mov eax, dword [0x43b5e0]
test eax, eax
jne 0x42afa1
push 0x42b100
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.0042b0e0
push 0x43a014
push 0x43a010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x43b9ac]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x43b9a8]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x43a00c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x42b0af
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x42b015
cmp al, 0x22
jne 0x42b007
cmp byte [esi], 0x22
jne 0x42b01e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x42b02e
cmp al, 0x20
ja 0x42b02e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x42b01e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x42b04f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x42b054
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x42b094
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x42b01e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x42b0af
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x9f3008], 0x8088405
inc edx
mov dword [ebx + 0x9f3008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cb95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cb7d
add dl, dl
jne 0x41cba0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cbf1
xor eax, eax
add dl, dl
jne 0x41cbad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc8e
add dl, dl
jne 0x41cbbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbdd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cbe7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cb8c
mov eax, 1
add dl, dl
jne 0x41cbff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cbf6
sub eax, ebx
mov ebx, 1
jne 0x41cc3d
mov ecx, 1
add dl, dl
jne 0x41cc23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cb8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cb8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ccaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cb8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d828
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d83b
add esp, 0xfffffff0
call fcn.00403da8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403b30
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d861
cmp dword [esi + 0x58], 0x40
jb 0x41da47
jmp 0x41d867
jl 0x41da47
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e80
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041d3e4
cmp word [ebx + 0xc], 0x5a4d
jne 0x41da47
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41da47
cmp ecx, 0x10000
jge 0x41da47
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d8c2
cmp eax, dword [esi + 0x58]
ja 0x41da47
jmp 0x41d8c8
jg 0x41da47
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e80
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041d3e4
cmp dword [ebx + 0x4c], 0x4550
jne 0x41da47
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041d3e4
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d97f
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d943
cmp eax, dword [esi + 0x58]
ja 0x41d9d0
jmp 0x41d949
jg 0x41d9d0
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041d3e4
mov byte [ebx + 4], 1
jmp 0x41d9d0
cmp ax, 0x14c
jne 0x41d9d0
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d9a0
cmp eax, dword [esi + 0x58]
ja 0x41d9d0
jmp 0x41d9a2
jg 0x41d9d0
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041d3e4
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41da47
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41da01
cmp eax, dword [esi + 0x58]
ja 0x41da47
jmp 0x41da03
jg 0x41da47
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x9dd2fc]
call fcn.00405b74
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041d3e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41da5e
call fcn.00403e00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e758
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x9dec17
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e809
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e7f2
test esi, esi
jbe 0x41e809
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088a4
test eax, eax
jne 0x41e7e4
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e809
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e7c1
jmp 0x41e809
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e809
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9dec1e
ret
Function at 0x41f04c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x9df5fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41f087
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41f0a0
lea eax, [ebp - 0x10]
mov edx, dword [0x9f523c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41f0b3
lea eax, [ebp - 0x10]
mov edx, dword [0x9f523c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41f0bf
adc edx, 0
mov edx, dword [edx*4 + 0x9f40d0]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41f1cd
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f1c0
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d94
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f1c0
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f1c0
cmp dx, 0x150
ja 0x41f1c0
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f1c0
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f1e5
inc ebx
cmp ebx, 0x19
jne 0x41f079
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9df602
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x261c5045
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x73995b63
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6bd37538
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x499b0ab8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219