joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5eb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c5f1f
cmp byte [ebx + 0xd3], 0
jne 0x4c5f1f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004070c8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c5f0c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c5f2c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407320
jmp 0x4c5f2c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407320
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c76f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c7762
mov eax, esi
call fcn.00489bb4
test al, al
je 0x4c7762
mov eax, dword [ebx + 0x84]
call fcn.00489808
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c7762
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c7756
push 0
mov eax, dword [ebx + 0x84]
call fcn.00489808
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00480784
jmp 0x4c7762
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c752c
pop esi
pop ebx
ret
Function at 0x4da870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4da998
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004da75c
mov eax, dword [esi]
call fcn.00408b28
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416d08]
call fcn.00408cf0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045f8
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045f8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408b28
mov dword [ebp - 0xc], eax
mov eax, dword [0x574030]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004c9e48
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404cbc
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408b28
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004c9d38
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004c9b3c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004c9e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da99f
lea eax, [ebp - 4]
mov edx, dword [0x416d08]
call fcn.00408e14
ret

Function at 0x4fe614
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407b60
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4fe639
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004079ec
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4fe658
mov eax, ebx
mov edx, dword [esp]
call fcn.00407b60
pop ecx
pop edx
pop ebx
ret
Function at 0x52f07b
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 0x52f0cf
push esi
call fcn.0052bd7c
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_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x101918f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10191921
jmp 0x10191a56
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x10191a56
lea eax, [esp + 0x38]
mov ecx, dword [0x101d3874]
add ecx, 0xffffefd3
mov dword [0x101d3874], ecx
mov dword [esp + 0x1c], eax
call fcn.10191db9
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x10191914
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1019165f
lea ecx, [0x101929f6]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 0x132800
mov dword [0x101d3874], 0x15a6
mov edx, dword [0x101d3860]
mov dword [esp + 0x48], edx
mov edx, dword [0x101d3864]
mov dword [esp + 0x60], edx
mov edx, dword [0x101d3868]
mov dword [esp + 0x8c], edx
mov edx, dword [0x101d386c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101d3870]
mov dword [esp + 0x74], edx
mov dword [0x101d3878], 0x109b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101919e3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101919f7
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101919c0
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [0x101d3874], 0xfffff682
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10192483
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101d3874]
add ecx, 0xffffe5c3
mov dword [0x101d3878], ecx
mov dword [esp + 0x20], eax
jmp 0x10191914
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10191ad5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101925ae
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10191b11
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d3878], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101d3874], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10191c44
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x10191bd7
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x10191b79
jmp 0x10191c20
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101d3874], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x10191c44
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x3d]
and ah, cl
mov byte [ebp - 0x4d], ah
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x4d]
and dl, cl
test dl, 1
mov dword [ebp - 0x58], eax
jne 0x10191bf1
jmp 0x10191b6d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov edx, dword [ebp - 0x60]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x3d], cl
je 0x10191b6d
jmp 0x10191ba1
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x5c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x10191bd7
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10191c4f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x101d3878]
add edi, 0x53c
mov dword [0x101d3878], edi
mov dword [0x101d3880], 0
mov byte [0x101d3884], 0
mov dword [0x101d387c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10191d4a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d3888], 0
mov edx, dword [0x101d3880]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101d3888], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101d3880], edx
mov dword [0x101d3874], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101d3884], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101d3874], 0x16c8
mov cl, byte [0x101d3884]
mov edx, dword [0x101d3880]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101d387c]
add edx, 1
mov dword [0x101d387c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10191ca1
jmp 0x10191da7
mov eax, dword [ebp - 0x1c]
mov dword [0x101d3878], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d3878]
add eax, 0x325
mov dword [0x101d3878], eax
mov eax, dword [0x101d387c]
add eax, 1
mov dword [0x101d387c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10191d4a
xor eax, eax
mov dword [0x101d3874], 0x182
mov dword [0x101d387c], 0
mov dword [ebp - 0x20], eax
jmp 0x10191ca1
mov dword [0x101d3874], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10191db9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10191e09
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x10191de5
jmp 0x10191eb6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10191e56
jmp 0x10191e6a
mov eax, dword [0x101d3874]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffff36e
mov dword [0x101d3874], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10191eb6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10191ea3
jmp 0x10191eb6
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x10191e83
jmp 0x10191eb6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10191e09
jmp 0x10191e56
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10191eb6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10191e21
jmp 0x10191eb6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10191ded
xor eax, eax
mov dword [0x101d3874], 0x982
mov dword [ebp - 0x14], eax
jmp 0x10191de5
Function at 0x10192225
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101d387c], 0
mov dword [0x101d3880], 0
mov dword [0x101d388c], 0
mov dword [0x101d3874], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10192373
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [0x101d3878], 0xb88
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101d387c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d3880], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d3884], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101d3874]
add edx, 0x20cc
mov dword [0x101d3874], edx
mov cl, byte [0x101d3884]
mov edx, dword [0x101d3880]
mov byte [ebx + edx], cl
mov edx, dword [0x101d387c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101d3880]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101d388c], ecx
mov dword [0x101d3874], 0x395
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10192373
mov eax, dword [0x101d387c]
mov ecx, dword [0x101d3880]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10192288
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10192483
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101d3878]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x101d3874], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x10193624]
mov dl, byte [eax + 0x101935f5]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x38], eax
jne 0x101924b3
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x101d3878], ecx
mov dword [ebp - 0x3c], eax
call fcn.10191eca
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101927d3
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x101925a5
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1019237b
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101d3874], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x38], ecx
add ecx, 0x102d
mov esi, dword [ebp - 0x44]
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x1019259b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x40603f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416044]
jne 0x406049
repz ret
jmp fcn.004068f4
Function at 0x40ced7
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40ce9d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40cebb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40cf19
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40cf00
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40cf09
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40cf13
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40cef5
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40ce7f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40cf66
dec eax
je 0x40cf5d
sub eax, 3
je 0x40cf54
mov dword [ebp - 4], 0x40
jmp 0x40cf83
mov dword [ebp - 4], 4
jmp 0x40cf69
mov dword [ebp - 4], 0x20
jmp 0x40cf69
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40cfb5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40cf35
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040c7c6
mov al, byte [0xff19522c]
jne 0x40cfc0
push 1
push esi
call edi
mov eax, esi
jmp 0x40cfc1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x4040bf
Capabilities:
Encode data using xor

Disassembly:
jl 0x40408c
cmp eax, 1
jne 0x404084
push ebp
pop dword [ecx + 0x10]
shr byte [0xafffffd3], cl
sal byte [esp + 0x6a], 1
push ebp
push 0xeb00040f
push dword [0x51429218]
call dword [0x6a82d0]
xor eax, dword [ecx + 0x400c2d39]
inc edx
add byte [edi], cl
xchg esp, eax
shr cl, 0xaa
add al, byte [eax]
add byte [ecx], bh
movhps qword cs:[eax + 0x68004951], xmm4
cmp dword [esi], ebp
movhps qword [eax + 0x68004951], xmm4
push 0xbf04b9
call fcn.0040448b
mov eax, dword [0x426c10]
mov ecx, 0xe800bf04
cmc
add eax, dword [eax]
add byte [ecx + 0x426c10], ah
add dword [0x40a3ef], eax
shl eax, 0x86
add esi, dword [edi + 0x40a39ca1]
add byte [ebx], bh
add eax, 0x423984
jne 0x404054
push 0xffffffffffffffd6
in eax, dx
push ecx
rcr dword [edx], cl
invalid
add byte [edi], cl
test dword [edx + eax], esp
add byte [eax], al
jno 0x40404c
mov byte [0x539cc42], al
pushfd
mov dword [0x3a0f00c6], eax
adc eax, dword [edx]
add byte [ecx - 1], al
jbe 0x4040fe
mov ebx, dword [esi + 0x14]
push 0xf643a000
call 0x40ba0a
push dword [esi + 0x20]
mov ecx, 0xfffffc19
push edi
call fcn.00404322
push dword [esi + 0x1c]
push 0xffd3fc1b
push edi
pop esp
add dh, byte [ebx]
add bh, bh
push eax
sub byte [eax + 0x1a], ch
cld
invalid

Function at 0x40435f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
or al, 0x52
dec ebx
leave
aad 0x64
xor dword [eax - 0xf81f415], edx
nop
jmp 0x404374
jle 0x40435b
fild word [0xa7778818]
mov byte [edi - 0x59], dh
Function at 0x4010f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, 0x80
push edi
mov ebx, 0x64e8
lea esi, [eax + 0x1f]
xor ecx, ecx
mov edx, 0x7323
mov edi, 0x68
nop
cmp eax, 0x68
cmovg eax, edi
dec edx
jne 0x401110
mov edi, dword [ebp + 8]
test edi, edi
je 0x40118c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40118c
cmp edi, eax
jae 0x40118c
sub eax, edi
mov dword [ebp + 0xc], eax
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401130
mov eax, 0x59b1
mov edx, 0x3c
nop
cmp esi, edx
cmovl esi, edx
dec eax
jne 0x401150
mov ebx, dword [ebp + 0xc]
xor edx, edx
test ebx, ebx
je 0x401170
mov al, byte [edx + edi + 1]
sub al, 0x10
xor byte [edx + edi], al
inc edx
cmp edx, ebx
jb 0x401161
nop
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x40117f
dec eax
or eax, 0xfffffffe
inc eax
jne 0x401184
add ecx, 2
cmp ecx, 0x717
jl 0x401170
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, 0x6612
push ebx
push esi
push edi
mov esi, 0x5296
mov ebx, 0x6cc1
jmp 0x402e30
mov eax, 0xe6c2b449
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402e30
mov esi, dword [ebp + 8]
inc byte [esi + 0x106]
movzx eax, byte [esi + 0x106]
lea edx, [esi + 5]
add eax, edx
mov dword [ebp - 4], edx
movzx edx, byte [eax]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 0x105]
add eax, edx
mov byte [esi + 0x105], al
mov dword [ebp - 8], eax
mov esi, 0x303e
lea ebx, [ebx]
mov eax, 0xd20d20d3
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402e80
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
movzx esi, al
add esi, dword [ebp - 4]
mov dl, byte [edi]
mov al, byte [esi]
mov byte [edi], al
mov byte [esi], dl
mov edi, 0x351e
mov edi, edi
mov eax, 0x2e8ba2e9
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402eb0
mov edi, 0x3632
jmp 0x402ed0
mov eax, 0x8c08c08d
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402ed0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov al, byte [eax]
add al, byte [esi]
movzx eax, al
mov bl, byte [eax + edx]
mov eax, 0xae4c415d
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402ef5
lea ebx, [ebx]
mov eax, 0x1948b0fd
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402f10
movzx ecx, byte [ebp + 0xc]
movzx eax, bl
pop edi
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov ebx, 1
mov eax, ebx
push 3
and eax, 0xffff
push eax
push edi
call dword [0x41021c]
mov esi, eax
test esi, esi
je 0x4022a2
push 0x1f39
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x8a8
je 0x4022ad
cmp eax, 0x2e8
jne 0x40229c
mov ebp, ebx
inc ebx
cmp ebx, 8
jl 0x40225f
test ebp, ebp
jne 0x4022b9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov dword [0x418658], 0x8a8
jmp 0x4022de
and ebp, 0xffff
push 3
push ebp
push edi
call dword [0x41021c]
mov esi, eax
test esi, esi
jne 0x4022d4
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [0x418658], 0x2e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4022ef
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
pop esi
pop ebp
pop ebx
ret