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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x411c49
xor ecx, ecx
jne 0x411c49
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x411c6a
mov eax, 0xd
jmp 0x411cc5
xor eax, eax
jne 0x411c51
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x411c7b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x414870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00414270
test eax, eax
jne 0x41488b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
call fcn.004157f0
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.004198d0
push 0x23
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00419820
push 0x23
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00419820
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push 0
call fcn.0041c100
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4170d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x139f
je 0x4170fa
cmp dword [ebp - 0x4c], 0x1792
je 0x4172d3
jmp 0x4172e0
mov ecx, dword [ebp - 0x48]
add ecx, 0x70
call fcn.0040e710
push 0
call fcn.0041e836
add esp, 4
push edx
push eax
lea ecx, [ebp - 0x10]
call fcn.00419c10
push 0xffffffffffffffff
push 0
push 0
push 0
push 8
push 4
push 0x7de
lea ecx, [ebp - 8]
call fcn.00419c30
push 0xffffffffffffffff
push 0
push 0
push 0xf
push 9
push 4
push 0x7de
lea ecx, [ebp - 0x20]
call fcn.00419c30
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00419df0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.00419e60
movzx eax, al
test eax, eax
je 0x4171e2
lea ecx, [ebp - 0x24]
call fcn.0040d870
lea ecx, [ebp - 0x18]
call fcn.00419be0
add eax, 1
adc edx, 0
push edx
push eax
push 0x4366b8
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040bac0
add esp, 0xc
mov ecx, esp
lea edx, [ebp - 0x24]
push edx
call fcn.0040d890
lea eax, [ebp - 0x34]
push eax
call fcn.0041bd20
add esp, 8
mov ecx, dword [eax]
push ecx
push 0x436798
mov edx, dword [ebp - 0x48]
add edx, 0x70
push edx
call fcn.0040bac0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0040d8f0
lea ecx, [ebp - 0x24]
call fcn.0040d8f0
jmp 0x417299
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00419ee0
movzx edx, al
test edx, edx
je 0x41724a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00419ea0
movzx edx, al
test edx, edx
je 0x41724a
push ecx
mov ecx, esp
push 0x436818
call fcn.0040d8b0
lea eax, [ebp - 0x3c]
push eax
call fcn.0041bd20
add esp, 8
mov ecx, dword [eax]
push ecx
push 0x4368e0
mov edx, dword [ebp - 0x48]
add edx, 0x70
push edx
call fcn.0040bac0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0040d8f0
jmp 0x417299
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00419e60
movzx edx, al
test edx, edx
je 0x417299
push ecx
mov ecx, esp
push 0x436948
call fcn.0040d8b0
lea eax, [ebp - 0x44]
push eax
call fcn.0041bd20
add esp, 8
mov ecx, dword [eax]
push ecx
push str.http:__service.weibo.com_share_share.php_title_s
mov edx, dword [ebp - 0x48]
add edx, 0x70
push edx
call fcn.0040bac0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0040d8f0
mov ecx, dword [ebp - 0x48]
add ecx, 0x70
call fcn.0040ad60
movzx eax, al
test eax, eax
jne 0x4172d1
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0x417020
push 0
push 0
call fcn.0041e988
add esp, 0x18
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4172e0
push str.http:__bbs.360safe.com_thread_2508392_1_1.html
call fcn.0041b890
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4173b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x74
call fcn.0040b360
mov ecx, eax
call fcn.0041a630
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x436a98
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
add ecx, 0x2c
call fcn.00418920
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x74
call fcn.00418500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x417439
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41b5c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0041cf80
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [0x436ebe]
mov byte [ebp - 0x2008], al
push 0x1fff
push 0
lea ecx, [ebp - 0x2007]
push ecx
call fcn.0041ce70
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x200c], 0
je 0x41b620
cmp dword [ebp - 0x200c], 0x1fff
jbe 0x41b624
xor eax, eax
jmp 0x41b689
lea ecx, [ebp - 0x2008]
push ecx
mov edx, dword [ebp - 0x200c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41b687
lea ecx, [ebp - 0x2014]
push ecx
lea edx, [ebp - 0x2010]
push edx
push 0x436ec0
lea eax, [ebp - 0x2008]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41b687
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2010]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2010]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov eax, 1
jmp 0x41b689
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret
Function at 0x41b6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
mov ax, word [0x436ec4]
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.0041ce70
add esp, 0xc
mov dx, word [0x436ec8]
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0041ce70
add esp, 0xc
mov dword [ebp - 0x218], 0x208
mov dword [ebp - 0x214], 1
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x214]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
movzx ecx, word [ebp - 0x428]
test ecx, ecx
jne 0x41b777
push 0x104
lea edx, [ebp - 0x428]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41b777
push str.....
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
movzx ecx, word [ebp - 0x428]
test ecx, ecx
je 0x41b7d8
cmp dword [ebp + 0x10], 0
je 0x41b7ba
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041cfca
add esp, 4
test eax, eax
jbe 0x41b7ba
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x428]
push ecx
push str._s_s
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00419b90
add esp, 0x14
jmp 0x41b7ce
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c3b0
mov dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret
Function at 0x41b890
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x43aaf8
push 0x41df30
mov eax, dword fs:[0]
push eax
add esp, 0xfffff7bc
mov eax, dword [0x43e6dc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x820], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.0041ce70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.__s_
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.0041c400
add esp, 0x10
push 5
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.Explorer
push 0x436fa8
push 0
call fcn.0040d490
cmp eax, 0x20
jle 0x41b930
mov eax, 1
jmp 0x41babd
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x834]
push edx
push 0x437208
push 0x15
push 0
push 0x437218
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x41b98a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x850], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x850]
jmp 0x41babd
cmp dword [ebp - 0x834], 0
je 0x41ba7a
mov dword [ebp - 0x838], 0
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 0x94]
call ecx
cmp dword [ebp - 0x838], 0
je 0x41b9e4
mov edx, dword [ebp - 0x838]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041cfca
add esp, 4
test eax, eax
jbe 0x41ba66
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x840], eax
xor eax, eax
mov word [ebp - 0x830], ax
mov ecx, 8
mov word [ebp - 0x848], cx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x848]
push eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 0xd0]
call ecx
mov dword [ebp - 0x84c], eax
mov edx, dword [ebp - 0x840]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x834]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41bab8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret
Function at 0x41bae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 4
mov dword [ebp - 4], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x436fac
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xc], 0
je 0x41bb27
mov eax, 1
jmp 0x41bb29
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41c100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x418], ax
push 0x40e
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.0041ce70
add esp, 0xc
push str.safemon360xpfixtray.exe
push 0x208
lea edx, [ebp - 0x418]
push edx
call fcn.0041b6a0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c17a
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0041c0a0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret

Function at 0x41c490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret 4

Function at 0x41c8e3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x441228], 0
push esi
jne 0x41c856
call fcn.0041c77c
test eax, eax
je 0x41c899
mov eax, dword [0x441228]
cmp eax, 1
jne 0x41c877
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41c899
pop esi
ret
push eax
call dword [0x441230]
test eax, eax
jne 0x41c8e1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41c89d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x441228]
call dword [0x441230]
mov edi, eax
test edi, edi
je 0x41c8c2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41c8de
mov edi, esi
add esi, 0xff0
push edi
push dword [0x441228]
call dword [0x44122c]
add edi, 0x10
cmp edi, esi
jb 0x41c8ca
mov eax, edi
pop edi
pop esi
ret
jmp 0x41c843

Function at 0x41ce01
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e6dc]
jne 0x41ce0b
repz ret
jmp fcn.00421417
Function at 0x42d69b
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.00425878
and dword [ebp - 4], 0
cmp dword [0x441dec], 0
mov ebx, eax
jne 0x42d74c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42d7fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42d7fd
push eax
call fcn.00425806
mov dword [esp], 0x4386a8
push edi
mov dword [0x441dec], eax
call esi
push eax
call fcn.00425806
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x441df0], eax
call esi
push eax
call fcn.00425806
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x441df4], eax
call esi
push eax
call fcn.00425806
pop ecx
mov dword [0x441dfc], eax
test eax, eax
je 0x42d74c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00425806
pop ecx
mov dword [0x441df8], eax
mov eax, dword [0x441df8]
cmp eax, ebx
je 0x42d7a4
cmp dword [0x441dfc], ebx
je 0x42d7a4
push eax
call fcn.00425881
push dword [0x441dfc]
mov esi, eax
call fcn.00425881
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42d7a4
test edi, edi
je 0x42d7a4
call esi
test eax, eax
je 0x42d79b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42d79b
test byte [ebp - 0xc], 1
jne 0x42d7a4
or dword [ebp + 0x10], 0x200000
jmp 0x42d7dd
mov eax, dword [0x441df0]
cmp eax, ebx
je 0x42d7dd
push eax
call fcn.00425881
pop ecx
test eax, eax
je 0x42d7dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42d7dd
mov eax, dword [0x441df4]
cmp eax, ebx
je 0x42d7dd
push eax
call fcn.00425881
pop ecx
test eax, eax
je 0x42d7dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x441dec]
call fcn.00425881
pop ecx
test eax, eax
je 0x42d7fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42d7ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x52908a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x62b158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0061bf14
xor ebp, ebp
mov dword [esi], 0xa838ec
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0xa826c4
call fcn.00515190
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.006193ec
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00515190
mov dword [ebx], 0xa83274
mov dword [edi], 0xa83804
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0xa82850
lea ecx, [esi + 0xb0]
call fcn.00515190
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0xa838e0
mov byte [esp + 0x38], 5
mov dword [esi], 0xa8380c
mov dword [esi + 0xac], ebp
call fcn.0062584b
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [0x635714]
push eax
mov ecx, edi
call fcn.006219e1
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [0x635198]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x529220
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x62b1e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xa8380c
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0xa82914
mov byte [esp + 0x18], 4
call fcn.00621a38
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xa826b8
call fcn.00515390
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0xa82914
mov byte [esp + 0x18], 5
call fcn.00621a38
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xa826b8
call fcn.00515390
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0061941f
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xa826b8
call fcn.00515390
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0062377e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x53bd50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb2aca0]
xor edx, edx
cmp eax, edx
jne 0x53bd76
xor eax, eax
mov byte [eax + 0xb2aba0], al
inc eax
cmp eax, 0x100
jl 0x53bd5e
mov dword [0xb2aca0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb2aba0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x53be07
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x53bdda
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x53bda8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x53be80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x53bed3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x53beba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x540751
cmp eax, 8
jg 0x540751
cmp dword [esp + 0x8c], 2
jl 0x540751
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x540751
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x540751
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5405b7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x54073a
mov ebp, dword [0x63574c]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x5405e9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x540721
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x540609
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x635738]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x540648
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x635740]
lea ecx, [esp + 0x28]
push ecx
call dword [0x635784]
test eax, eax
jne 0x540708
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0053fb40
cmp eax, 1
jne 0x540732
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005403f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x5405fd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x54073a
jmp 0x5405d4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0053f710
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c