joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560648
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x560650
push ebx
lea ebx, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x56084a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00416500
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x560825
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebx], 0x128
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00416520
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x560806
lea eax, [ebp - 0x138]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call sub.rtl70.bpl__Sysutils_ExtractFileName_qqrx17System_AnsiString
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, 0x560860
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x13c]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x5607e1
lea eax, [ebp - 0x144]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, 0x560860
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x148]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x5607e1
lea eax, [ebp - 0x150]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x154]
mov eax, 0x560874
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x154]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x5607e1
lea eax, [ebp - 0x15c]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x158]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x560888
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x160]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x5607f6
push 0
mov eax, dword [ebx + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00416540
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5606a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56082c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x566460
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x566563
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0xc]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0xc]
mov edx, 0x56657c
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0xc]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.kernel32.dll_CreateDirectoryA
cmp dword [esi + 0x54], 0
je 0x5664d2
push 1
call dword [esi + 0x54]
fld xword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
fld xword [ebp + 0x18]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x20]
mov edx, 0x56657c
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x20]
push eax
push 0x566584
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.rtl70.bpl__Variants__DispInvoke_qp8TVarDatarx8TVarDatap16System_TCallDescpv
add esp, 0x28
lea eax, [ebp - 0x1c]
call sub.rtl70.bpl__Variants__VarToBool_qqrrx8TVarData
mov ebx, eax
cmp dword [esi + 0x54], 0
je 0x566538
push 0
call dword [esi + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56656a
lea eax, [ebp - 0x20]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x1c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x5d5c38
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call sub.rtl70.bpl__Sysutils_StrPas_qqrpxc
add esp, 0x104
pop ebx
ret

Function at 0x5d5c64
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push @Variants@VarToWideStrDef$qqrrx14System@Variantx17System@WideString
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call sub.rtl70.bpl__Sysutils_StrPas_qqrpxc
add esp, 0x104
pop ebx
ret
Function at 0x5d9970
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [sym.imp.rtl70.bpl__System_IsConsole]
cmp byte [eax], 0
je 0x5d99cf
mov eax, dword [sym.imp.rtl70.bpl__System_Output]
call sub.rtl70.bpl__System_Flush_qqrrpv
call sub.rtl70.bpl__System___IOTest_qqrv
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call sub.rtl70.bpl__Sysutils_StrLen_qqrpxc
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x5d9a14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x5d9a05
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [sym.imp.rtl70.bpl__Sysconst__SExceptTitle]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x9c4004]
call sub.rtl70.bpl__System_FindResourceHInstance_qqrui
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x48
ret
Function at 0x5dc028
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA
push 0x9c02b7
lea ecx, [ebp - 0x200]
push ecx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
lea eax, [ebp - 0x200]
push eax
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA
push 0x9c02b9
lea ecx, [ebp - 0x200]
push ecx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.005ddda0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5dc139
push esi
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
add edi, eax
add edi, 3
push edi
call sym.P_Interface.bpl__Crtl__malloc_qi
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5dc110
xor eax, eax
jmp @Comctrls@TCoolBar@SetShowText$qqro
push esi
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call sym.P_Interface.bpl__Crtl__memset_qpvuci
add esp, 0xc
jmp 0x5dc179
mov edi, dword [ebx + 0x24]
push edi
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
push eax
push esi
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call sym.P_Interface.bpl__Crtl__realloc_qpvi
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5dc179
xor eax, eax
jmp 0x5dc1c0
push esi
mov edx, dword [ebx + 0x24]
push edx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
push 0x9c02bb
mov ecx, dword [ebx + 0x24]
push ecx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
push 0x9c02bd
mov ecx, dword [ebx + 0x24]
push ecx
call sym.P_Interface.bpl__Crtl__strcat_qpvpxv
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5df14e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4001f
push 0
push 0
push 0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x5df1a2
push esi
call sym.P_Interface.bpl__Crtl__strlen_qpxc
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x6ce0fc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x6ce291
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetCurrentProcessId
mov esi, eax
xor edx, edx
mov eax, 2
call fcn.00416500
mov ebx, eax
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, ebx
call fcn.00416520
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x6ce25d
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call sub.rtl70.bpl__Sysutils_ExtractFileName_qqrx17System_AnsiString
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x140]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x6ce22e
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call sub.rtl70.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__Sysutils_UpperCase_qqrx17System_AnsiString
mov edx, dword [ebp - 0x14c]
pop eax
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x6ce24a
mov edi, dword [ebp - 0x128]
cmp esi, edi
je 0x6ce24a
push 0xffffffffffffffff
push edi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
lea edx, [ebp - 0x130]
mov eax, ebx
call fcn.00416540
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6ce189
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ce298
lea eax, [ebp - 0x14c]
mov edx, 7
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.rtl70.bpl__System__LStrClr_qqrpv
ret
Function at 0x1003aab0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1003aac6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1003aae1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x10050339
Capabilities:
Encode data using xor

Disassembly:
call 0x100502b2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100502e2
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100502fe
xor edx, 0
jmp 0x10050309
xor edx, edx
jmp 0x10050320
jmp 0x1005032c
xor eax, eax
push 0x8427d7c0
call 0x10050339
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10050375
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005034e
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005038c
add eax, 0
jno 0x10050391
add esi, 0
ret 0x10
Function at 0x100510fa
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005111c
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100512be
cmp edi, dword [ebp + 0x10]
jb 0x100512be
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10050be6
inc edi
jmp 0x100511a5
jmp 0x100511b2
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10050be6
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10050be6
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10051206
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100511ea
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10051234
add dword [eax], 0x39
jle 0x10051210
sub al, 0xf5
mov ch, al
call fcn.10051249
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10052f21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10052f37
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10052f48
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10052f89
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100552f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005523e
add ebx, 0
push ecx
call 0x10055253
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c74c1e6
sub ebx, dword [0x6c76ba25]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c76ba15
call fcn.10050d1d
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005022b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100553b1
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100553b1
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10055368
mov eax, 1
lock xchg dword [0x6c76ba21], eax
push 0x3dd1fc71
call 0x100552f5
push esi
add esp, 8
cmp eax, 0
jne 0x100552de
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10055304
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10055319
cmp ecx, edx
cmp eax, 0
je 0x1005533e
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10055328
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10055357
dec eax
loope 0x1005535a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c76ba21], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005538e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100553a3
jmp 0x100553ae
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005529c
Function at 0x1005c416
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1005c6ec
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c758699
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c74f65f
push 0xffffffffffffffff
call fcn.10053616
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1005c480
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005c498
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1005c6e0
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1005c6b4
Function at 0x1006bee6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1006bf08
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006bf08
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006bf08
ret
cmp word [ebx + 4], 0x14c
jne 0x1006bf08
test word [ebx + 0x16], 2
je 0x1006bf08
test word [ebx + 0x16], 0x100
je 0x1006bf08
cmp word [ebx + 0x18], 0x10b
jne 0x1006bf08
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006bf08
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006bf94
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006bf28
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10052e73
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006bf08
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1006bf94
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1006bf08
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006bf08
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006bf08
ret
cmp word [ebx + 4], 0x14c
jne 0x1006bf08
test word [ebx + 0x16], 2
je 0x1006bf08
test word [ebx + 0x16], 0x100
je 0x1006bf08
cmp word [ebx + 0x18], 0x10b
jne 0x1006bf08
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006bf08
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006bf94
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006bf28
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10052e73
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006bf08
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1006c04b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006c0a4
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006c04b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006c05a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10471cfd
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1006c0ab
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10052f21
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006c14a
add edi, 4
add eax, 2
dec ecx
jne 0x1006c090
call 0x1006c0f7
loope 0x1006c0ed
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006c147
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006c158
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1006c10b
cmp eax, ecx
ja 0x1006c10b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006c195
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006c18b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10053400
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]