joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100520d0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x39c
mov eax, dword [esp + 0x3a0]
push esi
push edi
mov edi, ecx
test eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x378
je 0x1005223c
mov ecx, dword [esp + 0x3ac]
test ecx, ecx
je 0x1005223c
mov edx, dword [esp + 0x3b0]
test edx, edx
je 0x1005223c
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 8]
push edx
push 0xf003f
push 0
push ecx
push eax
call esi
test eax, eax
jne 0x1005223c
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push 0
push str.PackedCatalogItem
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10052220
cmp dword [esp + 0x10], 0x378
jne 0x10052220
cmp dword [esp + 0x158], 1
jne 0x10052249
cmp dword [esp + 0x17c], 2
jne 0x10052249
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x14]
push eax
push 0x100be16c
push ecx
call fcn.1005f072
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push getpeername
call esi
test eax, eax
jne 0x10052220
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.10052280
test eax, eax
je 0x10052220
mov edx, dword [esp + 0x10]
push 3
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push getpeername
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.10051d80
test eax, eax
je 0x10052220
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x2c]
push edx
push eax
push 3
push 0
push str.PackedCatalogItem
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10052249
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10052231
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x1005223c
push eax
call esi
pop edi
xor eax, eax
pop esi
add esp, 0x39c
ret 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1005225a
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x10052265
push eax
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x39c
ret 0xc
Function at 0x10052280
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x480
mov ecx, dword [esp + 0x484]
mov dword [esp], 0x378
test ecx, ecx
je 0x10052341
mov eax, dword [esp + 0x488]
test eax, eax
je 0x10052341
lea edx, [esp]
push edx
lea edx, [esp + 0x10c]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10052341
cmp dword [esp], 0x378
jne 0x10052341
lea eax, [esp + 4]
push 0x104
lea ecx, [esp + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x10052341
lea edx, [esp + 4]
push edx
call fcn.10051d10
add esp, 4
test eax, eax
je 0x10052341
cmp dword [esp + 0x234], 1
jne 0x10052333
cmp dword [esp + 0x258], 2
jne 0x10052333
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10052341
push str.WSPStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10052341
mov eax, 1
add esp, 0x480
ret 8
xor eax, eax
add esp, 0x480
ret 8

Function at 0x10052350
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
test esi, esi
je 0x100523af
push esi
call fcn.10051d10
add esp, 4
test eax, eax
je 0x100523af
lea eax, [esp + 4]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x100523af
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100523af
push str.SetPara
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret 4
xor eax, eax
pop esi
add esp, 0x104
ret 4
Function at 0x10052440
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jne 0x10052474
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.10052350
test eax, eax
jne 0x1005248d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.100523c0
cmp eax, 1
je 0x1005261a
lea eax, [esp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100524c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
jne 0x10052542
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100525c2
mov eax, dword [esp + 0x14]
push str.PackedCatalogItem
push eax
mov ecx, ebx
call fcn.10052280
mov ecx, dword [esp + 0x14]
test eax, eax
push ecx
je 0x100525d9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
inc esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x100524e2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
xor esi, esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x10052590
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
push eax
mov ecx, ebx
call fcn.10051f30
test eax, eax
je 0x100525c2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
inc esi
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
je 0x1005255e
cmp dword [esp + 0x18], 1
jb 0x100525c2
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
dec ecx
push getpeername
push ecx
push ebp
push str.FileName
mov ecx, ebx
call fcn.10051e10
cmp eax, 1
je 0x1005260b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100525e9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
jmp 0x100525c2
push ebp
mov ecx, ebx
call fcn.10052630
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1005261a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret 4
Function at 0x10052630
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x10052662
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.100523c0
test eax, eax
jne 0x1005267f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100526a6
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x100526f4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.100520d0
test eax, eax
jne 0x100526dd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x100526c3
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push getpeername
mov ecx, edi
call fcn.10051ea0
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x10052717
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x10057810
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x100578b3
test eax, eax
jbe 0x100578b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100578b3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1005785e
xor esi, esi
jmp 0x10057864
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1005788f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1005b290
add esi, eax
push esi
mov ebx, esi
call fcn.1005b290
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x10057870
pop ebp
test edi, edi
pop edi
jne 0x100578b3
test ebx, ebx
je 0x100578b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.1005e420
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x100579f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10057b0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10057b0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.1006fd06
mov esi, eax
test esi, esi
je 0x10057b0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x10057b0d
mov ecx, esi
call fcn.10057960
cmp edi, eax
jge 0x10057b0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10057a93
mov dword [esp + 0x34], 1
jmp 0x10057aee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x10057b0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10056ed0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x100706aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100706e2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1006e761
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1006e739
jmp 0x100706ee
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10071d9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10071de1
call fcn.1007786e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10071de1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10071dd8
xor eax, eax
jmp 0x10071de9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10071def
pop edi
pop esi
pop ebx
ret 4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x1b8a0d3d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
nop
mov ecx, 0x27520cad
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100a53c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [eax]
mov ax, word [ecx]
xor eax, esi
add ecx, 2
push edi
mov edi, dword [esp + 0x20]
cmp ax, 0xffff
mov dword [esp + 0x10], ecx
je 0x100a584
and eax, 0xffff
add ecx, 2
add eax, edi
mov ebx, dword [eax]
add ebx, ebp
mov dword [eax], ebx
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100a568
mov ax, word [ecx]
mov dl, byte [esp + 0x40]
add ecx, 2
xor eax, esi
test dl, dl
jne 0x100a5b2
mov dl, byte [esp + 0x3c]
test dl, dl
jne 0x100a5b2
cmp ax, 0xffff
je 0x100a5ef
mov ax, word [ecx]
add ecx, 2
xor eax, esi
cmp ax, 0xffff
jne 0x100a5a2
jmp 0x100a5ef
xor ebx, ebx
cmp ax, 0xffff
je 0x100a5ef
mov ebp, dword [esp + 0x38]
xor edx, edx
and eax, 0xffff
add ecx, 2
mov dx, word [ebp + ebx*2]
mov ebp, dword [esp + 0x30]
add eax, edi
add edx, ebp
inc ebx
mov ebp, dword [eax]
and ebx, 3
add ebp, edx
mov dword [eax], ebp
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100a5ba
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
xor ebx, ebx
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x24]
push edx
and eax, 0xffff
lea ecx, [esp + 0x18]
add eax, edi
mov dword [esp + 0x18], ebx
push eax
push edi
push ecx
mov dword [esp + 0x28], ebx
call fcn.0100a719
mov al, byte [esp + 0x4c]
add esp, 0x10
cmp al, bl
jne 0x100a632
cmp ebp, ebx
jne 0x100a638
cmp byte [esp + 0x40], bl
je 0x100a6ac
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov ax, word [edx]
xor eax, esi
cmp ax, 0xffff
je 0x100a667
and eax, 0xffff
add ecx, 2
add eax, edi
mov edx, dword [eax]
sub edx, ebp
mov dword [eax], edx
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100a64b
cmp byte [esp + 0x40], bl
je 0x100a6ac
mov ax, word [ecx]
add ecx, 2
xor eax, esi
cmp ax, 0xffff
je 0x100a6ac
mov ebp, dword [esp + 0x38]
xor edx, edx
and eax, 0xffff
add ecx, 2
mov dx, word [ebp + ebx*2]
mov ebp, dword [esp + 0x30]
add eax, edi
add edx, ebp
inc ebx
mov ebp, dword [eax]
and ebx, 3
sub ebp, edx
mov dword [eax], ebp
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100a67b
mov al, byte [esp + 0x44]
test al, al
je 0x100a709
xor eax, eax
mov al, byte [edi - 0x15]
sub eax, 0x14
shl eax, 8
cdq
mov ecx, eax
xor eax, eax
mov al, byte [edi - 0xd]
mov esi, edx
sub eax, 0xc
shl eax, 0x18
cdq
add ecx, eax
adc esi, edx
xor eax, eax
mov al, byte [edi - 0xe]
sub eax, 0xeb
shl eax, 0x10
cdq
add ecx, eax
adc esi, edx
xor eax, eax
mov al, byte [edi - 0x16]
pop edi
sub eax, 0xeb
cdq
add ecx, eax
mov eax, dword [esp + 0x10]
adc esi, edx
mov edx, dword [esp + 0x14]
add eax, ecx
adc edx, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x100d872
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [eax]
mov ax, word [ecx]
xor eax, esi
add ecx, 2
push edi
mov edi, dword [esp + 0x20]
cmp ax, 0xffff
mov dword [esp + 0x10], ecx
je 0x100d8ba
and eax, 0xffff
add ecx, 2
add eax, edi
mov ebx, dword [eax]
add ebx, ebp
mov dword [eax], ebx
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100d89e
mov ax, word [ecx]
mov dl, byte [esp + 0x40]
add ecx, 2
xor eax, esi
test dl, dl
jne 0x100d8e8
mov dl, byte [esp + 0x3c]
test dl, dl
jne 0x100d8e8
cmp ax, 0xffff
je 0x100d925
mov ax, word [ecx]
add ecx, 2
xor eax, esi
cmp ax, 0xffff
jne 0x100d8d8
jmp 0x100d925
xor ebx, ebx
cmp ax, 0xffff
je 0x100d925
mov ebp, dword [esp + 0x38]
xor edx, edx
and eax, 0xffff
add ecx, 2
mov dx, word [ebp + ebx*2]
mov ebp, dword [esp + 0x30]
add eax, edi
add edx, ebp
inc ebx
mov ebp, dword [eax]
and ebx, 3
add ebp, edx
mov dword [eax], ebp
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100d8f0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
xor ebx, ebx
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x24]
push edx
and eax, 0xffff
lea ecx, [esp + 0x18]
add eax, edi
mov dword [esp + 0x18], ebx
push eax
push edi
push ecx
mov dword [esp + 0x28], ebx
call fcn.0100da4f
mov al, byte [esp + 0x4c]
add esp, 0x10
cmp al, bl
jne 0x100d968
cmp ebp, ebx
jne 0x100d96e
cmp byte [esp + 0x40], bl
je 0x100d9e2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov ax, word [edx]
xor eax, esi
cmp ax, 0xffff
je 0x100d99d
and eax, 0xffff
add ecx, 2
add eax, edi
mov edx, dword [eax]
sub edx, ebp
mov dword [eax], edx
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100d981
cmp byte [esp + 0x40], bl
je 0x100d9e2
mov ax, word [ecx]
add ecx, 2
xor eax, esi
cmp ax, 0xffff
je 0x100d9e2
mov ebp, dword [esp + 0x38]
xor edx, edx
and eax, 0xffff
add ecx, 2
mov dx, word [ebp + ebx*2]
mov ebp, dword [esp + 0x30]
add eax, edi
add edx, ebp
inc ebx
mov ebp, dword [eax]
and ebx, 3
sub ebp, edx
mov dword [eax], ebp
mov ax, word [ecx - 2]
xor eax, esi
cmp ax, 0xffff
jne 0x100d9b1
mov al, byte [esp + 0x44]
test al, al
je 0x100da3f
xor eax, eax
mov al, byte [edi - 0x15]
sub eax, 0x14
shl eax, 8
cdq
mov ecx, eax
xor eax, eax
mov al, byte [edi - 0xd]
mov esi, edx
sub eax, 0xc
shl eax, 0x18
cdq
add ecx, eax
adc esi, edx
xor eax, eax
mov al, byte [edi - 0xe]
sub eax, 0xeb
shl eax, 0x10
cdq
add ecx, eax
adc esi, edx
xor eax, eax
mov al, byte [edi - 0x16]
pop edi
sub eax, 0xeb
cdq
add ecx, eax
mov eax, dword [esp + 0x10]
adc esi, edx
mov edx, dword [esp + 0x14]
add eax, ecx
adc edx, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x103e9ef
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x414e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x414e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e70
mov eax, 1
add ebx, ebx
jne 0x414e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e88
jne 0x414ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e88
xor ecx, ecx
sub eax, 3
jb 0x414eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414f2a
mov ebp, eax
add ebx, ebx
jne 0x414ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414ef4
inc ecx
add ebx, ebx
jne 0x414ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414ed5
jne 0x414ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414f05
jmp 0x414e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414f14
add edi, ecx
jmp 0x414e76
pop esi
mov edi, esi
mov ecx, 0x5a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414f32
cmp byte [edi], 5
jne 0x414f32
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 0x414f37
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414fa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1551c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15520]
or eax, eax
je 0x414fa0
mov dword [ebx], eax
add ebx, 4
jmp 0x414f81
call dword [esi + 0x15530]
mov ebp, dword [esi + 0x15524]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x414fda
sub esp, 0xffffff80
jmp 0x40a764