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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
cmp eax, ebx
jb 0x10020173
mov eax, ebx
mov edi, dword [esp + 0x20]
add eax, eax
push eax
push dword [esp + 0x1c]
push edi
call fcn.100321a0
mov ebp, dword [0x1004f238]
add esp, 0xc
add ebx, ebx
test ebp, ebp
jne 0x100201fd
cmp byte [0x1004f234], 0
jne 0x100201fd
push str.Crypt32.dll
call fcn.10022850
mov dword [0x1004f230], eax
test eax, eax
je 0x100201e8
push str.CryptProtectMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptUnprotectMemory
push dword [0x1004f230]
mov dword [0x1004f238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [0x1004f238]
mov esi, eax
mov dword [0x1004f23c], esi
mov byte [0x1004f234], 1
jmp 0x10020203
mov esi, dword [0x1004f23c]
mov ebp, dword [0x1004f238]
mov byte [0x1004f234], 1
jmp 0x10020203
mov esi, dword [0x1004f23c]
mov eax, ebx
and eax, 0xfffffff0
cmp byte [esp + 0x28], 0
je 0x10020255
test ebp, ebp
je 0x10020272
push 0
push eax
push edi
mov ecx, ebp
call dword [0x1003e220]
call ebp
test eax, eax
jne 0x10020294
push str.CryptProtectMemory_failed
push 0x1004c10c
call fcn.1000ab80
add esp, 8
mov ecx, 0x1004c10c
call fcn.1000ab80
push 2
mov ecx, 0x1004c10c
call fcn.1000e4d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
test esi, esi
je 0x10020272
push 0
push eax
push edi
mov ecx, esi
call dword [0x1003e220]
call esi
test eax, eax
jne 0x10020294
push str.CryptUnprotectMemory_failed
jmp 0x1002022a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x10020294
add al, 0x4b
lea ecx, [edx + edi]
add al, dl
inc edx
xor byte [ecx], al
mov eax, dword [esp + 0x10]
cmp edx, ebx
jb 0x10020282
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
Function at 0x100202a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [0x1004f238]
test edi, edi
jne 0x10020318
cmp byte [0x1004f234], 0
jne 0x10020318
push str.Crypt32.dll
call fcn.10022850
mov dword [0x1004f230], eax
test eax, eax
je 0x10020303
push str.CryptProtectMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptUnprotectMemory
push dword [0x1004f230]
mov dword [0x1004f238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [0x1004f238]
mov esi, eax
mov dword [0x1004f23c], esi
mov byte [0x1004f234], 1
jmp 0x1002031e
mov esi, dword [0x1004f23c]
mov edi, dword [0x1004f238]
mov byte [0x1004f234], 1
jmp 0x1002031e
mov esi, dword [0x1004f23c]
mov ebx, dword [esp + 0x18]
mov eax, ebx
movzx ecx, byte [esp + 0x20]
and eax, 0xfffffff0
cmp byte [esp + 0x1c], 0
je 0x10020378
test edi, edi
je 0x10020397
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, edi
call dword [0x1003e220]
call edi
test eax, eax
jne 0x100203c2
push str.CryptProtectMemory_failed
push 0x1004c10c
call fcn.1000ab80
add esp, 8
mov ecx, 0x1004c10c
call fcn.1000ab80
push 2
mov ecx, 0x1004c10c
call fcn.1000e4d0
pop edi
pop esi
pop ebx
pop ecx
ret
test esi, esi
je 0x10020397
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, esi
call dword [0x1003e220]
call esi
test eax, eax
jne 0x100203c2
push str.CryptUnprotectMemory_failed
jmp 0x10020350
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x100203c2
mov esi, dword [esp + 0x14]
jmp 0x100203b0
add al, 0x4b
lea ecx, [edx + esi]
add al, dl
inc edx
xor byte [ecx], al
mov eax, dword [esp + 0xc]
cmp edx, ebx
jb 0x100203b0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10021580
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x14]
mov ebp, edi
mov eax, dword [esi + 0x18]
and edi, 0x3f
shld eax, ebp, 3
shl ebp, 3
mov byte [esi + edi + 0x1c], 0x80
inc edi
mov dword [esp + 0x10], eax
cmp edi, 0x38
je 0x10021617
jbe 0x100215f6
cmp edi, 0x40
jae 0x100215de
mov eax, 0x40
lea ecx, [esi + 0x1c]
sub eax, edi
add ecx, edi
push eax
push 0
push ecx
call fcn.10032720
add esp, 0xc
push 1
lea ebx, [esi + 0x1c]
xor edi, edi
push ebx
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10020460
add esp, 0x10
jmp 0x100215f9
lea ebx, [esi + 0x1c]
mov eax, 0x38
sub eax, edi
push eax
lea eax, [esi + 0x1c]
add eax, edi
push 0
push eax
call fcn.10032720
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1002161a
lea ebx, [esi + 0x1c]
bswap eax
push 1
mov dword [esi + 0x54], eax
lea eax, [esp + 0x1c]
push ebx
push eax
bswap ebp
push esi
mov dword [esi + 0x58], ebp
call fcn.10020460
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
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
xor ecx, esp
call fcn.100308d8
add esp, 0x4c
ret

Function at 0x100216a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x100218f0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x20]
mov ebx, esi
mov ebp, dword [edi + 0x24]
and esi, 0x3f
shld ebp, ebx, 3
shl ebx, 3
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
je 0x10021957
jbe 0x1002193f
cmp esi, 0x40
jae 0x10021934
mov eax, 0x40
lea ecx, [edi + 0x28]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.10032720
add esp, 0xc
push edi
xor esi, esi
call fcn.10021e00
add esp, 4
mov eax, 0x38
sub eax, esi
push eax
lea eax, [edi + 0x28]
add eax, esi
push 0
push eax
call fcn.10032720
add esp, 0xc
bswap ebp
bswap ebx
push edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebx
call fcn.10021e00
mov eax, dword [edi]
add esp, 4
mov ecx, dword [esp + 0x18]
bswap eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x1c]
bswap eax
mov dword [ecx + 0x1c], eax
mov dword [edi], 0x6a09e667
mov dword [edi + 4], 0xbb67ae85
mov dword [edi + 8], 0x3c6ef372
mov dword [edi + 0xc], 0xa54ff53a
mov dword [edi + 0x10], 0x510e527f
mov dword [edi + 0x14], 0x9b05688c
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10021a00
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
push edi
push dword [esp + 0x84]
mov dword [esp + 0x14], 0x6a09e667
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0xbb67ae85
push eax
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.10021bb0
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov ebp, dword [esp + 0x34]
mov edi, esi
and esi, 0x3f
shld ebp, edi, 3
shl edi, 3
mov byte [esp + esi + 0x38], 0x80
inc esi
cmp esi, 0x38
je 0x10021ae6
jbe 0x10021acd
cmp esi, 0x40
jae 0x10021abe
mov eax, 0x40
lea ecx, [esp + 0x38]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.10032720
add esp, 0xc
lea eax, [esp + 0x10]
xor esi, esi
push eax
call fcn.10021e00
add esp, 4
mov eax, 0x38
sub eax, esi
push eax
lea eax, [esp + 0x3c]
add eax, esi
push 0
push eax
call fcn.10032720
add esp, 0xc
lea eax, [esp + 0x10]
bswap ebp
bswap edi
push eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edi
call fcn.10021e00
mov eax, dword [esp + 0x14]
add esp, 4
bswap eax
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
bswap eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
bswap eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
bswap eax
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x24]
bswap eax
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x28]
bswap eax
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x2c]
pop edi
pop esi
bswap eax
pop ebp
mov dword [ebx + 0x1c], eax
pop ebx
xor ecx, esp
call fcn.100308d8
add esp, 0x6c
ret

Function at 0x10021b60
Capabilities:
Hash data using sha256

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

Disassembly:
sub esp, 0x13c
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
mov ebp, dword [esp + 0x148]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x2c], ebp
lea edx, [ebp + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jb 0x10021e28
lea eax, [esp + 0x80]
mov ebx, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x10021e45
mov eax, dword [ebp]
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x14]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
jmp 0x10021ec0
mov dword [esp + 0x34], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x44], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x38], ecx
mov eax, edi
mov dword [esp + 0x40], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x24], edi
not ecx
mov dword [esp + 0x3c], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x30], ebx
xor ecx, eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebp + 0x1003eb78]
add esi, dword [esp + ebp + 0x48]
add ebp, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebx
rol eax, 0xa
mov edx, ebx
ror edx, 0xd
xor edx, eax
mov eax, ebx
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebx
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebx, [edx + esi]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp ebp, 0x100
jb 0x10021ec0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x148]
add eax, ebx
add dword [ebp + 0x10], edi
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
add dword [ebp + 4], eax
mov eax, dword [esp + 0x34]
add dword [ebp + 8], eax
mov eax, dword [esp + 0x38]
add dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
add dword [ebp + 0x14], eax
mov eax, dword [esp + 0x40]
add dword [ebp + 0x18], eax
mov eax, dword [esp + 0x44]
add dword [ebp + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100308d8
add esp, 0x13c
ret
Function at 0x100227c0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp], eax
test eax, eax
je 0x10022830
lea eax, [esp]
push eax
push dword [esp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 4]
neg eax
sbb eax, eax
and dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.100308d8
add esp, 0x14
ret

Function at 0x10022850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d4f5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x208
call fcn.1003089a
mov esi, eax
push 0x208
push 0
push esi
lea edi, [esi + 0x208]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], edi
call fcn.10032720
add esp, 0x10
mov dword [ebp - 0x60], edi
push 0x104
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100228c7
xor ebx, ebx
jmp 0x10022983
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10009a40
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10009a40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001ba40
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.10001aa0
lea ecx, [ebp - 0x58]
call fcn.10001aa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x10022930
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
cmp ecx, 8
jb 0x1002296f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10022965
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100229d0
push ecx
push edx
call fcn.100308ca
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x100229b0
sub edi, esi
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x100229a6
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x100229d0
mov esi, ecx
push edi
push esi
call fcn.100308ca
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret 4
call fcn.1003442e
int3
Function at 0x10022c20
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x104], 0
jne 0x10022cad
push ebx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x10022cac
push ebp
push edi
lea edi, [esi + 4]
lea ecx, [ecx]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x10022d50
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x10022c88
push str.CreateThread_failed
push 0x1004c10c
call fcn.1000ab80
add esp, 8
mov ecx, 0x1004c10c
call fcn.1000ab80
push 2
mov ecx, 0x1004c10c
call fcn.1000e4d0
mov dword [edi], ebp
inc dword [esi + 0x104]
mov eax, dword [0x1004f250]
test eax, eax
je 0x10022ca2
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x10022c40
pop edi
pop ebp
pop ebx
cmp dword [esi + 0x108], 0x40
jb 0x10022cbd
mov ecx, esi
call fcn.10022e10
mov ecx, dword [esi + 0x30c]
mov eax, dword [esp + 0xc]
mov dword [esi + ecx*8 + 0x10c], eax
mov ecx, dword [esi + 0x30c]
mov eax, dword [esp + 0x10]
mov dword [esi + ecx*8 + 0x110], eax
mov eax, dword [esi + 0x30c]
inc eax
and eax, 0x3f
inc dword [esi + 0x108]
mov dword [esi + 0x30c], eax
pop esi
pop ecx
ret 8
Function at 0x1003bd20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003bd4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003bd4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5b6bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd3000]
push edi
jmp 0x5b6c0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b6c11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b6c00
mov eax, 1
add ebx, ebx
jne 0x5b6c23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b6c34
jne 0x5b6c53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b6c53
dec eax
add ebx, ebx
jne 0x5b6c40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5b6c18
add ebx, ebx
jne 0x5b6c4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5b6ca5
xor ecx, ecx
sub eax, 3
jb 0x5b6c6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b6cda
sar eax, 1
mov ebp, eax
jmp 0x5b6c76
add ebx, ebx
jne 0x5b6c76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b6c44
inc ecx
add ebx, ebx
jne 0x5b6c84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b6c44
add ebx, ebx
jne 0x5b6c91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b6c86
jne 0x5b6ca2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b6c86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b6cc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b6cb6
jmp 0x5b6c06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b6cc4
add edi, ecx
jmp 0x5b6c06
pop esi
mov edi, esi
mov ecx, 0x49d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b6ce2
cmp byte [edi], 0x1a
jne 0x5b6ce2
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 0x5b6ce7
lea edi, [esi + 0x1b2000]
mov eax, dword [edi]
or eax, eax
je 0x5b6d56
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x218bc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x218c88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b6d14
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x218c90]
or eax, eax
je 0x5b6d50
mov dword [ebx], eax
add ebx, 4
jmp 0x5b6d31
call dword [esi + 0x218c8c]
mov ebp, dword [esi + 0x218c94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5b6d8a
sub esp, 0xffffff80
jmp 0x49d85a
Function at 0x401720
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, esp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4050d2], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4051c4], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x405154], eax
mov dword [0x4050ca], eax
mov dword [0x405140], 0x30
mov dword [0x405144], 2
jmp 0x401765
mov dword [0x405148], 0x40319b
mov dword [0x40514c], 0
mov dword [0x405150], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40515c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x405158], eax
mov dword [0x40516c], eax
mov dword [0x405168], 0x4041b8
mov dword [0x405160], 0xf
push 0x405140
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4050ca]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push str.smform
push str.cl2307
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x4051bc], eax
push 5
push dword [0x4051bc]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x4051bc]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x405170]
jmp 0x401839
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40182b
mov eax, dword [0x405178]
jmp 0x401854
call 0x402ccf
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x7bd77fa2
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7cfe522d
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219