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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor eax, eax
mov cl, al
xor cl, 0x55
mov byte [eax + esi], cl
inc eax
cmp eax, 0x100
jl 0x401aba
xor ebx, ebx
xor ebp, ebp
call fcn.00401cc0
and eax, 0xff
mov edi, eax
call fcn.00401cc0
and eax, 0xff
mov ecx, eax
cmp edi, ecx
je 0x401ace
mov dl, byte [ecx + esi]
xor eax, eax
mov al, byte [edi + esi]
inc ebp
mov byte [edi + esi], dl
cmp ebp, 0x400
mov byte [ecx + esi], al
jl 0x401ace
or eax, 0xffffffff
mov ebp, 1
mov cl, byte [esi + ebp - 1]
mov edi, ebp
and edi, 0xff
inc ecx
mov dl, byte [edi + esi]
cmp dl, cl
jne 0x401b34
lea eax, [ebp + 5]
xor ecx, ecx
and eax, 0xff
mov cl, dl
mov dl, byte [eax + esi]
mov byte [edi + esi], dl
mov byte [eax + esi], cl
xor eax, eax
inc ebp
lea ecx, [ebp - 1]
cmp ecx, 0x100
jl 0x401b09
test eax, eax
je 0x401b01
xor ecx, ecx
test ebx, ebx
jne 0x401aca
xor eax, eax
xor edx, edx
mov dl, byte [eax + esi]
cmp edx, ecx
je 0x401b5f
inc eax
cmp eax, 0x100
jl 0x401b4c
jmp 0x401b66
cmp eax, 0x100
jl 0x401b69
or ebx, 0xffffffff
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, 0x100
mov byte [ecx + edx - 1], al
jl 0x401b46
test ebx, ebx
jne 0x401aca
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401b90
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x118
mov dword [0x4bea28], 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
push 0x438d1c
push 0x48d1cc
call ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [esp + 0x24]
push eax
call ebp
mov cl, byte [esp + 0x20]
xor eax, eax
test cl, cl
je 0x401be0
cmp cl, 0x20
je 0x401bd7
cmp cl, 9
jne 0x401be0
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x401bcd
mov cl, byte [esp + eax + 0x20]
cmp cl, 0x22
jne 0x401c04
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
mov edi, eax
je 0x401c1d
cmp cl, 0x22
je 0x401c1d
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x401bf4
jmp 0x401c1d
test cl, cl
mov edi, eax
je 0x401c1d
cmp cl, 0x20
je 0x401c1d
cmp cl, 9
je 0x401c1d
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x401c0a
mov byte [esp + eax + 0x20], 0
dec eax
je 0x401c3b
mov cl, byte [esp + eax + 0x20]
cmp cl, 0x22
je 0x401c3b
cmp cl, 0x5c
je 0x401c3b
cmp cl, 0x3a
je 0x401c3b
dec eax
jne 0x401c25
lea esi, [esp + eax + 0x21]
push str.KDERB.EXE
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x401c6f
push 0x10
push str.WARNING
push str.Bad_Executable_File_Name
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x118
ret
lea ecx, [esp + edi + 0x20]
mov byte [esi], 0
push ecx
push 0x48bac0
call ebp
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x16]
add eax, ecx
pop edi
pop esi
pop ebp
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xe]
lea ecx, [eax + edx*8]
mov eax, 1
mov word [0x48d1c8], cx
add esp, 0x118
ret
Function at 0x4020f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push eax
call fcn.004019b0
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x40211b
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40212b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x402150
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call fcn.004019b0
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x40217b
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x41fed5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x439a40
cmp edx, dword [eax]
je 0x41fef7
add eax, 8
inc ecx
cmp eax, 0x439ad0
jl 0x41fee8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x439a40]
jne 0x420025
mov eax, dword [0x43a430]
cmp eax, 1
je 0x41ffff
test eax, eax
jne 0x41ff28
cmp dword [0x439728], 1
je 0x41ffff
cmp edx, 0xfc
je 0x420025
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41ff5f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00420bf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41ffa2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x423eac
push edi
call fcn.004215c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00420bf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00420c00
lea eax, [ebp - 0xa0]
push 0x423e8c
push eax
call fcn.00420c00
push dword [esi + 0x439a44]
lea eax, [ebp - 0xa0]
push eax
call fcn.00420c00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00421535
add esp, 0x2c
pop edi
jmp 0x420025
lea eax, [ebp + 8]
lea esi, [esi + 0x439a44]
push 0
push eax
push dword [esi]
call fcn.00420d40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001c75
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10011d4
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001d2b
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x10011c8
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001d22
cmp dword [ebp - 8], 1
jne 0x1001d22
lea eax, [ebp - 0x110]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
push eax
call fcn.01001bdb
lea eax, [ebp - 0x110]
push 0x10011bc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001d22
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.01001c0f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x1003be3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1003c85
cmp dword [ebp + 0x10], edi
je 0x1003c85
lea eax, [ebp - 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
push edi
mov esi, 0x10086d8
push 0x10077c8
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [0x10091f8], edi
mov dword [0x10077c8], 0x100
call ebx
test eax, eax
jne 0x1003c85
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.01001bc0
test eax, eax
jne 0x1003c5d
push dword [ebp - 4]
call dword [ebp + 0x10]
cmp dword [ebp - 4], edi
je 0x1003c5d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [0x10091f8]
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push edi
push 0x10077c8
push esi
push dword [0x10091f8]
mov dword [0x10077c8], 0x100
push dword [ebp + 8]
jmp 0x1003c2f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x1004fad
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x1007634], 4
push ebx
push esi
push edi
jbe 0x1004fcf
cmp dword [0x1007640], 2
je 0x10050cc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 4]
push eax
push 0x1001b48
push 1
push 0
push 0x1001b58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10050c6
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push eax
call fcn.01001bdb
lea eax, [ebp - 0x108]
push 0x1001b0c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
cmp eax, 0xffffffff
mov esi, 0x100b170
mov ebx, 0x1001b00
je 0x100507b
push esi
push 0x1008ff0
lea eax, [ebp - 0x108]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x108]
push 0x1008be0
push 0x1006120
push esi
push eax
push 0x100a318
push dword [ebp - 4]
call fcn.0100519e
cmp dword [0x1009400], 0
je 0x10050bd
cmp dword [0x100b274], 3
jne 0x10050bd
push 0x10081d0
push 0x1008ff0
lea eax, [ebp - 0x108]
push ebx
push eax
call edi
add esp, 0x10
mov eax, 0x100ad18
lea ecx, [ebp - 0x108]
push eax
push 0
push esi
push ecx
push eax
push dword [ebp - 4]
call fcn.0100519e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x10050d3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push dword [ebp + 8]
mov esi, 0x1008ff0
lea eax, [ebp - 0x104]
push esi
push 0x1001b00
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0x10
lea eax, [ebp - 0x208]
push 0x104
push eax
lea eax, [ebp - 0x104]
push eax
call ebx
test eax, eax
je 0x100512b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
lea eax, [ebp - 0x104]
push 0x1001b18
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push esi
push 0x1001b00
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0x104
push eax
lea eax, [ebp - 0x104]
push eax
call ebx
test eax, eax
je 0x1005185
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
push 1
push 0x1004
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x1005228
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x10052d5
cmp byte [eax], bl
je 0x10052d5
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push eax
push dword [ebp + 8]
call fcn.01001bc0
test eax, eax
jne 0x10052c9
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push ebx
push ebx
mov edi, 0x10077c8
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
mov dword [0x10077c8], 0x100
push dword [ebp - 4]
call esi
test eax, eax
jne 0x10052bb
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.01005228
lea eax, [ebp - 0xc]
mov dword [0x10077c8], 0x100
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x1005287
cmp dword [ebp - 4], ebx
je 0x10052c9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x10052e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b38
push 0x10054e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x100b28c], 0xffffffff
mov dword [0x100b290], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x100b288]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x100b284]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x100b294], ecx
call fcn.010054d0
mov eax, dword [0x1006010]
test eax, eax
jne 0x1005371
push 0x10054c0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.010054a0
push 0x100600c
push 0x1006008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x100b280]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x100b27c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x1006004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x100547f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x10053e5
cmp al, 0x22
jne 0x10053d7
cmp byte [esi], 0x22
jne 0x10053ee
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x10053fe
cmp al, 0x20
ja 0x10053fe
inc esi
mov dword [ebp - 0x74], esi
jmp 0x10053ee
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x100541f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1005424
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x1005464
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x10053ee
inc esi
mov dword [ebp - 0x74], esi
jmp 0x100547f
Function at 0x10054ec
Capabilities:
Get common file path
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp - 0x114]
xor ebx, ebx
push 0x100
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x114]
test ecx, ecx
je 0x1005533
mov cl, byte [eax]
cmp cl, bl
je 0x1005533
cmp cl, 0x5c
jne 0x1005530
mov byte [eax], 0x2f
inc eax
jne 0x1005522
mov edi, 0x1001bb8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x114]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
mov edi, 0x2001f
push ebx
push edi
push ebx
push ebx
push ebx
push 0x1001b80
push 0x80000002
call esi
test eax, eax
jne 0x1005648
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push ebx
push ebx
lea eax, [ebp - 0x114]
push ebx
push eax
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100563f
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0xc], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jae 0x100561b
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push dword [ebp + 8]
push 1
push ebx
push 0x1001b78
push dword [ebp - 4]
call esi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push dword [ebp + 8]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1bb2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01bb21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1bb207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bb206a
add dl, dl
jne 0x1bb2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bb20dc
xor eax, eax
add dl, dl
jne 0x1bb2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bb217d
add dl, dl
jne 0x1bb20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bb20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bb20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bb20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1bb20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1bb2075
mov eax, 1
add dl, dl
jne 0x1bb20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bb20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bb20e1
sub eax, ebx
mov ebx, 1
jne 0x1bb2128
mov ecx, 1
add dl, dl
jne 0x1bb210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1bb2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bb2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bb2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1bb213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1bb214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bb2136
cmp eax, 0x7d00
jae 0x1bb216d
cmp eax, 0x500
jb 0x1bb2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bb2075
cmp eax, 0x7f
ja 0x1bb2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bb2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1bb219e
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 0x1bb2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x422937
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.00419b87
and dword [ebp - 4], 0
cmp dword [0x42ffe0], 0
mov ebx, eax
jne 0x4229e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422a99
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4292f0
push edi
call esi
test eax, eax
je 0x422a99
push eax
call fcn.00419b15
mov dword [esp], 0x4292e0
push edi
mov dword [0x42ffe0], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], 0x4292cc
push edi
mov dword [0x42ffe4], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], 0x4292b0
push edi
mov dword [0x42ffe8], eax
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42fff0], eax
test eax, eax
je 0x4229e8
push 0x429298
push edi
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42ffec], eax
mov eax, dword [0x42ffec]
cmp eax, ebx
je 0x422a40
cmp dword [0x42fff0], ebx
je 0x422a40
push eax
call fcn.00419b90
push dword [0x42fff0]
mov esi, eax
call fcn.00419b90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422a40
test edi, edi
je 0x422a40
call esi
test eax, eax
je 0x422a37
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422a37
test byte [ebp - 0xc], 1
jne 0x422a40
or dword [ebp + 0x10], 0x200000
jmp 0x422a79
mov eax, dword [0x42ffe4]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422a79
mov eax, dword [0x42ffe8]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ffe0]
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a99
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422a9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x452d7d40
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x40f94b17
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219