joyce8/EMBER2024-capa huggingface dataset:
Function at 0x26bf176
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.026b276b
and dword [ebp - 4], 0
cmp dword [0x26daae4], 0
mov ebx, eax
jne 0x26bf227
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x26bf2d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x26cb724
push edi
call esi
test eax, eax
je 0x26bf2d8
push eax
call fcn.026b26f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x26daae4], eax
call esi
push eax
call fcn.026b26f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x26daae8], eax
call esi
push eax
call fcn.026b26f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x26daaec], eax
call esi
push eax
call fcn.026b26f9
pop ecx
mov dword [0x26daaf4], eax
test eax, eax
je 0x26bf227
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.026b26f9
pop ecx
mov dword [0x26daaf0], eax
mov eax, dword [0x26daaf0]
cmp eax, ebx
je 0x26bf27f
cmp dword [0x26daaf4], ebx
je 0x26bf27f
push eax
call fcn.026b2774
push dword [0x26daaf4]
mov esi, eax
call fcn.026b2774
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x26bf27f
test edi, edi
je 0x26bf27f
call esi
test eax, eax
je 0x26bf276
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x26bf276
test byte [ebp - 0xc], 1
jne 0x26bf27f
or dword [ebp + 0x10], 0x200000
jmp 0x26bf2b8
mov eax, dword [0x26daae8]
cmp eax, ebx
je 0x26bf2b8
push eax
call fcn.026b2774
pop ecx
test eax, eax
je 0x26bf2b8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x26bf2b8
mov eax, dword [0x26daaec]
cmp eax, ebx
je 0x26bf2b8
push eax
call fcn.026b2774
pop ecx
test eax, eax
je 0x26bf2b8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x26daae4]
call fcn.026b2774
pop ecx
test eax, eax
je 0x26bf2d8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x26bf2da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x492ad5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004926ee
push eax
push esi
push dword [ebp + 8]
call fcn.004926a3
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.004926ee
push eax
push esi
push dword [ebp + 8]
call fcn.004926a3
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004926de
ja 0x492b6e
invalid
cmp bl, 0xff
push dword [edi + 0x10]
add dword [ebx], ebp
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
and byte [edx - 0x3a], 0x45
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x492b74
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x492b7c
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004926de
jnp 0x492b58
jle 0x492b6f
invalid
invalid
cli
je 0x492b54
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x492b83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [edx - 0x3a], 0x45
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid

Function at 0x4935c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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
add byte [edx + 0x40], ch
Function at 0x4935e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
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.004926bc
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
test dword [ecx + 0x30fffffc], ebx
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
call dword [ecx]
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
lea eax, [ebp - 0x36c]
push eax
call fcn.004926ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004926a3
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004926de
and ah, byte [ecx + ebp*4 + 0x65]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.004926de
mov edi, 0x80f1b8ad
loopne 0x4936fc
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
out 0xb6, eax
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.004926ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004926a3
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
call dword [eax + 0x68]
add al, 1
add byte [eax], al
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x49378a
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x4937aa
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x4937c7
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x104
jge 0x49382e
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
and eax, 0x80
test eax, eax
je 0x4937f9
mov eax, dword [ebp - 0x3d0]
inc eax
invalid
test dword [eax], esi
Function at 0x49362b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
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.004926bc
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
test dword [ecx + 0x30fffffc], ebx
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
call dword [ecx]
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
lea eax, [ebp - 0x36c]
push eax
call fcn.004926ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004926a3
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004926de
and ah, byte [ecx + ebp*4 + 0x65]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.004926de
mov edi, 0x80f1b8ad
loopne 0x4936fc
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
out 0xb6, eax
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.004926ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004926a3
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
call dword [eax + 0x68]
add al, 1
add byte [eax], al
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x49378a
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x4937aa
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x4937c7
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x104
jge 0x49382e
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
and eax, 0x80
test eax, eax
je 0x4937f9
mov eax, dword [ebp - 0x3d0]
inc eax
invalid
test dword [eax], esi
Function at 0x4c93f9
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x5a783d
call fcn.0052d215
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403660
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5ea708
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c94ad
push 0
push 0x5bc7e0
lea ecx, [ebp - 0x4d0]
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c94ad
push 0
push 0x5b76fc
lea ecx, [ebp - 0x4d0]
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c94ad
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403660
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4c9489
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402760
jmp 0x4c94dc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00403560
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402760
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c94d3
mov ebx, dword [ebp - 0x4cc]
jmp 0x4c94dc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402760
mov eax, ebx
call fcn.0052d1c4
ret

Function at 0x4e4bc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
mov esi, ecx
call fcn.004e529e
test eax, eax
je 0x4e4bdc
mov ecx, esi
pop esi
jmp method.CMFCRibbonButton.virtual_456
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x1cc], edi
jle 0x4e4c0b
push edi
lea ecx, [esi + 0x1c4]
call fcn.00404f90
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x1c8]
test eax, eax
jne 0x4e4c0d
inc edi
cmp edi, dword [esi + 0x1cc]
jl 0x4e4be8
xor eax, eax
pop edi
pop ebx
pop esi
ret
Function at 0x10009bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10016eb8
call fcn.100165db
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10009c59
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10009c59
call fcn.1000836f
mov esi, eax
jmp 0x10009d5f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10009c7c
call fcn.1000836f
jmp 0x10009d52
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10009c72
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009caf
mov esi, 0x8007000e
jmp 0x10009d54
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009d8d
jb 0x10009cca
cmp eax, 0xffffffff
ja 0x10009d8d
cmp eax, 0x400
jbe 0x10009cdf
push eax
lea ecx, [ebp - 0x418]
call fcn.10015c7d
jmp 0x10009d01
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009d01
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009ca5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10009c72
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.10015c7d
mov esi, eax
test edi, edi
je 0x10009d5f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009d78
lea ecx, [ebp - 0x418]
call fcn.10008337
lea ecx, [ebp - 0x428]
call fcn.10001550
mov eax, esi
call fcn.1001652c
ret 0x10
push 0x80070216
call fcn.10015c7d
int3
Function at 0x1001ac6c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001acef
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push edi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001acb9
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001acb9
cmp edi, ebx
jge 0x1001acb9
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ace9
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ace9
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
push 1
push dword [esi + 0x20]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 8]
mov eax, edi
pop edi
pop ebx
jmp 0x1001ad01
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x1001aedb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100296f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100299a8], 0
mov eax, dword [ebp + 8]
je 0x1001af03
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001af1d
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10002204
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100204a4
mov esp, ebp
pop ebp
ret 4

Function at 0x1001b0c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100296f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100299a8], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001b0fa
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001b160
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10002204
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10002204
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10002204
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100204a4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b173
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100296f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100299a8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001b19f
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001b1d0
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001b1ce
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10002204
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001b1d0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100204a4
mov esp, ebp
pop ebp
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 0x41f1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41f1c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f1b8
mov eax, 1
add ebx, ebx
jne 0x41f1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f1d0
jne 0x41f1ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1d0
xor ecx, ecx
sub eax, 3
jb 0x41f200
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f272
mov ebp, eax
add ebx, ebx
jne 0x41f20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f23c
inc ecx
add ebx, ebx
jne 0x41f228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f21d
jne 0x41f239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f21d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f25c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f24d
jmp 0x41f1be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f25c
add edi, ecx
jmp 0x41f1be
pop esi
mov edi, esi
mov ecx, 0x202
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f27a
cmp byte [edi], 6
jne 0x41f27a
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 0x41f27f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ffc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20000]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f2ac
mov ecx, edi
jns 0x41f2db
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 + 0x20004]
or eax, eax
je 0x41f2f1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f2c9
call dword [esi + 0x20008]
popal
jmp 0x40290c
Function at 0x401120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
je 0x40117a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push str.FATAL_ERROR:
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x40
push eax
call edi
mov ecx, dword [ebp + 8]
add esp, 8
lea eax, [ebp + 0xc]
push eax
push ecx
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_vfprintf]
add esp, 0xc
push 0x4b89e8
call esi
add eax, 0x40
push eax
call edi
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0xc
call fcn.004010f0
mov edx, dword [0x812794]
push edx
call fcn.0040a660
add esp, 4
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x4032a0
Capabilities:
Query environment variable

Disassembly:
push 0x4b9dbc
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x4032e6
mov ecx, str.Windows_NT
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4032d7
test dl, dl
je 0x4032d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4032d7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4032b7
xor eax, eax
jmp 0x4032dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4032e6
mov eax, 1
ret
xor eax, eax
ret