joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fcb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45fcc7
add esp, 0xfffffff0
call fcn.00403584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419908
mov eax, dword [0x46b1b4]
cmp word [eax + 2], 0
jne 0x45fcef
mov eax, dword [0x46b1b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461430
mov eax, dword [0x46b278]
cmp word [eax + 2], 0
jne 0x45fd09
mov eax, dword [0x46b278]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461628
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a58]
call fcn.00403230
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a58]
call fcn.00403230
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41be84]
call fcn.004234ec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45fe90
mov eax, dword [0x46b0c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004238bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461bd8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b0c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c4b0
test eax, eax
je 0x45fdfe
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408654
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c4d8
test eax, eax
je 0x45fe12
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404220
mov eax, dword [0x46af88]
cmp byte [eax], 0
jne 0x45fe46
mov eax, ebx
call fcn.0045ffb8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00461db4
mov eax, ebx
call fcn.00462778
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fe86
call fcn.004035dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460238
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cbe4]
cmp dword [eax + 0x30], 0
je 0x4602e2
cmp dword [ebx + 0x94], 0
jne 0x4602dc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4601c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4602dc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4602a2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4602dc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413dc0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4602b1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460e44
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x460e79
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040a0
jmp 0x460e86
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404004
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461f90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461fd1
mov eax, esi
call fcn.00446a20
test al, al
je 0x461fd1
mov eax, dword [ebx + 0x84]
call fcn.0044671c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461fd1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044671c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4656e0
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x465790
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x465742
dec ecx
jne 0x465789
cmp eax, 4
jg 0x46571c
mov eax, dword [0x46af58]
jmp 0x465795
cmp eax, 5
jne 0x46572c
test edx, edx
jne 0x46572c
mov eax, dword [0x46af5c]
jmp 0x465795
cmp eax, 5
jne 0x46573b
dec edx
jne 0x46573b
mov eax, dword [0x46af60]
jmp 0x465795
mov eax, dword [0x46af44]
jmp 0x465795
cmp eax, 4
jne 0x465752
test edx, edx
jne 0x465752
mov eax, dword [0x46af48]
jmp 0x465795
cmp eax, 4
jne 0x465771
cmp edx, 0xa
jne 0x465771
cmp byte [esp + 0x15], 0x41
jne 0x46576a
mov eax, dword [0x46af50]
jmp 0x465795
mov eax, dword [0x46af4c]
jmp 0x465795
cmp eax, 4
jne 0x465782
cmp edx, 0x5a
jne 0x465782
mov eax, dword [0x46af54]
jmp 0x465795
mov eax, dword [0x46af44]
jmp 0x465795
mov eax, dword [0x46af44]
jmp 0x465795
mov eax, dword [0x46af44]
cmp eax, dword [0x46af44]
jne 0x4657ae
mov eax, ebx
mov edx, 0x465868
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af48]
jne 0x4657c7
mov eax, ebx
mov edx, 0x465888
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af4c]
jne 0x4657dd
mov eax, ebx
mov edx, 0x4658a8
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af50]
jne 0x4657f3
mov eax, ebx
mov edx, 0x4658c8
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af54]
jne 0x465809
mov eax, ebx
mov edx, 0x4658f4
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af58]
jne 0x46581f
mov eax, ebx
mov edx, 0x465924
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af5c]
jne 0x465835
mov eax, ebx
mov edx, 0x465944
call fcn.00404004
jmp 0x465857
cmp eax, dword [0x46af60]
jne 0x46584b
mov eax, ebx
mov edx, 0x465964
call fcn.00404004
jmp 0x465857
mov eax, ebx
mov edx, 0x465984
call fcn.00404004
add esp, 0x94
pop ebx
ret
Function at 0x465d20
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404460
mov eax, dword [ebp - 8]
call fcn.00404460
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x465df8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edi
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
mov eax, dword [0x46b258]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00404470
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x48]
mov ecx, 0x465e10
mov edx, dword [ebp - 8]
call fcn.004042bc
mov eax, dword [ebp - 0x48]
call fcn.00404470
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
xor eax, eax
mov dword [edi + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExA
push 0x1f4
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x46b258]
mov eax, dword [eax]
call fcn.00461184
cmp ebx, 0x102
je 0x465db1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465dff
lea eax, [ebp - 0x48]
call fcn.00403fb0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fd4
ret
Function at 0x468ab8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [0x46b3d4]
cmp dword [eax], 2
jne 0x468b1c
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x14]
push eax
push 0x468b2c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
push 0x41
push 2
call sub.user32.dll_ExitWindowsEx
mov esp, ebp
pop ebp
ret
Function at 0x402f50
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0xe541007
push cs
sub esi, 0xfffffffc
loop 0x402f53
push esi
inc edx
pop es
pop eax
fdivr st(1)
lea edi, [edx + 0x23]
in al, 0xa
pop ebp
pop esp
xchg ebx, eax
mov ch, 0xe
push esi
dec ecx
les ecx, [edi + 0xe547ec6]
pop es
stosd dword es:[edi], eax
mov eax, 0x65a383a1
push eax
sub al, 0x56
adc cl, byte [eax + 0x41]
inc edx
push cs
int1
into
cmpsd dword gs:[esi], dword es:[edi]
push eax
pop esp
dec edx
or eax, 0x3ecdc088
or al, 0x71
loopne 0x402f59
push ss
adc eax, 0x9167f194
mov bl, 0xa4
sub edi, dword [edi + 0x1b]
add byte [ecx + esi - 0x80], bl
out dx, eax
aaa
mov ch, 0x3b
ret 0xafca
Function at 0x593468a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x593468b1
pop dword [ebp - 0x24]
mov eax, 0x27856e04
add eax, 0x31aefaad
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xad95113e
add dword [ebp - 0x34], 0xa0bd340d
mov dword [ebp - 0x30], 0x43fac5f4
add dword [ebp - 0x30], 0xee388651
mov dword [ebp - 0x2c], 0x6562bf1
sub dword [ebp - 0x2c], 0xba09e7c3
mov dword [ebp - 0x28], 0x76b8fdb
sub dword [ebp - 0x28], 0x76b8fdb
lea eax, [ebp - 0x34]
push eax
mov eax, 0xbc60a2d
sub eax, 0xb293f9cd
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x9b1127c8
add dword [ebp - 0x34], 0xd961418e
mov dword [ebp - 0x30], 0x34c63b85
add dword [ebp - 0x30], 0xca625f0
mov dword [ebp - 0x2c], 0xd2a73491
sub dword [ebp - 0x2c], 0x6f37c825
mov dword [ebp - 0x28], 0x163004d0
add dword [ebp - 0x28], 0xe9cffb30
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x40f82
push 0
call eax
mov ecx, 0x4de31149
add ecx, 0xb21d4828
xor ebx, ebx
add ebx, eax
mov edi, 0x20b05a90
sub edi, 0xc7799a90
add edi, dword [ebp - 0x24]
mov edx, 0xc1ff0d24
sub edx, 0x58d4ed58
add dword [ebp - 0x20], 0x26faa226
mov esi, dword [edi]
mov dword [ebp - 0x20], 0x9928f75b
xor esi, edx
add dword [ebp - 4], 0xf638ffef
mov dword [ebx], esi
sub dword [ebp - 0x10], 0xb6e6ea80
add ebx, 0x1c4df695
sub ebx, 0x1c4df691
add edi, 0x92590594
sub edi, 0x92590590
loop 0x593469d0
add eax, 0xf1d52fe4
sub eax, 0xf1d3d74d
xor ebx, ebx
add ebx, eax
add eax, 0x98868c4
add eax, 0xf6779741
mov ecx, 0x59320000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x59352ada
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 0x59352af4
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 0x59352b20
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 0x59352b2b
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 0x5935a815
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.5935a7fe
and byte [esi + 0xc], 0
mov eax, 0x59320000
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 0x5935a86f
cmp dword [ebp - 0x18], 5
jb 0x5935a887
jmp 0x5935a883
cmp dword [ebp - 0xc], 1
jne 0x5935a887
cmp dword [ebp - 0x18], 4
ja 0x5935a883
jne 0x5935a887
cmp dword [ebp - 0x14], 0
jbe 0x5935a887
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x5935d0f0
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x50872f7f
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.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x50872f8a
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x508730ff
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.50872cde
cmp eax, esi
jne 0x50873177
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x50873140
lea eax, [ebp - 0x110]
push eax
call fcn.5087277d
cmp eax, esi
jne 0x50873176
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
call edi
test eax, eax
lea ecx, [ebp - 4]
je 0x50873130
call fcn.50872cc7
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 4]
mov esi, eax
call fcn.50872cc7
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x5087472e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.50874717
and byte [esi + 0xc], 0
mov eax, 0x50870000
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 0x50874788
cmp dword [ebp - 0x18], 5
jb 0x508747a0
jmp 0x5087479c
cmp dword [ebp - 0xc], 1
jne 0x508747a0
cmp dword [ebp - 0x18], 4
ja 0x5087479c
jne 0x508747a0
cmp dword [ebp - 0x14], 0
jbe 0x508747a0
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x50875050
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x406016
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406025
pop dword [ebp - 0xc]
mov eax, 0xe74b55b0
sub eax, 0xe70af58b
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xddf30af2
sub dword [ebp - 0x1c], 0x8fa0c5a7
mov dword [ebp - 0x18], 0xee01ff01
sub dword [ebp - 0x18], 0xbbceb2bc
mov dword [ebp - 0x14], 0xed50aa79
add dword [ebp - 0x14], 0x5efb99b5
mov dword [ebp - 0x10], 0xde330e84
sub dword [ebp - 0x10], 0xde330e84
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x76829ba7
add eax, 0x89bdd475
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xb4a25b07
add dword [ebp - 0x1c], 0xbfd00e4f
mov dword [ebp - 0x18], 0xb2756f81
add dword [ebp - 0x18], 0x8ef6f1f4
mov dword [ebp - 0x14], 0xbbf31cc4
add dword [ebp - 0x14], 0xa77c4fa8
mov dword [ebp - 0x10], 0xe6fd495a
add dword [ebp - 0x10], 0x1902b6a6
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x49d22ca5
add eax, 0xb66e437b
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38a48
push 0
call eax
mov ecx, 0x4b9f
xor edx, edx
add edx, eax
mov ebx, 0xa10996d9
add ebx, 0x5f373127
add ebx, dword [ebp - 0xc]
mov edi, 0xf67a579f
add edi, 0xebf49270
xor dword [ebp - 4], 0xa36c31fe
mov esi, dword [ebx]
sub dword [ebp - 8], edi
add esi, edi
sub dword [ebp - 4], edi
mov dword [edx], esi
xor dword [ebp - 8], 0xcf97b55
add edx, 4
add ebx, 0x7918c81f
add ebx, 0x86e737e5
loop 0x406143
add eax, 0x1214f
xor ebx, ebx
add ebx, eax
add eax, 0xaebd974
add eax, 0xf5142691
mov ecx, 0xd8199bb6
add ecx, 0x2826644a
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x404ed0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3bd2634a
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xb7c5051
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

Function at 0x402540
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x40374f]
call dword [sym.imp.pdh.dll_PdhCloseQuery]
mov eax, 2
add eax, 8
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x40256e
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x4019a5], eax
ret
Function at 0x25817901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x25817910
pop dword [ebp - 0x20]
mov eax, 0xb864a467
add eax, 0x6d1cd4a9
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x7012c9aa
sub dword [ebp - 0x30], 0x21c0845f
mov dword [ebp - 0x2c], 0x86abd18b
add dword [ebp - 0x2c], 0xab877aba
mov dword [ebp - 0x28], 0x96754742
sub dword [ebp - 0x28], 0x4a290314
mov dword [ebp - 0x24], 0x1356736f
add dword [ebp - 0x24], 0xeca98c91
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x4d2a7ec5
add dword [ebp - 0x30], 0x2747ea91
mov dword [ebp - 0x2c], 0x33cad190
add dword [ebp - 0x2c], 0xda18fe5
mov dword [ebp - 0x28], 0xea3daed8
add dword [ebp - 0x28], 0x7931bd94
mov dword [ebp - 0x24], 0x26310165
add dword [ebp - 0x24], 0xd9cefe9b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x22cdcba5
add eax, 0x2b404db
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b11e
push 0
call eax
mov ecx, 0xb68c7755
sub ecx, 0xb68c35ad
mov esi, eax
mov edi, 0x2493182f
sub edi, 0xff10822f
add edi, dword [ebp - 0x20]
mov ebx, 0x4a9555ef
sub dword [ebp - 4], edi
mov edx, dword [edi]
add dword [ebp - 4], 0xcfc72e2f
sub edx, ebx
xor dword [ebp - 0xc], ecx
mov dword [esi], edx
sub dword [ebp - 8], 0xd61a5e89
add esi, 4
add edi, 4
loop 0x25817a27
add eax, 0x9563930b
add eax, 0x6a9d6668
xor ebx, ebx
add ebx, eax
add eax, 0xdb10a0d
sub eax, 0xdb10a08
mov ecx, 0x694a9907
sub ecx, 0x43ca9907
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x43b65c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
inc edi
sub esi, 0xf0b503db
sub esi, 0x59a01d59
call fcn.0043b6a4
add esi, edi
add edi, 0xc54b78ef
sub edi, edi
xor dword [ebx], ecx
add esi, edi
or edi, esi
inc ebx
add edi, 0xeffdbaf6
add esi, 1
and edi, esi
cmp ebx, eax
jne fcn.0043b65c
add esi, edi
sub edi, edi
ret
Function at 0x4051b8
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x405344
Capabilities:
Create directory

Disassembly:
mov eax, 0x42575c
call fcn.00424810
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x405367
mov al, 1
jmp 0x4053ac
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405378
xor al, al
jmp 0x4053ac
lea ecx, [ebp - 0x44]
call fcn.0040566f
lea ecx, [ebp - 0x1c]
call fcn.004030bc
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004056a1
test al, al
je 0x4053a1
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004037ca
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4056a0
or eax, eax
ret
Function at 0x40e040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4260a2
call fcn.00424810
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004030bc
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040e09a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40e0ec
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4260ed
call fcn.00424810
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040ff58
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00401b9b
push dword [esi + 0x24]
call fcn.004037ca
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00401e19
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040e5fa
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d5a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
push esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExW]
push eax
mov dword [esp + 8], 0x114
call esi
lea ecx, [esp + 4]
push ecx
call esi
test eax, eax
pop esi
je 0x41d5d7
cmp dword [esp + 4], 6
jne 0x41d5d7
mov eax, dword [esp + 8]
test eax, eax
je 0x41d5f9
push str.SetDefaultDllDirectories
push 0x42884c
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41d5f9
push 0xc00
call eax
add esp, 0x114
ret