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

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
ret 8

Function at 0x50a55610
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x50a5563c
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x50a55647
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x50a5ecd6
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ebx, ecx
mov edi, 0x200
push edi
mov ecx, esi
call fcn.50a54cdd
push edi
push eax
push dword [ebx + 0x28]
call dword [sym.imp.vsansi.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.50a54849
mov ecx, esi
call fcn.50a5e7b4
mov ecx, esi
call fcn.50a5e761
pop edi
pop esi
pop ebx
ret 4

Function at 0x50a5faa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x50a5faaf
pop dword [ebp - 0x48]
mov eax, 0x61020f32
sub eax, 0x105c1483
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x40ae3da6
sub dword [ebp - 0x58], 0xf25bf85b
mov dword [ebp - 0x54], 0xb387eaac
add dword [ebp - 0x54], 0x7eab6199
mov dword [ebp - 0x50], 0xa2e69bd0
sub dword [ebp - 0x50], 0x569a57a2
mov dword [ebp - 0x4c], 0xa62f8ab1
sub dword [ebp - 0x4c], 0xa62f8ab1
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8d9162ad
sub eax, 0x3cec5225
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xc5ecff9e
add dword [ebp - 0x58], 0xae8569b8
mov dword [ebp - 0x54], 0xfd65c8bd
sub dword [ebp - 0x54], 0xbbf96748
mov dword [ebp - 0x50], 0x7a429938
sub dword [ebp - 0x50], 0x16d32ccc
mov dword [ebp - 0x4c], 0x75455f3c
sub dword [ebp - 0x4c], 0x75455f3c
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3987e
push 0
call eax
mov ecx, 0xbcc4b730
sub ecx, 0xbcc4683d
xor ebx, ebx
add ebx, eax
mov edi, 0x50a6b000
add edi, dword [ebp - 0x48]
mov edx, 0xdbe566d
sub edx, 0x97349910
xor dword [ebp - 0x2c], 0xa0e55568
mov esi, dword [edi]
sub dword [ebp - 0x44], eax
sub esi, edx
add dword [ebp - 0x20], esi
mov dword [ebx], esi
add dword [ebp - 0x3c], eax
add ebx, 4
add edi, 4
loop 0x50a5fbc8
add eax, 0x2eba5a4f
add eax, 0xd146d450
mov ebx, eax
add eax, 0xc380e23d
sub eax, 0xc380e238
mov ecx, 0xff6d2c41
sub ecx, 0xaec82c41
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x50a60737
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.vsansi.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x50a6074f
test al, 0x10
jne 0x50a6074f
xor eax, eax
inc eax
jmp 0x50a60751
xor eax, eax
ret 4

Function at 0x50a62168
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.50a62151
and byte [esi + 0xc], 0
mov eax, 0x50a50000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x50a621c2
cmp dword [ebp - 0x18], 5
jb 0x50a621da
jmp 0x50a621d6
cmp dword [ebp - 0xc], 1
jne 0x50a621da
cmp dword [ebp - 0x18], 4
ja 0x50a621d6
jne 0x50a621da
cmp dword [ebp - 0x14], 0
jbe 0x50a621da
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x50a64080
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x29a010c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x29a010d6
pop dword [ebp - 0x1c]
mov eax, 0x29a010d6
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x777b2d5e
sub dword [ebp - 0x2c], 0x2928e813
mov dword [ebp - 0x28], 0xeea67fb
add dword [ebp - 0x28], 0x2348e44a
mov dword [ebp - 0x24], 0x6f3df9c2
sub dword [ebp - 0x24], 0x22f1b594
mov dword [ebp - 0x20], 0xf2b11790
add dword [ebp - 0x20], 0xd4ee870
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xa1aa6272
add eax, 0x87f6de1a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xd9688001
sub dword [ebp - 0x2c], 0x64f616ab
mov dword [ebp - 0x28], 0x794fcb88
sub dword [ebp - 0x28], 0x37e36a13
mov dword [ebp - 0x24], 0xd7284759
add dword [ebp - 0x24], 0x8c472513
mov dword [ebp - 0x20], 0x1ebf354
sub dword [ebp - 0x20], 0x1ebf354
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x29d033ec
sub eax, 0x2ef3a8
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x39547
push 0
call eax
mov ecx, 0x57eac152
add ecx, 0xa81582d9
xor ebx, ebx
add ebx, eax
mov edx, 0x45c1116f
add edx, 0xe3e10e91
add edx, dword [ebp - 0x1c]
mov edi, 0xb81336d2
mov esi, dword [edx]
xor dword [ebp - 0x14], eax
xor esi, edi
mov dword [ebx], esi
add dword [ebp - 4], 0x141319f1
add ebx, 0x41d6e3ec
add ebx, 0xbe291c18
add edx, 4
loop 0x29a011ef
add eax, 0x4bc8d84b
sub eax, 0x4bc7d4cc
mov ebx, eax
add eax, 5
mov ecx, 0xb435167a
sub ecx, 0x8a95167a
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x4378c8]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, ecx
mov dword [ebp - 0xc], eax
mov eax, section..ndata
shl esi, 0xb
shl edi, 0xb
add esi, eax
add edi, eax
lea eax, [ebp - 0x30]
xor ebx, ebx
mov dword [0x40dfe4], eax
lea eax, [edx - 2]
cmp eax, 0x44
mov dword [ebp - 4], ebx
ja case.0x401486.67
jmp dword [eax*4 + 0x403051]
push ecx
push str.Jump:__d
call fcn.00406f3f
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
jmp 0x40304a
push ebx
call fcn.004031bf
push eax
push str.Aborting:___s_
call fcn.00406f3f
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.0040599e
jmp 0x40266a
inc dword [0x43688c]
cmp dword [ebp - 0xc], ebx
je 0x40266a
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40266a
push ecx
call fcn.0040136d
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406f3f
pop ecx
pop ecx
push ebx
push esi
call fcn.00401389
jmp 0x40304a
push ebx
call fcn.004031bf
push eax
push str.DetailPrint:__s
call fcn.00406f3f
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.0040599e
jmp case.0x401486.67
push ebx
call fcn.0040319d
mov esi, eax
mov dword [ebp - 0x40], edx
push esi
push str.Sleep__d_
call fcn.00406f3f
add esp, 0xc
cmp esi, 1
jg 0x401542
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401486.67
push str.BringToFront
call fcn.00406f3f
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401486.67
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x4015a5
mov ecx, dword [eax + 0x437960]
push 1
mov dword [eax + 0x4379a0], ecx
call fcn.0040319d
mov ecx, dword [ebp - 0x30]
push eax
push ecx
mov dword [ebp - 0x40], edx
mov dword [ecx*4 + 0x437960], eax
push str.SetFlag:__d_d
call fcn.00406f3f
add esp, 0x10
jmp case.0x401486.67
mov ecx, dword [eax + 0x4379a0]
mov dword [eax + 0x437960], ecx
jmp case.0x401486.67
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x437960]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [esi], ecx
jmp 0x40304a
mov eax, dword [ebp - 0x2c]
push dword [eax*4 + 0x437960]
push esi
jmp 0x402f8d
mov eax, dword [0x436890]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
invalid

Function at 0x4016ba
Capabilities:
Get file attributes
Set current directory

Disassembly:
ret
Function at 0x4032c2
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406831
xor ebx, ebx
invalid
Function at 0x403946
Capabilities:
Check os version
Hash data using murmur3

Disassembly:
sub esp, 0x2d4
push ebx
push esi
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xbfffffff
cmp ax, 6
mov dword [0x4378cc], eax
je 0x403996
push ebx
call fcn.00407007
cmp eax, ebx
je 0x403996
push 0xc00
call eax
mov esi, str.UXTHEME
push esi
call fcn.00406f97
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x40399b
push 0xb
call fcn.00407007
push 9
call fcn.00407007
push 7
mov dword [0x4378c4], eax
call fcn.00407007
cmp eax, ebx
je 0x4039de
push 0x1e
call eax
test eax, eax
je 0x4039de
or byte [0x4378cf], 0x40
push ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [0x437998], eax
push ebx
lea eax, [esp + 0x34]
push 0x2b4
push eax
push ebx
invalid
invalid

Function at 0x4039ff
Capabilities:
Hash data using murmur3

Disassembly:
ret
Function at 0x404830
Capabilities:
Hash data using murmur3

Disassembly:
not esi
inc ebx
sub ecx, ebp
call fcn.00406dc7
dec edx
xor ecx, esp
sub edi, dword [0x437f3f]
add esi, dword [0x437d5d]
or dword [0x437abd], ebx
xor ebx, 0xae5a2db6
xor edi, edx
rol ebx, 0x1f
dec ebx
xchg edx, esi
call fcn.004057ac
neg esi
dec ecx

Function at 0x404865
Capabilities:
Hash data using murmur3

Disassembly:
not edi
dec eax
xor eax, 0x70af3f20
call fcn.004015f3
xor eax, 0x70af3f20
inc eax
not edi

Function at 0x40487c
Capabilities:
Hash data using murmur3

Disassembly:
inc ecx
neg esi
call fcn.004057ac
xchg edx, esi
inc ebx
ror ebx, 0x1f
xor edi, edx
xor ebx, 0xae5a2db6
invalid
invalid
fdivr qword [ebx + 0x43]

Function at 0x405ea2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408408
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083f8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ef3
xor eax, eax
jmp 0x405f1a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405f1a
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405eef
call esi
pop esi
leave
ret 4

Function at 0x405f54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x431400], 0x44
push eax
xor eax, eax
push 0x431400
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405f93
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405f97
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406035
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406495
mov edi, eax
cmp edi, 0xffffffff
je 0x406076
test byte [esp + 0x10], 1
push esi
je 0x406058
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40605e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406067
xor eax, eax
inc eax
jmp 0x406078
test byte [esp + 0x10], 4
jne 0x406076
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x40607d
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
invalid

Function at 0x40608f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
ret
Function at 0x406610
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x431a98], 0x55004e
mov dword [0x431a9c], 0x4c
mov edi, 0x400
mov ebp, 0x431a98
je 0x406666
push 1
push 0
push esi
call fcn.004064ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406785
cmp eax, edi
jg 0x406785
mov esi, 0x432298
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406785
cmp eax, edi
jg 0x406785
push esi
push ebp
push str._ls_ls_r_n
push 0x431698
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x4378d4]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406a01
push 4
push 0xc0000000
push esi
call fcn.004064ba
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406785
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40677e
push edi
push esi
push ebp
call fcn.0040653d
test eax, eax
je 0x40677e
push str._Rename__r_n
push esi
call fcn.0040641f
test eax, eax
jne 0x40671c
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406751
add eax, 0xa
push 0x40b510
push eax
call fcn.0040641f
mov ebp, eax
test ebp, ebp
je 0x40674d
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x40673e
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406738
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406753
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x431698
push eax
call fcn.00406475
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.0040656c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx

Function at 0x40678a
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4067ad
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406610
pop ecx
pop ecx
inc dword [0x437970]
ret 8
Function at 0x1000567b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001ae0c
call fcn.1001a6e0
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100056f8
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100056f8
call fcn.10003dca
mov esi, eax
jmp 0x100057fe
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000571b
call fcn.10003dca
jmp 0x100057f1
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10005711
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000574e
mov esi, 0x8007000e
jmp 0x100057f3
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x1000582c
jb 0x10005769
cmp eax, 0xffffffff
ja 0x1000582c
cmp eax, 0x400
jbe 0x1000577e
push eax
lea ecx, [ebp - 0x418]
call fcn.1000b131
jmp 0x100057a0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100057a0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10005744
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10005711
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000b131
mov esi, eax
test edi, edi
je 0x100057fe
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005817
lea ecx, [ebp - 0x418]
call fcn.10003d92
lea ecx, [ebp - 0x428]
call fcn.10004436
mov eax, esi
call fcn.1001a631
ret 0x10
push 0x80070216
call fcn.1000b131
int3
Function at 0x10005e6b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1001aed0
call fcn.1001a63e
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x20
call fcn.1000b131
mov esi, eax
pop ecx
test esi, esi
je 0x10005eab
and dword [esi + 4], 0
lea ecx, [esi + 8]
mov edi, ecx
xor eax, eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [esi + 0x18], 0
mov edi, dword [ebp - 0x10]
jmp 0x10005ead
xor esi, esi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
jne 0x10005ec2
mov ebx, 0x8007000e
jmp 0x10005fa1
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esi], edi
test edi, edi
je 0x10005f1b
test ebx, ebx
je 0x10005f9c
cmp dword [ebp + 8], 0
jne 0x10005f9c
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call ebx
mov edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x10005f15
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x10005f0f
push edi
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x10005fe5
jmp 0x10005f37
and dword [esi + 4], 0
xor eax, eax
test eax, eax
jne 0x10005f37
jmp 0x10005eb8
test ebx, ebx
jne 0x10005f9c
cmp dword [ebp + 8], ebx
je 0x10005f9c
push dword [ebp + 8]
lea eax, [esi + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeType]
mov ebx, eax
test ebx, ebx
js 0x10005fa1
lea ecx, [esi + 0x18]
call fcn.1000b131
mov ebx, eax
test ebx, ebx
js 0x10005fa1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fef
mov eax, dword [ecx]
push ecx
call dword [eax + 0xbc]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x10006064
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x10005f8b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10005f8f
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x10005fa1
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10005fa1
mov ebx, 0x80070057
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10005fdb
mov dword [ebp - 4], 8
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fc1
and dword [esi + 0x18], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [esi + 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call fcn.1000b131
pop ecx
mov eax, ebx
call fcn.1001a60f
ret 4
push 0x8007000e
call fcn.1000b131
push 0
push 0x152139a
call fcn.1000b131
int3
Function at 0x1000b131
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1000b140
pop dword [ebp - 0x30]
mov eax, 0xcc779506
sub eax, 0xbc76e3c6
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x710d6fee
sub dword [ebp - 0x40], 0x22bb2aa3
mov dword [ebp - 0x3c], 0x25302eb9
add dword [ebp - 0x3c], 0xd031d8c
mov dword [ebp - 0x38], 0x93c3badc
sub dword [ebp - 0x38], 0x477776ae
mov dword [ebp - 0x34], 0x8386f775
sub dword [ebp - 0x34], 0x8386f775
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x49ec1611
add dword [ebp - 0x40], 0x2a865345
mov dword [ebp - 0x3c], 0x4af919fc
sub dword [ebp - 0x3c], 0x98cb887
mov dword [ebp - 0x38], 0x3c3c0d3d
add dword [ebp - 0x38], 0x27335f2f
mov dword [ebp - 0x34], 0xa4d28fee
add dword [ebp - 0x34], 0x5b2d7012
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x3d5b1436
add eax, 0xd2a6ac12
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf99
push 0
call eax
mov ecx, 0x197139d1
sub ecx, 0x1970f0e3
mov edi, eax
mov edx, 0x10029a00
add edx, dword [ebp - 0x30]
mov esi, 0xe8cbc6
add esi, 0x279ed266
sub dword [ebp - 8], esi
mov ebx, dword [edx]
xor dword [ebp - 0x24], ecx
sub ebx, esi
sub dword [ebp - 8], eax
mov dword [edi], ebx
sub dword [ebp - 0x24], 0x15e7cf79
add edi, 4
add edx, 4
loop 0x1000b257
add eax, 0xb69435ab
add eax, 0x496ce0e0
mov ebx, eax
add eax, 5
mov ecx, 0xc2001b3a
add ecx, 0x4dffe4c6
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx