joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ee0c0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004e4c31
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004e4c31
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4ee137
cmp word [ecx], dx
je 0x4ee137
mov eax, dword [0x50943c]
push edi
dec eax
push eax
push 0x509328
call fcn.004ee05f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4ee1aa
cmp word [eax], dx
je 0x4ee1aa
mov eax, dword [edi]
test eax, eax
je 0x4ee15b
cmp word [eax], dx
je 0x4ee15b
lea eax, [ebp - 0x10]
push eax
call fcn.004eda42
jmp 0x4ee164
lea eax, [ebp - 0x10]
push eax
call fcn.004edadd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4ee1d4
mov eax, dword [0x509324]
push dword [ebp - 0x14]
dec eax
push eax
push 0x509018
call fcn.004ee05f
add esp, 0xc
test al, al
je 0x4ee1d4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4ee19f
cmp word [eax], di
je 0x4ee19f
lea eax, [ebp - 0x10]
push eax
call fcn.004eda42
pop ecx
jmp 0x4ee1d6
lea eax, [ebp - 0x10]
push eax
call fcn.004edadd
jmp 0x4ee19c
mov eax, dword [edi]
test eax, eax
je 0x4ee1c1
cmp word [eax], dx
je 0x4ee1c1
lea eax, [ebp - 0x10]
push eax
call fcn.004ed9f7
pop ecx
jmp 0x4ee1d4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4ee29f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004edee4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4ee29f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4ee29f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4ee29f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ee22c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004e7162
test ebx, ebx
je 0x4ee29a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004e7162
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ee29f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ee29f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004f1cbb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4ee2a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c048e
leave
ret
Function at 0x4f1ee5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004f1e61
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4f2054
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4f2054
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4f2009
jg 0x4f1f41
test eax, eax
je 0x4f1fff
push 1
push 0x1000
call fcn.004e68b1
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4f1f64
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4f1ff6
push 0x8000
push ebx
call fcn.004e0bed
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4f1f8d
jg 0x4f1f88
cmp ecx, 0x1000
jb 0x4f1f8d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004e9302
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f1fd2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4f1f88
jl 0x4f1fb9
test ecx, ecx
jne 0x4f1f7a
push dword [ebp - 0xc]
push ebx
call fcn.004e0bed
push esi
call fcn.004e6191
add esp, 0xc
xor ebx, ebx
jmp 0x4f2062
cmp byte [edi + 0x24], 0
je 0x4f1fe9
cmp dword [edi + 0x20], 5
jne 0x4f1fe9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4f1ff4
mov ebx, dword [edi + 0x18]
jmp 0x4f1ff6
xor ebx, ebx
push esi
call fcn.004e6191
pop ecx
jmp 0x4f2062
test ecx, ecx
jg 0x4f1fcb
jl 0x4f2009
test eax, eax
jae 0x4f1fcb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004e4895
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4f2029
cmp byte [edi + 0x1c], 0
je 0x4f1fcb
jmp 0x4f205a
push ebx
call fcn.004ebf61
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4f1fcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4f2062
cmp byte [edi + 0x1c], 0
je 0x4f205f
mov ebx, dword [edi + 0x18]
jmp 0x4f2062
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004e4895
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4f35d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4f35fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4f35fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x2300c58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x2300cb1
test eax, edx
je 0x2300cb4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x2300c6f
movzx eax, word [eax]
sub eax, ecx
jmp 0x2300c96
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x2300c97
add ecx, 4
js 0x2300c87
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x2300c94
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x2300c96
xor eax, eax
ret
test eax, eax
je 0x2300cc0
test edx, edx
jne 0x2300c60
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x2309d6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.022e96f8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.022ed598
mov edi, eax
cmp edi, 0x104
jbe 0x2309d17
mov eax, edi
add eax, eax
call fcn.022e5ec4
mov esi, eax
jmp 0x2309d19
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.022ed598
push esi
call fcn.022f36d8
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x2309d52
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x2309d3c
mov eax, esp
cmp esi, eax
je 0x2309d5f
mov eax, esi
call fcn.022e5ee0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x2309d98
cmp bl, 0
je 0x2309d94
cmp bl, 0x41
jl 0x2309d8f
cmp bl, 0x5a
jg 0x2309d8f
or bl, 0x20
xor al, bl
inc esi
jmp 0x2309d73
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x2309cd8
Function at 0x2366804
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x236680c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x23e00e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x500e3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x23e0213
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.02302230
test al, al
je 0x23e0213
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x491ea8]
call fcn.02394110
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x500e0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.02391b20
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404704]
call fcn.022eb530
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0230de94
mov esi, eax
mov dl, 1
mov eax, dword [0x48f018]
call fcn.02391a7c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x500def
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 4]
test edi, edi
je 0x23e01b0
sub edi, 4
mov edi, dword [edi]
sub edi, esi
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0230f1e4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.023e04dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500df6
mov eax, dword [ebp - 8]
call fcn.022e746c
ret
mov eax, ebx
call fcn.023dfee8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500e45
lea eax, [ebp - 0x10]
call fcn.022e9228
lea eax, [ebp - 4]
mov edx, dword [0x404704]
call fcn.022eb654
ret

Function at 0x23ed78c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x23ed792
ret
Function at 0x253ed04
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x253ed0c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65fac1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x65fadc
call fcn.022ea0b4
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0253c910
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x65faf0
call fcn.024e7cdc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x253ed87
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x253edc8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.0253c910
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x65fb58
call fcn.024e7cdc
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.022ea05c
mov eax, esi
mov edx, 0x65fb84
call fcn.022ea05c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x253ede0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x253ee4e
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x65fb98
call fcn.024e7cdc
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.022ea05c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x253ee17
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x253ee42
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x65fbc8
call fcn.024e7cdc
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.022ea05c
mov eax, esi
mov edx, 0x65fb84
call fcn.022ea05c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x253ee5a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x253ee85
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x65fbf4
call fcn.024e7cdc
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.022ea05c
mov eax, esi
mov edx, 0x65fb84
call fcn.022ea05c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65fac8
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.022e9288
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.022e9288
lea eax, [ebp - 4]
call fcn.022e9228
ret
Function at 0x2586a44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x77ef08], 0
jne 0x2586a5b
call fcn.02586a00
mov eax, edi
dec eax
test eax, eax
jl 0x2586a83
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x77eb08]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x2586a65
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x2589778
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja 0x25898c3
jmp dword [ecx*4 + 0x6aa3ab]
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x258995b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0258898c
test eax, eax
je 0x258995b
mov eax, ebx
call fcn.02589964
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x25898f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x2589964
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x2589995
dec al
je 0x25899d0
dec al
je 0x2589a0d
dec al
je 0x2589a76
jmp 0x2589b00
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x2589b00
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x25899a5
jmp 0x2589b00
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x2589b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x25899e0
jmp 0x2589b00
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x2589b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x2589a3c
xor ebp, ebp
jmp 0x2589a4c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x2589a55
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x2589a1d
jmp 0x2589b00
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x2589b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x2589acf
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.02586a8c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x2589a8a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x2591660
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x259168e
mov eax, ebx
call fcn.0259211c
cmp dword [ebx + 0x40], 0
je 0x2591687
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x25916ff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x25916f1
cmp dword [ebx + 8], 0
je 0x25916b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x25916c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x25916f1
cmp dword [ebx + 8], 0
je 0x25916a3
cmp eax, 3
je 0x25916d5
dec eax
jne 0x25916a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x25916a3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x25916a3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x259171d
cmp dword [ebx + 0x14], 0xcc
je 0x259171d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.02591728
pop ebx
ret
Function at 0x417f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f90
mov eax, 1
add ebx, ebx
jne 0x417fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417fa8
jne 0x417fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fa8
xor ecx, ecx
sub eax, 3
jb 0x417fd8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41804a
mov ebp, eax
add ebx, ebx
jne 0x417fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x418014
inc ecx
add ebx, ebx
jne 0x418000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417ff5
jne 0x418011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417ff5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x418025
jmp 0x417f96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418034
add edi, ecx
jmp 0x417f96
pop esi
mov edi, esi
mov ecx, 0x315
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x418052
cmp byte [edi], 4
jne 0x418052
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 0x418057
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4180cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418084
mov ecx, edi
jns 0x4180b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1807c]
or eax, eax
je 0x4180c9
mov dword [ebx], eax
add ebx, 4
jmp 0x4180a1
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x418103
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx