joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
call fcn.00401030
mov dword [ebp - 0x324], eax
mov eax, dword [0x4071bc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
mov ecx, dword [0x4071f4]
push ecx
mov edx, dword [ebp - 0x324]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [fcn.0040de7c], eax
mov eax, dword [0x407200]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [fcn.0040de7c]
mov dword [0x40de64], eax
push 0
mov edx, dword [ebp + 8]
mov ecx, 0x80
call fcn.00401000
push 0
push 0x1a
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
push eax
call dword [0x40de64]
test eax, eax
jne 0x402473
xor eax, eax
jmp 0x4025eb
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x407204]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
mov ecx, dword [0x40720c]
push ecx
mov edx, dword [0x407208]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [0x407210]
push edx
lea eax, [ebp - 0x540]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x544], 0
jmp 0x402503
mov ecx, dword [ebp - 0x544]
add ecx, 1
mov dword [ebp - 0x544], ecx
lea edx, [ebp - 0x540]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x544], eax
jge 0x40253b
mov eax, dword [ebp - 0x544]
movsx ecx, byte [ebp + eax - 0x540]
cmp ecx, 0x2f
jne 0x402539
mov edx, dword [ebp - 0x544]
mov byte [ebp + edx - 0x540], 0x5c
jmp 0x4024f4
lea eax, [ebp - 0x540]
push eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [0x407218]
push edx
mov eax, dword [0x407214]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x402591
lea ecx, [ebp - 0x540]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [0x40721c]
push eax
mov ecx, dword [0x407214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x402591
xor eax, eax
jmp 0x4025eb
lea edx, [ebp - 0x540]
push edx
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0
push 0x40d22c
push 0x40d238
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4025c6
mov dword [ebp - 0x328], 2
jmp 0x4025d6
movsx ecx, byte [ebp - 0x320]
sub ecx, 0x30
mov dword [ebp - 0x328], ecx
push 0x40d248
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x328]
mov esp, ebp
pop ebp
ret
Function at 0x4034d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x40d2c4
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x40352c
xor al, al
jmp 0x40353b
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4044d0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea78
call fcn.004055d0
push 0x40d33c
lea eax, [ebp - 0xea68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d370
lea ecx, [ebp - 0xea68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d3a4
lea edx, [ebp - 0xea68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xea70], eax
cmp dword [ebp - 0xea70], 0xffffffff
jne 0x404545
mov eax, 0x40d3d8
jmp 0x4045f2
push 0
mov ecx, dword [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xea6c], eax
cmp dword [ebp - 0xea6c], 5
ja 0x404583
mov edx, dword [ebp - 0xea70]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, 0x40d3dc
jmp 0x4045f2
mov ecx, dword [ebp - 0xea6c]
push ecx
call fcn.00405404
add esp, 4
mov dword [ebp - 0xea78], eax
mov edx, dword [ebp - 0xea78]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0xea74]
push eax
mov ecx, dword [ebp - 0xea6c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xea70]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xea68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xea68]
mov esp, ebp
pop ebp
ret
Function at 0x404600
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea74
call fcn.004055d0
push 0x40d3f0
lea eax, [ebp - 0xea60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d424
lea ecx, [ebp - 0xea60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d454
lea edx, [ebp - 0xea60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call fcn.00404e10
push eax
lea eax, [ebp - 0xea60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xea6c], eax
cmp dword [ebp - 0xea6c], 0xffffffff
jne 0x404685
xor eax, eax
jmp 0x40474a
push 0
mov edx, dword [ebp - 0xea6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xea68], eax
cmp dword [ebp - 0xea68], 5
ja 0x4046c7
mov eax, dword [ebp - 0xea6c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR80.dll_remove
add esp, 4
lea eax, [ebp - 0xea60]
jmp 0x40474a
mov edx, dword [ebp - 0xea68]
push edx
call fcn.00405404
add esp, 4
mov dword [ebp - 0xea74], eax
mov eax, dword [ebp - 0xea74]
mov dword [ebp - 0xea64], eax
push 0
lea ecx, [ebp - 0xea70]
push ecx
mov edx, dword [ebp - 0xea68]
push edx
mov eax, dword [ebp - 0xea64]
push eax
mov ecx, dword [ebp - 0xea6c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0xea6c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR80.dll_remove
add esp, 4
mov ecx, dword [ebp - 0xea64]
push ecx
lea edx, [ebp - 0xea60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xea60]
mov esp, ebp
pop ebp
ret
Function at 0x4050a0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea74
call fcn.004055d0
push 0x40d628
lea eax, [ebp - 0xea70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d65c
lea ecx, [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d690
lea edx, [ebp - 0xea70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40510f
mov eax, 0x40d6c4
jmp 0x4051a1
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
ja 0x405141
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, 0x40d6c8
jmp 0x4051a1
mov ecx, dword [ebp - 8]
push ecx
call fcn.00405404
add esp, 4
mov dword [ebp - 0xea74], eax
mov edx, dword [ebp - 0xea74]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xea70]
mov esp, ebp
pop ebp
ret
Function at 0x4051b0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea78
call fcn.004055d0
push 0x40d6dc
lea eax, [ebp - 0xea70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d710
lea ecx, [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d744
lea edx, [ebp - 0xea70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40521f
mov eax, 0x40d778
jmp 0x4052b4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
ja 0x405251
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, 0x40d77c
jmp 0x4052b4
mov ecx, dword [ebp - 8]
push ecx
call fcn.00405404
add esp, 4
mov dword [ebp - 0xea78], eax
mov edx, dword [ebp - 0xea78]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0xea74]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xea70]
mov esp, ebp
pop ebp
ret
Function at 0x4052c0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea78
call fcn.004055d0
push 0x40d790
lea eax, [ebp - 0xea68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d7c4
lea ecx, [ebp - 0xea68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d7f8
lea edx, [ebp - 0xea68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xea70], eax
cmp dword [ebp - 0xea70], 0xffffffff
jne 0x405335
mov eax, 0x40d82c
jmp 0x4053e2
push 0
mov ecx, dword [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xea6c], eax
cmp dword [ebp - 0xea6c], 5
ja 0x405373
mov edx, dword [ebp - 0xea70]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, 0x40d830
jmp 0x4053e2
mov ecx, dword [ebp - 0xea6c]
push ecx
call fcn.00405404
add esp, 4
mov dword [ebp - 0xea78], eax
mov edx, dword [ebp - 0xea78]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0xea74]
push eax
mov ecx, dword [ebp - 0xea6c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xea70]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xea70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_remove
add esp, 4
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xea68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xea68]
mov esp, ebp
pop ebp
ret

Function at 0x4059b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40cd78]
jne 0x4059c0
repz ret
jmp fcn.00405eb4
Function at 0x42b920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x42b93a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b930
mov eax, 1
add ebx, ebx
jne 0x42b953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b948
jne 0x42b964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b948
xor ecx, ecx
sub eax, 3
jb 0x42b978
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b9ea
mov ebp, eax
add ebx, ebx
jne 0x42b983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b9b4
inc ecx
add ebx, ebx
jne 0x42b9a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b995
jne 0x42b9b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b995
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b9d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b9c5
jmp 0x42b936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b9d4
add edi, ecx
jmp 0x42b936
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b9f2
cmp byte [edi], 0x12
jne 0x42b9f2
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 0x42b9f7
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42ba6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31af8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31bd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42ba24
mov ecx, edi
jns 0x42ba53
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 + 0x31be0]
or eax, eax
je 0x42ba69
mov dword [ebx], eax
add ebx, 4
jmp 0x42ba41
call dword [esi + 0x31bdc]
mov ebp, dword [esi + 0x31be4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x42baa3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x1a6c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1a6c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1a6c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a6c06a
add dl, dl
jne 0x1a6c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a6c0dc
xor eax, eax
add dl, dl
jne 0x1a6c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a6c17d
add dl, dl
jne 0x1a6c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a6c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a6c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a6c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1a6c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1a6c075
mov eax, 1
add dl, dl
jne 0x1a6c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a6c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a6c0e1
sub eax, ebx
mov ebx, 1
jne 0x1a6c128
mov ecx, 1
add dl, dl
jne 0x1a6c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a6c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a6c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a6c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a6c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a6c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a6c136
cmp eax, 0x7d00
jae 0x1a6c16d
cmp eax, 0x500
jb 0x1a6c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a6c075
cmp eax, 0x7f
ja 0x1a6c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a6c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1a6c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1a6c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x590562a6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x6e9e4c12
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x57006a44
Capabilities:
Get geographical location

Disassembly:
push ecx
cmp word [0x5702438c], 0
jne 0x57006a7c
push 2
lea eax, [esp + 4]
push eax
push 0xe
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x57006a73
movzx eax, word [esp]
mov word [0x5702438c], ax
jmp 0x57006a7c
mov word [0x5702438c], 0x2c
movzx eax, word [0x5702438c]
pop edx
ret

Function at 0x57006cc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, edx
mov edx, dword [edx + 0x3c]
add edx, eax
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49d004]
jne 0x40100a
repz ret
jmp fcn.00401681

Function at 0x40421b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49d004]
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.00402d5c
and dword [ebp - 0x14], 0
cmp dword [0x49f2f0], 0
mov dword [ebp - 0x18], eax
jne 0x4042ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404376
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404376
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49f2f0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49f2f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49f2f8], eax
call edi
push eax
call esi
mov dword [0x49f300], eax
test eax, eax
je 0x4042ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49f2fc], eax
mov eax, dword [0x49f2fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404327
cmp dword [0x49f300], ecx
je 0x404327
push eax
call esi
push dword [0x49f300]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404327
test ebx, ebx
je 0x404327
call edi
test eax, eax
je 0x40431e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40431e
test byte [ebp - 8], 1
jne 0x404327
or dword [ebp + 0x10], 0x200000
jmp 0x40435a
mov eax, dword [0x49f2f4]
cmp eax, dword [ebp - 0x18]
je 0x40435a
push eax
call esi
test eax, eax
je 0x40435a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40435a
mov eax, dword [0x49f2f8]
cmp eax, dword [ebp - 0x18]
je 0x40435a
push eax
call esi
test eax, eax
je 0x40435a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49f2f0]
call esi
test eax, eax
je 0x404376
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404378
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x4993f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
mov eax, dword [0x49d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc28], eax
cmp esi, 0x182
jne 0x49942a
lea ecx, [ebp - 0xc20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x499448
cmp esi, 0x19f
jne 0x499448
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor edi, edi
test esi, esi
jle 0x4994f1
push ebx
mov ebx, dword [ebp - 0xc28]
lea esp, [esp]
lea esi, [ebp - 0xc24]
mov dword [ebp - 0xc24], 0
call fcn.004993e0
mov dl, byte [ebp - 0xc24]
mov eax, dword [ebp - 0xc28]
mov esi, dword [ebp + 0xc]
xor byte [eax + edi], dl
cmp esi, 0xf
jne 0x4994e7
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.wepetejef
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.wujokinozalucawisuhej
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
push str.naxoj
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, esi
jl 0x499460
pop ebx
pop edi
cmp esi, 0x2d
pop esi
jne 0x49950c
mov dword [0x27ea020], 0xa62e7790
mov dword [0x27ea024], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x499520
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x27ea014]
push esi
push edi
mov edi, dword [0x27e9d34]
mov esi, eax
cmp eax, 0x5dd
jne 0x499542
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x49ddb8]
call fcn.004993b0
cmp dword [0x27ea014], 0x2f
jne 0x49955d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push edi
call fcn.004993f0
add esp, 8
cmp dword [0x27ea014], 0x568
pop edi
pop esi
jne 0x499587
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret