joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449cac
Capabilities:
Set registry value

Disassembly:
push 0x64
mov eax, 0x473d08
call fcn.00459c76
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6c]
push eax
mov esi, ecx
call fcn.0044a1ab
xor edi, edi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0043bdc9
mov byte [ebp - 4], 1
cmp esi, edi
je 0x449e1a
cmp word [esi], di
je 0x449e1a
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.0044a6cb
cmp dword [ebp - 0x54], edi
jne 0x449d18
lea eax, [ebp - 0x34]
call fcn.0043b39a
lea esi, [ebp - 0x6c]
call fcn.0044a1e8
push 2
pop eax
jmp 0x449e2c
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
call fcn.0044a28c
mov ecx, eax
lea edx, [ebp - 0x34]
call fcn.00449b95
mov dword [ebp - 0x40], eax
cmp eax, edi
je 0x449d00
call fcn.0043da00
cmp dword [ebp - 0x20], edi
je 0x449d74
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push dword [ebp - 0x3c]
lea esi, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
call fcn.0044a230
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
call fcn.0043da00
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x58]
cmp eax, edi
je 0x449d89
cmp eax, dword [ebp - 0x6c]
je 0x449d8e
call fcn.00455b8a
cmp dword [ebp - 0x38], esi
je 0x449de7
lea esi, [ebp - 0x3c]
call fcn.0044a28c
cmp dword [eax + 0x18], 8
jb 0x449da6
mov eax, dword [eax + 4]
jmp 0x449da9
add eax, 4
push edi
lea ecx, [ebp - 0x44]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test dword [ebp - 0x40], 0x80000000
mov dword [ebp - 0x48], eax
jne 0x449dd2
push dword [ebp - 0x40]
call ebx
cmp dword [ebp - 0x48], edi
jne 0x449e05
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.0043da00
jmp 0x449d7a
push dword [ebp + 0x14]
push dword [ebp - 0x50]
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x70]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call ebx
lea eax, [ebp - 0x34]
call fcn.0043b39a
lea esi, [ebp - 0x6c]
call fcn.0044a1e8
mov eax, dword [ebp - 0x48]
jmp 0x449e2c
lea eax, [ebp - 0x34]
call fcn.0043b39a
lea esi, [ebp - 0x6c]
call fcn.0044a1e8
xor eax, eax
call fcn.00459cf9
ret
Function at 0x44a8c4
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4a0590]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 6
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.0044c4ef
cmp byte [eax + 0x48], bl
je 0x44a90e
cmp dword [eax + 0x1c], ebx
jbe 0x44a90e
cmp dword [eax + 0x3c], ebx
jbe 0x44a902
cmp dword [eax + 0x1c], ebx
ja 0x44a90e
mov dword [0x4a3798], 1
jmp 0x44a918
push 0xffffffffffffffff
xor edi, edi
call fcn.0044956d
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], ebx
call edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 2
jl 0x44a95e
mov eax, dword [eax + 4]
push 0x4951c0
push eax
call fcn.00459157
pop ecx
pop ecx
test eax, eax
je 0x44a95e
mov eax, esi
lea edi, [esp + 0x10]
call fcn.00452a57
push ebx
push 0x4a28a0
jmp 0x44a9a0
push str._nolaunchstat
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x44a980
push ebx
push ebx
push ebx
push 0x44f60d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.0040dea5
push 0x1b7740
call fcn.0040dee0
mov eax, esi
lea edi, [esp + 0x10]
call fcn.00452a57
push ebx
push 0x4a289c
push 0x18aa1
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
lea esi, [esp + 0x10]
call fcn.00409a58
mov ecx, esi
call fcn.004099fd
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00453655
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450623
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x473bb5
call fcn.00459c0d
mov esi, dword [ebp + 8]
mov edi, esi
call fcn.004505a1
push 0x48
call fcn.004548d2
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x450657
push eax
call fcn.0043f556
mov edi, eax
jmp 0x450659
xor edi, edi
or dword [ebp - 4], 0xffffffff
push 0x10
mov dword [ebp - 0x1c], edi
call fcn.004548d2
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ebx
je 0x450680
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], vtable.miniboost::sp_counted_base_impl_class_CXMLProcessor_.0
mov dword [eax + 0xc], edi
mov ebx, eax
mov dword [ebp - 0x18], ebx
sub esi, 0xffffff80
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
test ebx, ebx
je 0x45069a
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp - 0x14]
cmp eax, esi
je 0x4506a8
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov dword [esi], edi
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.0043db9a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.0043db9a
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push esi
push edi
push dword [ebp + 0x10]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x28
push 0x879b4
push dword [ebp + 0xc]
mov dword [edi + 0x88], eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00459ce5
ret 0xc
Function at 0x4518ef
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0xc]
call edi
mov eax, dword [esi + 0xc]
xor ebp, ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
cmp ebx, ebp
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x45193a
push 1
push ebx
call edi
push ebx
call ebp
mov eax, dword [esi + 0xc]
push 0
push 0
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
test ebx, ebx
jne 0x45191d
mov dword [esp + 0x10], 0x443
mov dword [esp + 0x14], 0x444
mov dword [esp + 0x18], 0x445
mov dword [esp + 0x1c], 0x426
mov dword [esp + 0x20], 0x427
mov dword [esp + 0x24], 0x446
xor ebx, ebx
push dword [esp + ebx*4 + 0x10]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
mov dword [esp + 0x14], eax
call edi
push dword [esp + 0xc]
call ebp
inc ebx
cmp ebx, 6
jb 0x45196c
mov eax, dword [esi + 0xc]
push 0x452
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push 0
push ebx
call edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call ebp
push edi
push edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x452366
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
mov esi, eax
mov eax, dword [esi + 0xc]
push 0x446
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0xc]
push 0
push 0x44c
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0xc]
push 0
push 0x44a
push eax
call edi
push eax
call ebx
mov esi, dword [esi + 0xc]
push 5
push 0x447
push esi
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4525f6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473f5a
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4a0590]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0590]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, 0x426
sub ecx, eax
je 0x452733
sub ecx, 0xd
je 0x452663
dec ecx
jne 0x45274a
mov ecx, dword [esi + 4]
push 1
call fcn.00409b71
jmp 0x45274a
lea eax, [esp + 0x34]
call fcn.0043bdc9
xor ebx, ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x478], ebx
call fcn.0043bdc9
push 0x208
lea eax, [esp + 0x58]
push eax
push ebx
mov byte [esp + 0x484], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00447e69
add esp, 0xc
call fcn.004498ef
test eax, eax
jne 0x4526de
cmp dword [esp + 0x2c], 8
mov edi, dword [esp + 0x18]
jae 0x4526c6
lea edi, [esp + 0x18]
call fcn.00447b6c
test al, al
jne 0x4526de
push 0xffffffffffffffff
mov edi, 0x477ec0
call fcn.0044956d
pop ecx
jmp 0x45271f
mov eax, dword [esi + 0xc]
push ebx
push 0x433
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push ebx
push esi
push 0x4529f5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 0x1f4
push 0x879b4
push dword [esi + 0xc]
mov dword [esi + 0x94], eax
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [esp + 0x14]
call fcn.0043b39a
lea eax, [esp + 0x34]
call fcn.0043b39a
jmp 0x45274a
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x90], eax
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00453655
mov esp, ebp
pop ebp
ret 4
Function at 0x453655
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a0590]
jne 0x45365f
repz ret
jmp fcn.0045bf52

Function at 0x46c4e6
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.0045c7ad
and dword [ebp - 4], 0
cmp dword [0x4a3600], 0
mov ebx, eax
jne 0x46c597
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46c648
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46c648
push eax
call fcn.0045c73b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a3600], eax
call esi
push eax
call fcn.0045c73b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a3604], eax
call esi
push eax
call fcn.0045c73b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a3608], eax
call esi
push eax
call fcn.0045c73b
pop ecx
mov dword [0x4a3610], eax
test eax, eax
je 0x46c597
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045c73b
pop ecx
mov dword [0x4a360c], eax
mov eax, dword [0x4a360c]
cmp eax, ebx
je 0x46c5ef
cmp dword [0x4a3610], ebx
je 0x46c5ef
push eax
call fcn.0045c7b6
push dword [0x4a3610]
mov esi, eax
call fcn.0045c7b6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46c5ef
test edi, edi
je 0x46c5ef
call esi
test eax, eax
je 0x46c5e6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46c5e6
test byte [ebp - 0xc], 1
jne 0x46c5ef
or dword [ebp + 0x10], 0x200000
jmp 0x46c628
mov eax, dword [0x4a3604]
cmp eax, ebx
je 0x46c628
push eax
call fcn.0045c7b6
pop ecx
test eax, eax
je 0x46c628
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46c628
mov eax, dword [0x4a3608]
cmp eax, ebx
je 0x46c628
push eax
call fcn.0045c7b6
pop ecx
test eax, eax
je 0x46c628
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a3600]
call fcn.0045c7b6
pop ecx
test eax, eax
je 0x46c648
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46c64a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100175d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10017761
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x100175fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10017601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100175f0
mov eax, 1
add ebx, ebx
jne 0x10017613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10017608
jne 0x10017624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017608
xor ecx, ecx
sub eax, 3
jb 0x10017638
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100176aa
mov ebp, eax
add ebx, ebx
jne 0x10017643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10017650
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10017674
inc ecx
add ebx, ebx
jne 0x10017660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10017655
jne 0x10017671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017655
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10017694
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10017685
jmp 0x100175f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10017694
add edi, ecx
jmp 0x100175f6
pop esi
mov edi, esi
mov ecx, 0x2f1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100176b2
cmp byte [edi], 0xa
jne 0x100176b2
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 eax, ebx
loop 0x100176b7
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x1001772f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17de0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17e6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100176e4
mov ecx, edi
jns 0x10017713
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 + 0x17e70]
or eax, eax
je 0x10017729
mov dword [ebx], eax
add ebx, 4
jmp 0x10017701
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10017760
cmp al, 0xef
ja 0x10017753
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10017735
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10017742
popal
jmp 0x100066f6
Function at 0x40d935
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, ecx
test esi, esi
jns 0x40d963
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
and eax, 0xfffffffe
and esi, 0x7fffffff
push eax
add esi, edx
push esi
call fcn.0040d9e4
add esp, 0xc
jmp 0x40d9e0
push ebx
mov ecx, 0x7fffffff
and esi, ecx
add esi, edx
lea eax, [ebp + 8]
mov ebx, dword [esi]
and dword [ebp + 8], 0
push eax
push 4
push dword [esi + 4]
and ebx, ecx
add ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40d9df
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x1c]
push 0
sub ecx, edi
test byte [ebp + 0xc], 0x40
pop eax
setne al
lea eax, [eax*2 - 1]
push eax
mov eax, dword [0x4fbd84]
imul eax, dword [esi]
push eax
mov eax, dword [0x4fbd8c]
imul eax, dword [esi]
push eax
mov eax, dword [0x4fbd80]
mov edx, dword [esi + 4]
xor eax, ecx
push eax
mov ecx, ebx
call fcn.0040df63
add esp, 0x14
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x40df13
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [ecx + 0x3c]
add ebx, ecx
push ebp
movzx eax, word [ebx + 0x14]
lea ebp, [ebx + 0x18]
add ebp, eax
push esi
xor eax, eax
xor esi, esi
push edi
mov dword [esp + 0x10], edx
cmp ax, word [ebx + 6]
jae 0x40df53
mov edi, ebp
push edi
push edx
call fcn.0041db96
pop ecx
pop ecx
test eax, eax
je 0x40df5b
movzx eax, word [ebx + 6]
mov edx, dword [esp + 0x10]
inc esi
add edi, 0x28
cmp esi, eax
jb 0x40df36
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
imul esi, esi, 0x28
lea eax, [esi + ebp]
jmp 0x40df55
Function at 0x40ea65
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x4368f8
call fcn.00428670
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40eb55
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40eb55
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40eb55
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40eb55
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40eb55
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041dca8
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40eb2a
push 8
jmp 0x40eb6c
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40eb6d
push 0xb
jmp 0x40eb6c
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.004286ab
ret 8

Function at 0x411854
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x41188d
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428040
xor esi, esi
mov ecx, eax
dec edi
jne 0x41186f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411896
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4ff138]
or eax, dword [0x4ff13c]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x4118f6
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x4118d8
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x4118bd
mov dword [esi*8 + 0x4fe940], eax
mov dword [esi*8 + 0x4fe944], edx
inc esi
cmp esi, 0x100
jl 0x4118b7
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411927
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x4fe940]
xor edx, dword [eax*8 + 0x4fe944]
inc edi
dec ebx
jne 0x411904
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416e3d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a1a1
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x4fe914], 0
push esi
je 0x416edc
mov esi, 0x4fe904
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419065
mov ecx, eax
call fcn.0041928e
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x416e8d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410b81
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.00418f1a
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x416ebe
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x4fe914], 0
jne 0x416e6a
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416eec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429166
call fcn.0041e3ec
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x416f0a
mov eax, dword [esi]
jmp 0x416f0c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x416fba
push ecx
push ecx
mov ecx, esi
call fcn.00418570
cmp eax, 0xffffffff
je 0x416f5f
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004108ed
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00416eec
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x416f5f
xor al, al
jmp 0x416fc6
mov ecx, dword [0x4fd308]
test ecx, ecx
je 0x416f7c
cmp dword [esi + 0x14], 0x10
jb 0x416f73
mov eax, dword [esi]
jmp 0x416f75
mov eax, esi
push 0
push eax
call ecx
jmp 0x416fa6
cmp dword [0x4fcc48], 0
je 0x416fa4
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x435018
call fcn.0040dce9
push eax
call dword [0x4fcc48]
add esp, 0xc
jmp 0x416f5b
xor eax, eax
test eax, eax
je 0x416f5b
push esi
mov ecx, 0x4fe904
call fcn.00418e97
mov byte [edi], 0
jmp 0x416fc4
test eax, 0x410
je 0x416f5b
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417c24
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a185
call fcn.0041e3ec
mov eax, 0x1030
call fcn.0041e810
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x4f7b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417d1a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417d10
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417d10
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004107e9
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a484
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x4f7120]
push edi
test edx, edx
je 0x41a4ae
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a4a0
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a4df
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a4df
mov esi, dword [0x4f7120]
jmp 0x41a4c3
pop edi
pop esi
pop ebp
ret