joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d6e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x16a6600]
xor edx, edx
cmp eax, edx
jne 0x48d706
xor eax, eax
mov byte [eax + 0x16a6500], al
inc eax
cmp eax, 0x100
jl 0x48d6ee
mov dword [0x16a6600], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x16a6500
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48d797
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48d76a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x48d738
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48d810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x48d863
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48d84a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4941f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c25be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00494b10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1658fcc
call fcn.004b3829
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x494283
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b3829
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49427c
push 0
mov ecx, eax
call fcn.0048b320
mov dword [esi + 0xc], eax
jmp 0x494285
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x494285
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4a5420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a5440
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a42aa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4a5463
test byte [esp + 8], 2
je 0x4a5463
call fcn.004a431d
mov dword [eax], 0xd
call fcn.004a4326
mov dword [eax], 5
jmp 0x4a543c
xor eax, eax
ret

Function at 0x4b5e8f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b5ec7
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.004b3f43
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b3f1b
jmp 0x4b5ed3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b757d
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 0x4b75bf
call fcn.004bd079
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b75bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b75b6
xor eax, eax
jmp 0x4b75c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b75cd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bd5a9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bd5d7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bd5f5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bd50f
jmp 0x4bd5f5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bd5f5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bd50f
test edi, edi
mov eax, edi
jne 0x4bd5df
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401cc0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
Function at 0x40a0f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436744
call fcn.004204f2
push 4
mov dword [ebp - 4], 0
call fcn.00420e45
mov edi, eax
add esp, 4
test edi, edi
je 0x40a16c
call fcn.0041fb82
mov dword [edi], eax
call fcn.0041f941
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041f876
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40a162
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041f89e
jmp 0x40a16e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432b88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x40ba69
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b8c3
sub eax, edx
sar eax, 1
je 0x40ba69
push edi
call dword [0x4331e8]
test eax, eax
je 0x40ba69
push 0x14
push 0x65
push ebx
call dword [0x4330d8]
mov esi, eax
cmp esi, ebx
je 0x40ba5b
push esi
push ebx
call dword [0x4330e4]
mov edi, eax
cmp edi, ebx
je 0x40ba69
push esi
push ebx
call dword [0x4330dc]
cmp eax, ebx
je 0x40ba69
push eax
call dword [0x4330e0]
cmp eax, ebx
je 0x40ba69
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00405c60
add esp, 8
cmp eax, ebx
je 0x40ba42
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
cmp edi, esi
je 0x40ba42
mov edx, dword [ebp + 8]
push 0x4368b8
push edx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004217c4
add esp, 0xc
test eax, eax
jne 0x40ba42
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40ba42
push eax
sub esi, edi
push esi
push 1
push edi
call fcn.00421962
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov esi, ecx
call fcn.00421a49
add esp, 0x14
cmp esi, ebx
je 0x40ba42
lea esi, [ebp - 0x20]
call fcn.00404fa0
push 0x6b
mov byte [ebp - 4], 2
call fcn.00405540
add esp, 4
cmp eax, ebx
je 0x40ba3a
push eax
mov eax, 0x6b
mov edi, esi
call fcn.00405110
cmp eax, ebx
je 0x40ba3a
mov edi, dword [ebp - 0x20]
cmp dword [edi - 0xc], ebx
je 0x40ba3a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00404fc0
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040e2f0
mov eax, edi
call fcn.0040e1d0
cmp eax, ebx
je 0x40ba32
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [0x43305c]
test eax, eax
je 0x40ba32
mov eax, dword [ebp - 0x14]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call dword [0x4331d8]
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x14]
call fcn.0040ba80
lea eax, [ebp - 0x20]
call fcn.0040ba80
lea esi, [ebp - 0x30]
call fcn.00405ce0
jmp 0x40ba69
push edi
call dword [0x433060]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432867
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x4369ac
mov dword [ebx + 0x60], 0x43692c
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x436784
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.00408c10
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.0040fd70
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40e3db
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push 0
mov ecx, esi
call fcn.00408ad0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], str._typeof
call fcn.0040f9f0
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], 0x43696c
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0x468954]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4324c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x40f5f1
cmp byte [ebx + 0x49], 0
je 0x40f5f1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x40f5e5
lea esi, [ebp - 0x2c]
call fcn.0040f040
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40f4d3
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40f50c
dec eax
je 0x40f510
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x40f5ec
call fcn.0040dca0
xor al, al
jmp 0x40f5f3
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40f520
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40f54d
cmp edi, 0x10
jae 0x40f52f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00421962
add esp, 0x10
cmp esi, eax
jne 0x40f5dd
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x40f5e9
test esi, esi
jne 0x40f4c7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40f60e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40f60e
cmp edi, esi
jae 0x40f5c6
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040fc00
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x40f4c7
mov ecx, eax
cmp edi, 0x10
jae 0x40f5a2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40f5bd
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x40f4c1
test esi, esi
jne 0x40f598
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x40f5d5
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x40f4c1
lea ecx, [ebp - 0x2c]
call fcn.0040dca0
xor al, al
jmp 0x40f5f3
lea ecx, [ebp - 0x2c]
call fcn.0040dca0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420966
mov esp, ebp
pop ebp
ret
push 0x436728
call fcn.0041f761
int3
Function at 0x40f9f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], str._default_constructor_closure
call fcn.004204f2
push 4
mov dword [ebp - 4], 0
call fcn.00420e45
mov edi, eax
add esp, 4
test edi, edi
je 0x40fa6c
call fcn.0041fb82
mov dword [edi], eax
call fcn.0041f941
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041f876
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40fa62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041f89e
jmp 0x40fa6e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
call fcn.00401227
call fcn.00401255
xor ecx, ecx
mov eax, dword fs:[ecx + 0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lodsd eax, dword [esi]
xchg esi, eax
lodsd eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov edx, dword [ebx + 0x3c]
add edx, ebx
mov edx, dword [edx + 0x78]
add edx, ebx
mov esi, dword [edx + 0x20]
add esi, ebx
mov ecx, 0
inc ecx
lodsd eax, dword [esi]
add eax, ebx
cmp dword [eax], 0x50746547
jne 0x401030
cmp dword [eax + 4], 0x41636f72
jne 0x401030
cmp dword [eax + 8], 0x65726464
jne 0x401030
mov esi, dword [edx + 0x24]
add esi, ebx
mov cx, word [esi + ecx*2]
dec ecx
mov esi, dword [edx + 0x1c]
add esi, ebx
mov edx, dword [esi + ecx*4]
add edx, ebx
xor ecx, ecx
push ebx
push edx
push ecx
push 0x41797261
push 0x7262694c
push 0x64616f4c
push esp
push ebx
call edx
add esp, 0xc
pop ecx
push eax
push ecx
mov ecx, 0x62616c6c
push ecx
sub word [esp + 2], 0x6261
push 0x642e3233
push 0x5f327377
push esp
call eax
push eax
mov esi, esp
call fcn.0040115c
push eax
mov eax, dword [esi]
call fcn.00401186
push eax
mov eax, dword [esi]
call fcn.004011af
push eax
mov eax, dword [ebp - 0x10]
call fcn.004011d1
push eax
mov eax, dword [ebp - 0x10]
call fcn.004011ff
push eax
call 0x4010d4
call fcn.004010e8
call fcn.004010fe
push ebp
mov ebp, esp
xor edx, edx
mov dx, 0x190
sub esp, edx
push esp
push edx
call dword [esi - 4]
mov esp, ebp
pop ebp
ret
Function at 0x430040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x430062
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430058
mov eax, 1
add ebx, ebx
jne 0x43007b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430070
jne 0x43008c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430070
xor ecx, ecx
sub eax, 3
jb 0x4300a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x430112
mov ebp, eax
add ebx, ebx
jne 0x4300ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4300b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4300dc
inc ecx
add ebx, ebx
jne 0x4300c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4300bd
jne 0x4300d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4300bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4300fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4300ed
jmp 0x43005e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4300fc
add edi, ecx
jmp 0x43005e
pop esi
mov edi, esi
mov ecx, 0xcc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43011a
cmp byte [edi], 9
jne 0x43011a
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 eax, ebx
loop 0x43011f
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x43018e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e668]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e6e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43014c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e6e4]
or eax, eax
je 0x430188
mov dword [ebx], eax
add ebx, 4
jmp 0x430169
call dword [esi + 0x3e6e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4301bf
cmp al, 0xef
ja 0x4301b2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x430194
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4301a1
popal
jmp 0x417220

Function at 0x1db26f9
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x78d96c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x78d976
pushal
call 0x78d97c
pop ebp
sub ebp, 0x10
sub ebp, 0x38d96c
jmp 0x78d992
mov eax, 0x38d96c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c3
mov edx, 0xa21973f4
xor byte [eax], dl
inc eax
dec ecx
jne 0x78d9a9
jmp 0x78d9bc
jg 0x78d9f7
jg 0x78da3d
enter 0xfffffffffffff4f4, 0xfffffffffffffff4
jne 0x78d9fb
or al, 0xf4
hlt
int1
hlt
sbb eax, 0xf4f4f4dc
mov eax, dword [0x717fa9a0]
cld
hlt
sbb al, 0xf1
hlt