joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x325d4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x4811b0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32c58]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30f40]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [esp + 0xc]
jne 0x4811c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x4811b0
pop esi
pop ebp
mov dword [edi + 0x84], 0
pop ebx
add esp, 0xc
ret
Function at 0x481220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov eax, 4
push edi
mov dword [esp + 0x18], eax
movzx ebp, byte [edx + eax + 0x30740]
mov ecx, ebp
mov esi, ebp
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
sub edi, esi
mov ebx, 1
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4812b1
jmp 0x481274
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, ebp
mov eax, edi
and eax, 1
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b72]
mov ebp, eax
neg ebp
sar ebp, 4
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
mov ecx, dword [edx + ecx*4 + 0x30f40]
add dword [esp + 0x10], ecx
add ebx, ebx
shr edi, 1
or ebx, eax
dec dword [esp + 0x14]
jne 0x481270
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x80
jb 0x481233
lea eax, [edx + 0x32974]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
sub eax, edx
lea ebp, [edx + 0x31ddc]
sub eax, 0x31dd4
lea edi, [edx + 0x319d4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
xor ebx, ebx
cmp dword [edx + 0x88], ebx
jbe 0x48135b
lea ebx, [ebx]
mov eax, ebx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x48134f
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4 + 0x30f40]
mov eax, ecx
cmp eax, 1
jne 0x481320
mov ebp, dword [esp + 0x18]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, dword [edx + 0x88]
jb 0x481310
mov eax, 0xe
cmp dword [edx + 0x88], eax
jbe 0x48137e
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x88]
jb 0x481368
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 4], ecx
mov eax, 4
lea ecx, [ebp + 8]
lea ecx, [ecx]
movzx esi, byte [edx + eax + 0x30740]
mov esi, dword [edi + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx]
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0x80
jb 0x4813a0
sub dword [esp + 0x10], 0xffffff80
sub dword [esp + 0x14], 0x200
add ebp, 0x200
add edi, 0x100
dec dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jne 0x481300
pop edi
pop esi
pop ebp
mov dword [edx + 0x80], 0
pop ebx
add esp, 0x210
ret

Function at 0x486ac0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret
Function at 0x487260
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov eax, edi
mov ebx, edx
and eax, 3
xor ebp, ebp
shr edi, 2
xor edx, edx
cmp eax, ebp
je 0x487282
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x4872ba
lea esp, [esp]
and edi, 0xf
jne 0x4872b0
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.00486af0
mov dword [esi + edi*4 + 0x20], ebp
inc edi
cmp edi, 0xe
jne 0x4872a0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0x58], ecx
push esi
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.00486af0
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [esi + eax*4]
bswap ecx
mov dword [ebx], ecx
inc eax
add ebx, 4
cmp eax, 5
jb 0x4872e0
pop edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x4873c0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0xe
je 0x4873fa
mov edi, edi
and edi, 0xf
jne 0x4873f0
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.00486af0
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x4873e0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
shl eax, 5
mov dword [esi + 0x58], ecx
push ebp
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.00486af0
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x487450
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x488020
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0x38
je 0x488055
jmp 0x488040
and edi, 0x3f
jne 0x48804b
push esi
call fcn.00487490
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x488040
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.00487490
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edx, dword [esi + eax*4]
bswap edx
bswap ecx
mov dword [ebp], edx
mov dword [ebp + 4], ecx
add eax, 2
add ebp, 8
cmp eax, 8
jb 0x488077
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x4881e0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x488208
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x488217
mov eax, 1
ret 4

Function at 0x488470
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x488493
sub eax, 3
je 0x488489
sub eax, 6
jne 0x48849a
add ecx, 0x10
jmp fcn.00487450
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x48b970
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
push esi
add eax, 3
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [ecx], eax
test ebx, ebx
je 0x48b99f
mov eax, dword [edx]
mov dword [ecx + esi*4 + 0x10], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x48b991
cmp esi, ebp
jae 0x48ba90
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4 + 0x10]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x48ba1d
movzx eax, byte [eax + 0x49cb50]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x48ba73
cmp ebx, 6
jbe 0x48ba73
cmp edx, 4
jne 0x48ba73
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x48b9b4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
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

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

Function at 0x1365abd
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
loop 0x1350a14
jmp 0x13972e5
jmp 0x136a5f3
jl 0x1358d25
sub al, 0x20
clc
cmc
ror edi, 0xd
cmp si, 0x1183
jmp 0x1376b6a
push ebp
mov ebp, esp
sal cl, cl
xor esi, 0xe4122d9
sub esp, 4
jmp 0x136a5a4
mov edx, dword [edx]
jmp 0x139dfbb
mov dword [ebp - 4], 0
bswap cx
mov si, di
cld
btc cx, 0xe2
bt ecx, 0x40
xor edx, edx
add ch, 0x89
shl cx, cl
mov edx, dword fs:[edx + 0x30]
cmc
and esi, 0x5b486104
shld si, bx, 0x21
mov edx, dword [edx + 0xc]
cmp bp, 0x7054
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
sar cx, cl
push 0x18
stc
bt cx, 0x63
pop ecx
cmc
clc
sub edi, edi
test eax, esi
xor eax, eax
mov al, 0x3c
not al
lodsb al, byte [esi]
cmp si, si
cmp al, 0x61
jmp 0x1358d1b
jmp 0x1350a0d
add edi, eax
jmp 0x136ca40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1394900
jmp 0x132f65f
cmp edi, 0x6a4abc5b
movzx bx, bh
mov ebx, dword [edx + 0x10]
jmp 0x13681ec
jne 0x136a5de
mov eax, ebx
jmp 0x1380a70
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x401059
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
test edi, edi
je 0x4010b9
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
and dword [ebp - 4], 0
add esi, edi
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
add eax, edi
add ebx, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x4010b9
mov eax, dword [ebp - 4]
mov eax, dword [ebx + eax*4]
add eax, edi
xor ecx, ecx
cmp byte [eax], cl
je 0x4010a2
inc ecx
cmp byte [ecx + eax], 0
jne 0x40109b
push ecx
push eax
call section..text
cmp eax, dword [ebp + 8]
je 0x4010bf
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x40108d
xor eax, eax
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x4010bb

Function at 0x403d48
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
mov dword [esp + 0x2c], ebx
call dword [0x5d5044]
mov edi, eax
cmp edi, 0xffffffff
je 0x403de1
mov esi, dword [0x5d503c]
push ebx
lea eax, [esp + 0x18]
push eax
push 0x40
lea eax, [esp + 0x24]
push eax
push edi
call esi
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x403dd1
push ebx
push ebx
push dword [esp + 0x5c]
push edi
call dword [0x5d50c0]
push ebx
lea eax, [esp + 0x18]
push eax
push 0xf8
lea eax, [esp + 0x64]
push eax
push edi
call esi
cmp dword [esp + 0x58], 0x4550
jne 0x403dd1
mov dword [esp + 0x10], 1
push edi
call dword [0x5d5088]
cmp dword [esp + 0x10], ebx
setne al
jmp 0x403de3
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430f40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
jmp 0x430f5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430f50
mov eax, 1
add ebx, ebx
jne 0x430f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430f68
jne 0x430f84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430f68
xor ecx, ecx
sub eax, 3
jb 0x430f98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43100a
mov ebp, eax
add ebx, ebx
jne 0x430fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x430fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x430fd4
inc ecx
add ebx, ebx
jne 0x430fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x430fb5
jne 0x430fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430fb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x430ff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x430fe5
jmp 0x430f56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x430ff4
add edi, ecx
jmp 0x430f56
pop esi
mov edi, esi
mov ecx, 0x35f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431012
cmp byte [edi], 6
jne 0x431012
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 0x431017
lea edi, [esi + 0x2e000]
mov eax, dword [edi]
or eax, eax
je 0x43108f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31fcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431044
mov ecx, edi
jns 0x431073
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 + 0x32010]
or eax, eax
je 0x431089
mov dword [ebx], eax
add ebx, 4
jmp 0x431061
call dword [esi + 0x3200c]
mov ebp, dword [esi + 0x32014]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4310c3
sub esp, 0xffffff80
jmp 0x403670

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
Function at 0x41dea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x41dec2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41dec9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41deb8
mov eax, 1
add ebx, ebx
jne 0x41dedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ded0
jne 0x41deec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ded0
xor ecx, ecx
sub eax, 3
jb 0x41df00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41df72
mov ebp, eax
add ebx, ebx
jne 0x41df0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41df18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41df3c
inc ecx
add ebx, ebx
jne 0x41df28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41df1d
jne 0x41df39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41df1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41df5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41df4d
jmp 0x41debe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41df5c
add edi, ecx
jmp 0x41debe
pop esi
mov edi, esi
mov ecx, 0x486
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41df7a
cmp byte [edi], 6
jne 0x41df7a
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 0x41df7f
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41dfee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41dfac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e0bc]
or eax, eax
je 0x41dfe8
mov dword [ebx], eax
add ebx, 4
jmp 0x41dfc9
call dword [esi + 0x1e0c0]
popal
jmp 0x4010fc

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
Function at 0x417a13
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
pop edi
xor eax, eax
mov ebx, edx
push edi
push eax
mov dword [ebp - 4], eax
mov esi, ecx
lea eax, [ebp - 0x58]
push eax
call fcn.0041b200
xor eax, eax
mov dword [ebp - 0x58], edi
inc eax
lea edi, [ebp - 0x14]
mov word [ebp - 0x28], ax
add esp, 0xc
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.0041794d
test eax, eax
je 0x417a7d
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
mov edx, ebx
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 8]
sub esp, 0x14
call fcn.00417990
add esp, 0x2c
jmp 0x417b92
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x417a82
sub ecx, edx
mov edx, ebx
sar ecx, 1
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x417a96
sub edx, edi
sar edx, 1
lea eax, [edx + ecx]
lea eax, [eax*2 + 4]
call fcn.0042cfb0
mov edx, esp
mov ecx, edx
mov dword [ebp - 4], edx
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x417abe
lea edi, [edx - 2]
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x417ad2
mov eax, dword [0x4379c0]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
cmp ax, cx
jne 0x417ae7
sub ebx, esi
lea edi, [edx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x417af7
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
test esi, esi
je 0x417b38
cmp word [esi], bx
je 0x417b38
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x417b24
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
jmp 0x417b3b
xor eax, eax
inc eax
add eax, eax
call fcn.0042cfb0
mov edi, esp
test esi, esi
je 0x417b5f
mov edx, edi
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x417b4e
jmp 0x417b64
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
xor eax, eax
test esi, esi
cmovne eax, edi
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x10], 0
je 0x417b92
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42809f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00427d5f

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