joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47124d
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x530dfa
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x49c]
xor eax, eax
and dword [esp + 0x25c], 0
xor bl, bl
mov dword [esp + 0x18], ebp
mov dword [esp + 0x260], 7
mov word [esp + 0x24c], ax
and dword [esp + 0x494], eax
push ecx
push 0x567558
mov ecx, ebp
call fcn.00471902
cmp eax, 0xffffffff
je 0x4712fb
push 0xffffffffffffffff
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x26c]
push eax
call fcn.00460873
push eax
lea ecx, [esp + 0x250]
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x26c]
call fcn.004510f8
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x4713cd
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4713be
lea edx, [esp + 0x40]
lea ecx, [esp + 0x24c]
call fcn.00465295
test al, al
je 0x4713b2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x24], eax
je 0x4713b2
xor eax, eax
push 0x206
push eax
mov word [esp + 0x284], ax
lea eax, [esp + 0x286]
push eax
call fcn.00507230
add esp, 0xc
push dword [esp + 0x24]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x47139e
push 0x104
lea eax, [esp + 0x280]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
call ebp
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x27c]
call fcn.00465295
test al, al
jne 0x4713c8
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x47132e
jmp 0x4713ca
mov bl, 1
push esi
call ebp
push 0
push 1
lea ecx, [esp + 0x254]
call fcn.004510f8
mov al, bl
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.005026a3
add esp, 0x484
ret 4
Function at 0x4772b6
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x531bab
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x78c], 0
je 0x477440
push ecx
lea ecx, [esp + 0x20]
call fcn.0047c827
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [esp + 0x2c]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
push 3
pop eax
mov word [esp + 0x1c], ax
lea esi, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov ecx, dword [ebp + 0x78c]
call fcn.004b91ce
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
push ecx
push str.WSAppInvoke
push eax
call fcn.004b9466
add esp, 0x14
test eax, eax
jns 0x477440
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x98], ebx
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
js 0x47742a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47742e
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x47742a
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59533c], ebx
je 0x477420
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00450dc2
lea edx, [esp + 0x5c]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.00480ea4
mov byte [esp + 0x98], 2
cmp dword [eax + 0x14], 0x10
jb 0x4773eb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___bstrDescription___s
push 3
push dword [0x59533c]
call fcn.00480226
add esp, 0x14
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.0044ea77
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.004510f8
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
or dword [esp + 0x98], 0xffffffff
test eax, eax
je 0x477440
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005026a3
add esp, 0x88
ret
Function at 0x4778a8
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x531c96
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x888]
lea eax, [esp + 0x5c]
push eax
call fcn.004708ef
mov edx, eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp dword [edx + 0x14], 8
jb 0x4778ff
mov edx, dword [edx]
mov ecx, dword [esi + 0x7f4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x5c]
xor ebp, ebp
push ebx
inc ebp
push ebp
call fcn.004510f8
mov ecx, dword [esi + 0x7dc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x774]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7e0]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
lea edi, [esi + 0xcb8]
mov ecx, edi
call fcn.004bd728
test eax, eax
je 0x477968
push ebp
push ebx
mov ecx, edi
call fcn.0049fca6
mov ecx, dword [esi + 0x7e4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7f0]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
push 0x7be
push dword [esi + 0x7c8]
lea ecx, [esi + 0x30]
call fcn.0049a5a0
push 0x561fce
lea ecx, [esp + 0x30]
call fcn.0044ea4a
push 0x561fcf
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], ebp
call fcn.0044ea4a
push str.downloader_error_pop
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0044ea4a
lea eax, [esp + 0x2c]
mov byte [esp + 0x80], 3
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0045eee0
mov ecx, eax
call fcn.0045f30e
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.0044ea77
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044ea77
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044ea77
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005026a3
add esp, 0x70
ret
Function at 0x47912b
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x531f94
call fcn.005078da
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
cmp dword [edi + 0x89c], ebx
jne 0x47915f
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x7f0]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x47917a
or dword [ebp - 4], 0xffffffff
push 0x7be
push dword [edi + 0x7c8]
lea ecx, [edi + 0x30]
call fcn.0049a5a0
xor eax, eax
call fcn.0050783f
ret
cmp byte [edi + 0x1430], 0
jne 0x479214
mov ecx, dword [edi + 0x888]
push ebx
call fcn.004687f2
test al, al
je 0x479214
mov ecx, dword [edi + 0x888]
push 1
call fcn.004687f2
test al, al
je 0x479214
mov ecx, dword [edi + 0x888]
push 2
call fcn.004687f2
test al, al
je 0x479214
cmp dword [0x59533c], 0
je 0x4791de
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeWnd_Install_success.
push 3
push dword [0x59533c]
call fcn.00480226
add esp, 0x10
mov eax, dword [edi + 0x888]
cmp byte [eax + 0x719], 0
jne 0x479201
add eax, 0x640
cmp dword [eax + 0x14], 8
jb 0x4791fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push 0x8066
mov ecx, edi
call fcn.0049f8ad
jmp 0x47915b
cmp dword [edi + 0x89c], ebx
jne 0x4792c6
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea esi, [edi + 0x8cc]
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x8e8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.0047c1cc
lea ecx, [edi + 0x8e8]
mov eax, dword [ecx]
push esi
mov dword [ecx + 4], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x20], esi
je 0x4792a3
cmp dword [0x59533c], 0
je 0x479291
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._WARN___d___WaeWnd_Install__retry_down_task__task_id__d_
push 2
push dword [0x59533c]
call fcn.00480226
add esp, 0x14
push dword [esi]
mov ecx, dword [edi + 0x888]
call fcn.004686cc
add esi, 4
jmp 0x479265
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0
je 0x4792c6
push dword [ebp - 0x24]
call fcn.0050269e
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
jmp 0x47913e
Function at 0x47bbd5
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x53267e
call fcn.005078a4
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f85d
lea ecx, [ebp - 0x2c]
call fcn.00481dd7
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47bc0b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450c0b
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510f8
push 1
push esi
push esi
push dword [ebp - 0x30]
push str.Open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x30]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.00450cd2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.004510f8
mov al, bl
call fcn.00507853
ret

Function at 0x47caf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x56a5f4
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.00506110
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x47cb5d
test esi, esi
je 0x47cb56
lea ecx, [esp + 0x28]
call fcn.0047d4b9
push eax
mov ecx, esi
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510f8
xor al, al
jmp 0x47cc7a
xor ebx, ebx
test ebp, ebp
je 0x47cb6c
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x47cb70
mov dword [esp + 0x1c], ebx
push 9
xor eax, eax
lea edi, [esp + 0x46]
pop ecx
mov word [esp + 0x40], ax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ebx
stosw word es:[edi], ax
call fcn.00450df1
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.005088c2
add esp, 0xc
push edi
call fcn.00508cd5
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.005088c2
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x47cc31
mov ebx, eax
push ebx
call fcn.004eb6b1
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.00508787
push ebx
mov edx, edi
xor ecx, ecx
call fcn.0047d263
add esp, 0x14
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eb6b1
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.0047d263
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d31
push esi
call fcn.0050335f
pop ecx
push edi
call fcn.0050335f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop ecx
push ebx
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push str._s_d_bytes_to__d_wide_chars
push eax
call fcn.00505fd9
add esp, 0x14
test esi, esi
je 0x47cc66
lea eax, [esp + 0x68]
push eax
call fcn.00450d9e
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d31
push edi
call fcn.005052b7
pop ecx
test ebp, ebp
je 0x47cc78
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
mov al, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005026a3
add esp, 0x12c
ret
Function at 0x47cc93
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x144]
mov ebp, edx
push 0x56a634
push dword [esp + 0x144]
mov esi, ecx
mov dword [esp + 0x2c], edi
mov bl, 1
call fcn.00506110
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x47cd00
test ebp, ebp
je 0x47ccf9
lea ecx, [esp + 0x28]
call fcn.0047d4b9
push eax
mov ecx, ebp
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510f8
xor al, al
jmp 0x47ce0a
test edi, edi
je 0x47cd0c
mov edx, dword [edi]
mov dword [esp + 0x18], edx
jmp 0x47cd11
and dword [esp + 0x18], 0
xor eax, eax
lea edi, [esp + 0x42]
push 9
mov word [esp + 0x44], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47cd94
cmp dword [esi + 0x14], 8
jb 0x47cd3a
mov edx, dword [esi]
jmp 0x47cd3c
mov edx, esi
push 0
xor ecx, ecx
call fcn.0047d15e
mov edi, eax
pop ecx
lea ecx, [edi + 1]
push ecx
call fcn.004eb6b1
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
mov dword [esp + 0x20], ebx
jb 0x47cd60
mov esi, dword [esi]
push edi
mov edx, esi
mov ecx, ebx
call fcn.0047d15e
mov esi, dword [esp + 0x18]
pop ecx
push esi
push 1
push edi
push ebx
call fcn.00504d0e
push dword [esp + 0x30]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0050335f
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x47cd98
mov esi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x74]
push str._d_wide_chars_to__s_d_bytes
push eax
call fcn.00505fd9
add esp, 0x14
test ebp, ebp
je 0x47cdcd
lea eax, [esp + 0x68]
push eax
call fcn.00450d9e
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.00450d31
test bl, bl
jne 0x47cdf3
test ebp, ebp
je 0x47cdf3
lea ecx, [esp + 0x28]
call fcn.0047d4b9
push eax
mov ecx, ebp
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510f8
push esi
call fcn.005052b7
mov eax, dword [esp + 0x28]
pop ecx
test eax, eax
je 0x47ce08
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov al, bl
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005026a3
add esp, 0x12c
ret
Function at 0x48006e
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x532b8b
call fcn.005078a4
mov esi, 0x596368
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [0x5963cc], ebx
je 0x4800d1
push ecx
call fcn.0047fcf2
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0047fa01
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4800ad
mov ecx, dword [ecx]
cmp dword [0x59637c], 0x10
mov eax, esi
push ecx
cmovae eax, dword [0x596368]
push eax
call fcn.0050abb0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea77
push ebx
push 1
mov ecx, 0x5963b0
call fcn.0044ea77
mov ecx, 0x596380
mov byte [ebp - 4], bl
call fcn.0047f7a8
push ebx
push 1
mov ecx, esi
call fcn.0044ea77
call fcn.00507853
ret

Function at 0x4800fb
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x532bb8
call fcn.00507871
cmp dword [0x5963c0], 0
jne 0x48011b
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.0050ab01
pop ecx
cmp dword [0x5963c8], 0
mov esi, 0x596368
jne 0x480135
push 0x5963b0
mov ecx, esi
call fcn.0045416b
xor ebx, ebx
mov dword [ebp - 0x18], 0x59638c
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x14], bl
call fcn.004805ea
push ebx
push ebx
push esi
push 0x47f8eb
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.005053a6
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x480173
lea eax, [ebp - 0x10]
mov ecx, 0x596380
push eax
call fcn.00480683
cmp byte [ebp - 0x14], 0
je 0x480184
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.0050783f
ret
Function at 0x480f7a
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x532d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
xor ebp, ebp
xor eax, eax
inc ebp
mov dword [esp + 0x230], ebp
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
push 0x206
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebx
push eax
mov dword [esp + 0x20], ebp
call fcn.00507230
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x2e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x481083
lea eax, [esp + 0x1c]
push eax
call fcn.00450d9e
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d31
mov esi, 0x56b618
push esi
call fcn.00450d9e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00453fca
cmp dword [esp + 0x248], ebx
je 0x481059
cmp dword [esp + 0x24c], 8
lea esi, [esp + 0x238]
cmovae esi, dword [esp + 0x238]
jmp 0x48105e
mov esi, 0x56b620
push esi
call fcn.00450d9e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00453fca
mov esi, 0x56b61c
push esi
call fcn.00450d9e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00453fca
cmp dword [edi + 0x14], 8
jb 0x48108d
mov eax, dword [edi]
jmp 0x48108f
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
push ebp
lea ecx, [esp + 0x240]
call fcn.004510f8
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005026a3
add esp, 0x220
ret
Function at 0x481311
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x532e1c
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], edi
push 0xc6
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push edi
push eax
call fcn.00507230
add esp, 0xc
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x1c], edi
call fcn.004812d2
test al, al
mov edx, 0x200
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
cmovne ecx, edx
push eax
push edi
or ecx, 0x20019
push ecx
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ebp, ebp
inc ebp
test eax, eax
jne 0x4813e4
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebp
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push 0x56b69c
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00450dc2
mov dword [esp + 0x148], edi
cmp dword [esp + 0x3c], 0
jne 0x481412
push 0x56b70c
lea ecx, [esp + 0x60]
call fcn.00450dc2
mov ebx, ebp
jmp 0x481423
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0044f85d
push 2
pop ebx
push eax
mov ecx, esi
call fcn.0045055e
or ebx, 4
test bl, 2
je 0x481441
push edi
push ebp
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffd
call fcn.004510f8
test bl, 1
je 0x481451
push edi
push ebp
lea ecx, [esp + 0x64]
call fcn.004510f8
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.004510f8
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005026a3
add esp, 0x138
ret
Function at 0x481fe3
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x533026
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
and dword [esp + 0x1c], 0
cmp dword [ecx + 0x14], 8
jb 0x482024
mov ecx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
mov ebp, eax
cmp dword [esp + 0x1c], edi
jle 0x482179
push dword [ebp + edi*4]
lea ecx, [esp + 0x28]
call fcn.00450dc2
and dword [esp + 0x78], 0
lea ecx, [esp + 0x3c]
push 0x56b8a8
call fcn.00450dc2
push 0x56b914
mov byte [esp + 0x7c], 1
call fcn.00450d9e
pop ecx
push eax
push 0
push 0x56b914
lea ecx, [esp + 0x30]
call fcn.00460990
mov esi, eax
cmp esi, 0xffffffff
je 0x4820df
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x54]
sub ecx, esi
dec ecx
push ecx
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00460873
push eax
lea ecx, [esp + 0x40]
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.004510f8
push esi
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00460873
push eax
lea ecx, [esp + 0x28]
call fcn.00460850
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.004510f8
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00466d60
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx]
je 0x48210a
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046509b
test al, al
je 0x48213a
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.00482d5e
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00466e3d
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x28]
lea eax, [esp + 0x3c]
cmp ecx, eax
je 0x48214f
push 0xffffffffffffffff
push 0
push eax
call fcn.00451020
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.004510f8
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
push 0
push 1
call fcn.004510f8
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x48203e
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005026a3
add esp, 0x68
ret