joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c5a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034230
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.100043c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
xor edi, edi
sub esi, ecx
xor edx, edx
inc esi
shr esi, 1
cmp ecx, eax
cmova esi, edi
test esi, esi
je 0x1000c631
lea eax, [edx + 0x2f]
cmp word [ecx], 0x5c
jne 0x1000c629
mov word [ecx], ax
inc edx
add ecx, 2
cmp edx, esi
jne 0x1000c620
push 1
push 0x100414bc
lea ecx, [ebp - 0x28]
call fcn.10005170
mov edx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp edx, 8
cmovae esi, edi
nop
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edx, 8
cmovae ecx, edi
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x1000c6ee
cmp word [esi], 0x2f
jne 0x1000c6e6
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp edx, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmovae eax, edi
lea ecx, [ebp - 0x40]
push esi
push eax
call fcn.1000d750
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1001eb0e
add esp, 8
cmp eax, 0xffffffff
jne 0x1000c6c7
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10019443
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x1000c6e0
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100042e0
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
add esi, 2
jmp 0x1000c650
cmp edx, 8
jb 0x1000c700
lea eax, [edx + 1]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.100042e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
Function at 0x1000c720
Capabilities:
Check if file exists
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034276
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100167e0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x1000c79f
xor ecx, ecx
jmp 0x1000c7bf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c7b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.10003de0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
cmp ecx, 1
jbe 0x1000c812
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1000c812
push 1
push 0x100421d4
lea ecx, [ebp - 0x238]
call fcn.10005170
push 0x17
push 0x100421d8
lea ecx, [ebp - 0x238]
call fcn.10005170
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x238]
push eax
call esi
test eax, eax
jne 0x1000c8ed
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
mov dword [ebp - 0x23c], 7
cmovae edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
cmp word [edx], ax
jne 0x1000c898
xor ecx, ecx
jmp 0x1000c8af
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c8a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x250]
call fcn.10003de0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.1000c5a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x1000c8ed
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.100042e0
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x238]
cmp word [edx], 0
jne 0x1000c90b
xor ecx, ecx
jmp 0x1000c91f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c910
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x1004a260
call fcn.10003de0
push str.c:_sunlogin_debug
mov dword [0x1004a290], 0
call esi
test eax, eax
jne 0x1000c955
push str.c:_sunlogin.debug
call esi
mov dword [0x1004a294], 7
test eax, eax
je 0x1000c95f
mov dword [0x1004a294], 0xff
push str.c:_sunlogin_debug_rt
call esi
movzx ecx, byte [0x1004a302]
test eax, eax
mov eax, dword [ebp - 0x224]
mov edx, 1
cmovne ecx, edx
mov byte [0x1004a302], cl
cmp eax, 8
jb 0x1000c99b
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.100042e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
Function at 0x1000c9c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x22c
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], ecx
push 0
push eax
call fcn.100167e0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000ca47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._DDALoader__CreateToolhelp32Snapshot_failed__LastError_d
push 0x7c
push str.GetDwmPid
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x1000ca7d
push str._DDALoader__Couldnt_load_kernel32.dll_r_n
push 0x83
push str.GetDwmPid
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x18
jmp 0x1000cacd
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000cac6
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
lea eax, [ebp - 0x214]
push str.dwm.exe
push eax
call fcn.10019812
add esp, 8
test eax, eax
je 0x1000cae7
lea eax, [ebp - 0x238]
push eax
push esi
call edi
test eax, eax
jne 0x1000caa0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x230]
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001347d
mov esp, ebp
pop ebp
ret
Function at 0x1000ccd0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call fcn.1000c9c0
test al, al
jne 0x1000cd43
push str._DDALoader__Couldnt_find_dwm.exe_r_n
push 0xc7
push str.OpenProcessDwm
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000cd9b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1000cd92
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x400
mov ecx, eax
call fcn.10010fd0
add esp, 4
push dword [ebp - 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x1000cdf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._DDALoader___DDAInject__Failed_to_open_the_target_process__LastError_d
push 0xdd
push str.OpenProcessDwm
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x1c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
Function at 0x1000d0a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x18], eax
push esi
mov esi, edx
push edi
test eax, eax
je 0x1000d214
cmp byte [ebp + 8], 0
je 0x1000d201
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000d1de
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x74726956
push eax
push edi
mov dword [ebp - 0x10], 0x466c6175
mov dword [ebp - 0xc], 0x45656572
mov word [ebp - 8], 0x78
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1000d1a1
mov ecx, dword [esi + 0x10]
or ecx, dword [esi + 0x14]
je 0x1000d12a
push 0x8000
push 0
push dword [esi + 0x10]
push dword [ebp - 0x18]
call ebx
jmp 0x1000d14d
push str._DDALoader__pImageBase_null
push 0x157
push str.UnloadHookDll
push str...DwmHookDwmBlackScreendllmain.cpp
push 8
push 0x1004a248
call fcn.100026e0
add esp, 0x18
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x1000d166
push 0x8000
push 0
push dword [esi + 8]
push dword [ebp - 0x18]
call ebx
jmp 0x1000d189
push str._DDALoader__pRemoteLibraryBuffer_null
push 0x15b
push str.UnloadHookDll
push str...DwmHookDwmBlackScreendllmain.cpp
push 8
push 0x1004a248
call fcn.100026e0
add esp, 0x18
push str._DDALoader__Memory_freed
push 0x15d
push str.UnloadHookDll
push str...DwmHookDwmBlackScreendllmain.cpp
push 8
jmp 0x1000d1b7
push str._DDALoader__Couldnt_find_VirtualFreeEx
push 0x161
push str.UnloadHookDll
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
push str._DwmLoader__Couldnt_load_kernel32.dll
push 0x167
push str.UnloadHookDll
push str...DwmHookDwmBlackScreendllmain.cpp
push 2
push 0x1004a248
call fcn.100026e0
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001347d
mov esp, ebp
pop ebp
ret
Function at 0x1000d230
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1000c720
push ecx
push 0
push str.desktop.ddaprivacy
mov ecx, 0x1004a248
call fcn.10001fe0
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
cmp ecx, 0x18
jne 0x1000d295
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [esi + 0x10]
lea esi, [esp + 0x20]
movq qword [esp + 0x30], xmm0
lea eax, [esi + 0x1a]
push eax
push 0x18
push ecx
push str._DDAPrivacy__dwm_thunk_entry_nUserdataLen__d_sizeof_DwmInjectData___d_path__ls
push 0x17f
push 0x10042678
push str...DwmHookDwmBlackScreendllmain.cpp
push 1
push 0x1004a248
call fcn.100026e0
add esp, 0x24
mov dword [esp + 0x1c], 7
xor eax, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 8]
mov word [esp + 8], ax
push 0x10
push str.sunlogin_dda_mtx
call fcn.10003de0
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000d364
push str._DDAPrivacy__Dwm_has_been_hooked_before__exit
push 0x185
push 0x10042678
push str...DwmHookDwmBlackScreendllmain.cpp
push 1
push 0x1004a248
call fcn.100026e0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
cmp eax, 8
jb 0x1000d350
inc eax
lea ecx, [esp + 8]
push eax
push dword [esp + 0xc]
call fcn.100042e0
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
push esi
call fcn.10008560
test al, al
jne 0x1000d3a4
test edi, edi
je 0x1000d379
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
cmp eax, 8
jb 0x1000d391
inc eax
lea ecx, [esp + 8]
push eax
push dword [esp + 0xc]
call fcn.100042e0
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
call fcn.10008920
push str._DDAPrivacy__run_loop_stopped
push 0x196
push 0x10042678
push str...DwmHookDwmBlackScreendllmain.cpp
push 8
push 0x1004a248
call fcn.100026e0
add esp, 0x18
call fcn.100088c0
test edi, edi
je 0x1000d3dc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
call fcn.10012200
int3
Function at 0x10010220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100341c6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001348e
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10012664
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10028908
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10028787

Function at 0x1002c0d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002bd91
Function at 0x41e41e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c250
push 0x42c248
push str.FlsAlloc
push 0x1f
call fcn.0041e2ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e452
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281cc]
call esi
jmp 0x41e458
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e49c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c260
push 0x42c258
push str.FlsGetValue
push 0x21
call fcn.0041e2ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e4d3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41e4db
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c268
push 0x42c260
push str.FlsSetValue
push 0x22
call fcn.0041e2ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e515
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4281cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x436ff3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x437002
pop dword [ebp - 0x40]
mov eax, 0x7d6414e6
add eax, 0x82df5b1c
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x2b95a5f5
sub dword [ebp - 0x50], 0xdd4360aa
mov dword [ebp - 0x4c], 0xb3b4939c
sub dword [ebp - 0x4c], 0x81814757
mov dword [ebp - 0x48], 0xdf53a2c5
add dword [ebp - 0x48], 0x6cf8a169
mov dword [ebp - 0x44], 0x266e3179
add dword [ebp - 0x44], 0xd991ce87
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3982daa9
add dword [ebp - 0x50], 0x3aef8ead
mov dword [ebp - 0x4c], 0xbc2ec0d7
sub dword [ebp - 0x4c], 0x7ac25f62
mov dword [ebp - 0x48], 0x59610faf
add dword [ebp - 0x48], 0xa0e5cbd
mov dword [ebp - 0x44], 0x47371eab
add dword [ebp - 0x44], 0xb8c8e155
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x19051d1c
add eax, 0xe73ea5d4
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x43c27
push 0
call eax
mov ecx, 0xafe44410
add ecx, 0x501bfb5b
mov esi, eax
mov edi, 0xe91ec90
sub edi, 0xe4a9690
add edi, dword [ebp - 0x40]
mov ebx, 0xe5f7173d
xor dword [ebp - 0x28], esi
mov edx, dword [edi]
sub dword [ebp - 4], ebx
add edx, ebx
xor dword [ebp - 0x24], 0xd2168625
mov dword [esi], edx
xor dword [ebp - 0x20], 0xdc5e9a1
add esi, 0x6b339bdb
add esi, 0x94cc6429
add edi, 0x4af13db4
sub edi, 0x4af13db0
loop 0x437119
add eax, 0x9db7fbbd
add eax, 0x6248f4c2
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x102dbd20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
movzx ebx, word [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [ebp]
mov dword [esp + 8], ebp
cmp ebp, eax
jb 0x102dbd47
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
sub eax, ebp
push esi
mov esi, dword [esp + 0x24]
cmp esi, eax
cmova esi, eax
xor edx, edx
mov dword [esp + 0x24], esi
test esi, esi
je 0x102dbd97
push edi
mov edi, dword [esp + 0x24]
sub ebp, edi
movzx eax, byte [edi + ebp]
lea edi, [edi + 1]
mov edx, ebx
mov ecx, 0x58bf
shr edx, 8
xor edx, eax
add eax, ebx
imul eax, eax, 0x3193
mov byte [edi - 1], dl
sub ecx, eax
movzx ebx, cx
sub esi, 1
jne 0x102dbd64
mov esi, dword [esp + 0x28]
mov edx, esi
mov ebp, dword [esp + 0x10]
pop edi
mov eax, dword [esp + 0x18]
lea ecx, [esi + ebp]
pop esi
pop ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov word [eax], bx
mov eax, edx
pop ebx
add esp, 8
ret
Function at 0x102f2480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x10372b24]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1a8]
push ebx
push ebp
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [edx + 0x78]
shl ecx, 2
mov dword [esp + 8], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1b8]
push esi
push edi
shl ebp, 2
lea esi, [esp + 0x28]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x1bc]
shl eax, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ebp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
shl eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x74]
mov dword [esp + 0x40], eax
mov eax, ebp
sar eax, 8
mov dword [esp + 0x2c], ebp
mov ebp, dword [edx + 0x54]
shl edi, 2
shl ecx, 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], eax
cmp eax, ebp
jl 0x102f2536
mov eax, edi
sar eax, 8
cmp eax, ebp
jl 0x102f2536
mov eax, ecx
sar eax, 8
cmp eax, ebp
jl 0x102f2536
mov eax, ebx
sar eax, 8
cmp eax, ebp
jge 0x102f2554
mov eax, dword [edx + 0x50]
cmp dword [esp + 0x14], eax
jge 0x102f2580
sar edi, 8
cmp edi, eax
jge 0x102f2580
sar ecx, 8
cmp ecx, eax
jge 0x102f2580
sar ebx, 8
cmp ebx, eax
jge 0x102f2580
mov eax, dword [esp + 0x10]
mov dword [edx + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x78], eax
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101026a7
add esp, 0x1a4
ret
mov ebp, dword [esi + 0x18]
lea eax, [esi + 0x18]
sub ebp, dword [esi]
mov ebx, dword [esi + 0x1c]
sub ebx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, ebp
cdq
mov ecx, eax
mov dword [esp + 0x10], ebx
xor ecx, edx
mov eax, ebx
sub ecx, edx
cdq
mov edi, eax
xor edi, edx
sub edi, edx
cmp ecx, edi
jle 0x102f25b6
lea eax, [edi + edi*2]
sar eax, 3
add eax, ecx
jmp 0x102f25be
lea eax, [ecx + ecx*2]
sar eax, 3
add eax, edi
cmp eax, 0x7fff
jg 0x102f2671
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
imul edi, eax, 0x2a
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esp + 0x14], eax
imul eax, ebx
mov dword [esp + 0x1c], ecx
imul ecx, ebp
mov dword [esp + 0x18], edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jg 0x102f2671
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
sub edi, dword [esi]
sub ebx, dword [esi + 4]
mov eax, edi
imul eax, dword [esp + 0x10]
mov ecx, ebx
imul ecx, ebp
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x18]
jg 0x102f2671
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub eax, ebp
imul eax, dword [esp + 0x14]
sub ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, eax
test ecx, ecx
jg 0x102f2671
mov ecx, ebx
mov eax, edi
sub ecx, edx
sub eax, ebp
imul ecx, ebx
imul eax, edi
add ecx, eax
test ecx, ecx
jg 0x102f2671
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x28]
call fcn.102f2710
lea eax, [esp + 0x34]
add esp, 0xc
cmp esi, eax
je 0x102f2562
sub esi, 0x18
jmp 0x102f2580
push esi
call fcn.102f2d50
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x102f2580