joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ae10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x4749ac
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00438866
mov esp, ebp
pop ebp
ret 8

Function at 0x434d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ade0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x4749ac
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438866
mov esp, ebp
pop ebp
ret 8

Function at 0x438866
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x473564]
jne 0x438870
repz ret
jmp fcn.0043e515
Function at 0x442804
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x473eb8]
je 0x44281f
inc edi
cmp edi, 0x17
jb 0x442810
cmp edi, 0x17
jae 0x44299f
push ebp
push 3
call fcn.00451558
cmp eax, 1
pop ecx
je 0x44296b
push 3
call fcn.00451558
test eax, eax
pop ecx
jne 0x442853
cmp dword [0x473540], 1
je 0x44296b
cmp ebx, 0xfc
je 0x44299e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4777e0
push ebp
call fcn.0043e1e0
add esp, 0xc
test eax, eax
je 0x442889
push esi
push esi
push esi
push esi
push esi
call fcn.0043887f
add esp, 0x14
push 0x104
mov esi, 0x4777f9
push esi
push 0
mov byte [0x4778fd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4428cd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043e1e0
add esp, 0xc
test eax, eax
je 0x4428cd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043887f
add esp, 0x14
push esi
call fcn.0043ab90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x442912
push esi
call fcn.0043ab90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x477af4
push 0x45e5bc
sub ecx, eax
push ecx
push eax
call fcn.00446de1
add esp, 0x14
test eax, eax
je 0x442912
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043887f
add esp, 0x14
jmp 0x442914
xor esi, esi
push 0x45e5b8
push ebx
push ebp
call fcn.00446d70
add esp, 0xc
test eax, eax
je 0x442934
push esi
push esi
push esi
push esi
push esi
call fcn.0043887f
add esp, 0x14
push dword [edi*8 + 0x473ebc]
push ebx
push ebp
call fcn.00446d70
add esp, 0xc
test eax, eax
je 0x442956
push esi
push esi
push esi
push esi
push esi
call fcn.0043887f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045139b
add esp, 0xc
jmp 0x44299e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44299e
cmp ebp, 0xffffffff
je 0x44299e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x473ebc]
push dword [esi]
call fcn.0043ab90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45139b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043e6fb
xor ebx, ebx
cmp dword [0x477c7c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x451471
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x451551
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x451551
push eax
call fcn.0043e68d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x477c7c], eax
call esi
push eax
call fcn.0043e68d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477c80], eax
call esi
push eax
call fcn.0043e68d
mov dword [0x477c84], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043cfa1
test eax, eax
pop ecx
pop ecx
je 0x45143f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043887f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x451471
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043e68d
cmp eax, ebx
pop ecx
mov dword [0x477c8c], eax
je 0x451471
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e68d
pop ecx
mov dword [0x477c88], eax
mov eax, dword [0x477c88]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4514f6
cmp dword [0x477c8c], ecx
je 0x4514f6
push eax
call fcn.0043e704
push dword [0x477c8c]
mov esi, eax
call fcn.0043e704
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4514f6
cmp edi, ebx
je 0x4514f6
call esi
cmp eax, ebx
je 0x4514c3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4514c3
test byte [ebp - 0x18], 1
jne 0x4514f6
lea eax, [ebp - 0x10]
push eax
call fcn.0043cfd8
test eax, eax
pop ecx
je 0x4514de
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043887f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4514ed
or dword [ebp + 0x10], 0x200000
jmp 0x451531
or dword [ebp + 0x10], 0x40000
jmp 0x451531
mov eax, dword [0x477c80]
cmp eax, dword [ebp - 8]
je 0x451531
push eax
call fcn.0043e704
cmp eax, ebx
pop ecx
je 0x451531
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x451531
mov eax, dword [0x477c84]
cmp eax, dword [ebp - 8]
je 0x451531
push eax
call fcn.0043e704
cmp eax, ebx
pop ecx
je 0x451531
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477c7c]
call fcn.0043e704
cmp eax, ebx
pop ecx
je 0x451551
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x451553
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403638
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x40367d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404e05
Capabilities:
Packed with generic packer

Disassembly:
pushal
push eax
push ecx
push edx
test ax, 1
je 0x404e22
push ecx
push edx
call dword [0x409763]
cmp eax, 0
je 0x404e22
pop edx
pop ecx
pop eax
stc
jmp 0x404e3d
pop edx
pop ecx
pop eax
test ax, 2
je 0x404e3c
push ecx
push edx
call dword [0x409775]
cmp ax, 0
je 0x404e3c
stc
jmp 0x404e3d
clc
popal
ret

Function at 0x405c70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 8]
mov dword [esp + 0x14], 0xc
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, dword [edi]
mov dword [edi + 4], edx
mov edx, dword [eax + 4]
add ecx, edx
mov dword [edi], ecx
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, ebx
mov edx, ebx
shr esi, 4
xor edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
add ebp, 8
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, 0x20
or eax, edx
mov edx, dword [ebp - 8]
sub eax, edx
mov edx, eax
mov dword [edi + 4], eax
shr edx, 7
and edx, 0x1f
xor eax, ebx
sub ecx, edx
mov esi, eax
shr esi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
shl eax, cl
or esi, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi], esi
mov dword [esp + 0x14], eax
jne 0x405c9a
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405cf9
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 0x60]
mov dword [esp + 0x14], 0xc
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [ebp + 4]
mov esi, ebx
shr esi, 7
sub edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
sub ebp, 8
shl eax, cl
mov ecx, esi
shr edx, cl
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov ecx, dword [ebp + 8]
mov edx, eax
shr edx, 4
lea esi, [ebx + ecx]
and edx, 0x1f
mov ecx, 0x20
mov ebx, esi
sub ecx, edx
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [edi + 4], ebx
mov dword [esp + 0x14], eax
jne 0x405d10
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
mov ecx, ebx
mov edx, dword [eax + 4]
sub esi, edx
mov dword [edi], esi
mov eax, dword [eax]
sub ecx, eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4052f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
test byte [ecx + 0x55], 0x10
push esi
je 0x405305
mov eax, dword [esp + 8]
pop esi
mov dword [eax], 0
ret 4
mov esi, dword [esp + 8]
push edi
xor eax, eax
mov dword [esi], 0x10
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
cmp edx, edi
pop edi
setne al
mov edx, eax
test edx, edx
je 0x405330
test byte [ecx + 0x54], 0x10
jne 0x405330
mov dword [esi], 0x12
test byte [ecx + 0x54], 8
jne 0x40536e
mov eax, dword [esi]
test al, 2
je 0x405340
or al, 1
mov dword [esi], eax
test edx, edx
je 0x40534a
mov eax, dword [esi]
or al, 8
mov dword [esi], eax
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40536e
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x405368
mov eax, dword [esi]
or al, 4
mov dword [esi], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret 4

Function at 0x408050
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x120
push ebx
push esi
push edi
mov edi, dword [esp + 0x13c]
test edi, edi
jne 0x40811a
mov eax, dword [esp + 0x138]
mov edi, dword [esp + 0x130]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0xc], 0x114
test eax, eax
mov byte [esp + 0x18], 0
je 0x4080ed
lea eax, [esp + 0x14]
push eax
push 1
push 0
push edi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4080ed
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push edi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
push ecx
call ebx
test eax, eax
je 0x4080d9
cmp dword [esp + 0x10], 1
jne 0x4080d9
xor esi, esi
jmp 0x4080de
mov esi, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40810b
mov esi, dword [esp + 0x134]
push esi
call ebx
push eax
push esi
push 1
push edi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x40817b
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x120
ret
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0xc]
push eax
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40817b
mov esi, dword [esp + 0x134]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0xc]
inc eax
push eax
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40817b
test esi, esi
jne 0x40817b
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x120
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x120
ret
Function at 0x408190
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4081be
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
je 0x4081b6
test al, al
je 0x4081b6
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
jne 0x4081aa
cmp byte [esi], 0x22
jne 0x4081ca
inc esi
jmp 0x4081ca
cmp al, 0x20
jle 0x4081ca
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
jg 0x4081c2
mov al, byte [esi]
test al, al
je 0x4081dc
cmp al, 0x20
jg 0x4081dc
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4081d0
lea eax, [esp + 4]
mov dword [esp + 0x30], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x30], 1
je 0x408201
mov eax, dword [esp + 0x34]
and eax, 0xffff
jmp 0x408206
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408510
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x614
lea eax, [esp + 0x114]
push ebx
push esi
mov esi, dword [esp + 0x620]
push 0xff
mov ebx, ecx
push eax
push 2
push esi
mov dword [ebx + 0x15d0], esi
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
lea ecx, [esp + 0x13c]
push 0xcf0000
push ecx
push str.ShockwaveFlash
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x40857d
pop esi
pop ebx
add esp, 0x614
ret 0xc
push edi
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push esi
mov ecx, ebx
mov dword [ebx + 0x15e4], esi
call fcn.0040a7e0
mov edx, dword [esp + 0x62c]
test edx, edx
je 0x4085bf
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4085bf
mov ecx, dword [0x43cb50]
push edx
call fcn.0040b4e0
jmp 0x408704
lea edx, [esp + 0x1c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x30]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x408704
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
push 0
push 0
lea ecx, [esi - 8]
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x20]
push 8
push eax
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], 8
jne 0x4086fc
cmp dword [esp + 0x18], 0xfa123456
jne 0x4086fc
mov edx, dword [esp + 0x1c]
push 0
sub esi, edx
push 0
sub esi, 8
mov dword [ebx + 0x15e8], 1
push esi
push edi
call ebp
push 0
push 0
mov ecx, ebx
call fcn.0041fb30
mov ebp, eax
test ebp, ebp
je 0x4086fc
lea ecx, [esp + 0x20]
push ecx
call fcn.0040bf20
push eax
mov dword [ebx + 0x15cc], eax
call fcn.0041ed00
mov dword [ebp + 0x94], eax
mov esi, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x10], 0
cmp esi, 0x400
jbe 0x4086b6
mov eax, 0x400
jmp 0x4086bc
test esi, esi
mov eax, esi
je 0x4086f5
lea edx, [esp + 0x10]
push 0
push edx
push eax
lea eax, [esp + 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4086f5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x224]
push eax
push ecx
mov ecx, ebp
sub esi, eax
call fcn.0041e680
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x4086a7
mov ecx, ebp
call fcn.0041e4e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov ecx, dword [0x43cb50]
call fcn.004092d0
mov edx, dword [esp + 0x628]
mov eax, dword [ebx + 0x15e4]
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x15e4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x614
ret 0xc
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40673a
pop dword [ebp - 0x40]
mov eax, 0x45c45e79
sub eax, 0x4583f73f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xbf552af4
sub dword [ebp - 0x50], 0x7102e5a9
mov dword [ebp - 0x4c], 0xa3fbaf98
sub dword [ebp - 0x4c], 0x71c86353
mov dword [ebp - 0x48], 0x4a859337
add dword [ebp - 0x48], 0x1c6b0f7
mov dword [ebp - 0x44], 0x20d4b252
add dword [ebp - 0x44], 0xdf2b4dae
lea eax, [ebp - 0x50]
push eax
mov eax, 0x1d4e30b7
sub eax, 0x1d0dafb3
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3fc8d4da
add dword [ebp - 0x50], 0x34a9947c
mov dword [ebp - 0x4c], 0x3be36b93
add dword [ebp - 0x4c], 0x588f5e2
mov dword [ebp - 0x48], 0xdd1e8393
add dword [ebp - 0x48], 0x8650e8d9
mov dword [ebp - 0x44], 0x8c830f8a
add dword [ebp - 0x44], 0x737cf076
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x19abe482
add eax, 0xe6949c7e
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9c5
push 0
call eax
mov ecx, 0x2b78e26b
sub ecx, 0x2b788e0a
mov edx, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x40]
mov edi, 0x6246a6a1
add edi, 0x4cc38c6b
mov dword [ebp - 0x28], 0x337bfe84
mov esi, dword [ebx]
sub dword [ebp - 0x30], 0x23adf8aa
xor esi, edi
mov dword [edx], esi
sub dword [ebp - 0x24], 0xd8b0dbdc
add edx, 4
add ebx, 4
loop 0x406856
add eax, 0x14457
mov ebx, eax
add eax, 5
mov ecx, 0xb5981886
sub ecx, 0xb5581886
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x11458dc
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
jae 0x1f815bb
shrd edi, ebx, 8
rcr ecx, 0x13
mov ebx, eax
or cx, bp
bsf cx, dx
cmc
mov edi, eax
dec cl
bts cx, 2
stc
shl ch, cl
mov ecx, 0x104
cmp cl, bl
cmc
push eax
sub al, al
cmp bl, ah
repne scasb al, byte es:[edi]
push esp
pushfd
mov dword [esp], 0xbda4e90b
push eax
lea esp, [esp + 0x10]
jne 0x1f815b6
xor ch, 0xec
neg esi
xadd cx, si
mov ecx, edi
bts si, 0xd
bswap si
sub ecx, ebx
movsx si, dl
push 0xd71a872f
movzx si, cl
shr esi, 6
lea esi, [esp + 4]
stc
sub edi, 4
pushfd
stc
push dword [edi]
pop dword [esp + 4]
bt sp, dx
bt bp, sp
cmp edi, ebx
push ebx
call fcn.01f846e4
cmp al, 0x45
sahf
jge 0x1145926
js 0x11459d2
pushal
pop dword [esi]
out dx, eax
jb 0x114590b
ror dword [ebx + 0x53c15cfb], 0xf6
stosb byte es:[edi], al
dec esp
pop esp
ret
imul edi, dword [edx - 0x24], 0x2f
or dword [esi - 0x2b], 0xd006cabd
sbb eax, edx
xlatb
rol word [ecx], cl
mov al, byte [0x77382cff]
jbe 0x1145971
push 0xffffffffffffff99
mov ah, 0xbe
add esi, dword [0xd787d1c8]
mov ah, 0x43
mov byte [0xbb805e47], al
jge 0x1145a1d
lds eax, [esi + 0x78c31762]
mov dl, 0xf5
adc edi, dword [edx]
invalid
in al, 0x8d
and al, 0x38

Function at 0x1f830bf
Capabilities:
Encode data using xor

Disassembly:
mov ebx, eax
pushal
clc
and di, 0x8a90
mov edi, eax
shr cx, 0xd
shrd cx, si, 3
mov ecx, 0x104
push dword [esp]
call fcn.0113c958
mov es, ecx
mov esp, 0x63baf44b
cmc
retf
pushfd
call fcn.01f8662d
lea esp, [esp + 4]
jae 0x1f815bb
xchg ch, bl
jmp 0x113bae9
not dl
pushf
jmp 0x115f061
and dl, ah
mov dl, byte [esi]
pushfd
mov word [esp], ax
cmc
clc
xor dl, 0xb6
call fcn.0113cd0c
mov dl, 0xf8
add ebp, dword [esi]
iretd
lea esp, [esp + 0xc]
jne 0x113c9c6
not dl
seta dl
jp 0x114899e
pushf
rcl dl, 4
mov dl, byte [esi]
bt ax, di
pushfd
mov byte [esp], 0x51
xor dl, 0xb6
bt ebp, 0x16
call fcn.01f858cc
test byte [edi - 0x7a], 0xfa
std
push ss
inc ebx
test al, 0x80
mov ecx, 0x94026cf3
rcl dword [edx - 0x4d], 0x66
invalid

Function at 0x1f858cc
Capabilities:
Encode data using xor

Disassembly:
add dl, 0x77
pushfd
call fcn.01cd4ea2
shl cl, cl
dec esi
adc dword ss:[ebp + 0x4a], eax
or ebx, dword [ebp - 0x5c4d0394]
js 0x1f85951
pop esi
dec ebp
ljmp 0x77c8
jmp 0x1f8598c
in eax, dx
mov byte [edx + 7], 0x9f
sub dword [esi], ecx
mov edx, 0x1f3fdbed
push cs
cmp edi, edi
push esi
push eax
add esi, dword [ecx]
sub dl, ah
pop edi
mov dword [0x7a70d543], eax
invalid
xor eax, 0xd88ba156
jo 0x1f85962
mov ah, bh
push esi
xchg esp, eax
mov dword [0x72979298], eax
xchg ebp, eax
mov dl, 0xb0
and al, 0x20
inc eax
stosd dword es:[edi], eax
sub ecx, dword [ecx]
outsd dx, dword [esi]
jno 0x1f85983
dec ebp
ljmp 0x2c35
Function at 0x1f86380
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
call int.0113bbc7
jnp 0x115e97e
mov eax, dword [ebp - 8]
jmp 0x113ac42
bt bp, si
stc
shl eax, 1
jmp 0x11404e2
clc
cmp bh, 0x17
cmp al, 9
push eax
pushfd
lea esp, [esp + 8]
ja 0x113c9f9
cmc
jmp 0x1cd4d7a
push esi
push 0xd808910
lea esp, [esp + 8]
je 0x11494df
cmp bl, 0xf4
cmp ah, 0xcc
clc
sub al, 0x30
jmp 0x113dc5e
shrd ax, si, 4
setg ah
dec ah
neg ax
mov eax, dword [ebp - 8]
test dh, cl
cmp dl, 0x9f
jmp 0x1161a94
lea esp, [esp + 0x2c]
ja 0x113c9f9
push 0xe755f3f
bt cx, 3
imul edx, edx, 0xa
pushal
call int.01f81710
shl eax, 1
push 0xc8d78e8f
pushfd
call fcn.01f843c3
lea esp, [esp + 0x30]
jne 0x11494e5
add al, 0xc
test bl, cl
sub edx, edx
cmp al, cl
mov eax, edx
sar al, cl
add edi, 1
add al, 0x16
cmp bh, 0xae
shl al, 4
shl al, cl
mov al, byte [edi]
clc
je 0x113a392
cmp cx, 0x1119
clc
test al, al
push 0x342b3c9a
lea esp, [esp + 4]
je 0x11495db
je 0x11494df
pushal
pushfd
sub al, 0x30
push ecx
test ch, dl
test dh, dl
cmp al, 9
jmp 0x1f87801
pushfd
jmp 0x115f6fb
Function at 0x4037c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a2020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403858
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403838
xor eax, eax
push ebp
push 0x403831
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403874
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403838
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4a2020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a2020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40466c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b204c], 0
je 0x4046cd
cmp word [0x4b2220], 0xd7b2
jne 0x404695
cmp dword [0x4b2228], 0
jbe 0x404695
mov eax, 0x4b221c
call dword [0x4b2238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4046f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a202c], 0
jne 0x4046e9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404844
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4a2030], 0
je 0x40486a
mov edx, esi
mov eax, ebx
call dword [0x4a2030]
jmp 0x404879
mov eax, 8
call fcn.00402d84
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4b204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40480c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc