joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e90
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40f814
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.NxMailProcessFileMap
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x403ee8
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
je 0x403ed4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0x14]
push eax
push 0x412888
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], 0
je 0x403fe7
lea ecx, [ecx]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
push esi
call fcn.00404970
mov ecx, ebx
mov edi, eax
call fcn.00404a10
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
mov dword [eax], edi
push 0x412888
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x403f70
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4041a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40fc13
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0xc], 0
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareNeteaseFlashMail
mov byte [esp + 0x30], 2
push 0x80000001
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40421f
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], esi
jmp 0x40422c
lea esi, [esp + 0xc]
call fcn.00403130
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetAppPath_void_]
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x10]
push edx
push str.AppPath
push str.SoftwareNeteaseFlashMail
push 0x80000001
call dword [sym.imp.Device.dll_int___cdecl_Register::QueryKeyStringValue_struct_HKEY_____wchar_t_const___wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
add esp, 0x10
test eax, eax
je 0x40428d
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x4042aa
lea ecx, [esp + 8]
push ecx
push str.AppPath
push str.SoftwareNeteaseFlashMail
push 0x80000001
call dword [sym.imp.Device.dll_int___cdecl_Register::WriteKeyStringValue_struct_HKEY_____wchar_t_const___wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 0x10
test esi, esi
je 0x4042b5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4042e0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40f284
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x412994
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0xc]
mov esi, dword [eax - 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x14], eax
cmp eax, dword [ecx - 0xc]
jl 0x4043f8
lea edx, [esp + 0x14]
push edx
push 0x41299c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
je 0x4043f8
push str.01BC79AF_FA1C_1A03_A147_D34123F947AB
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
jne 0x4043f8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x404b90
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x40f15c
mov eax, dword fs:[0]
push eax
mov eax, 0x12a4
call fcn.0040ef30
mov eax, dword [0x41b08c]
xor eax, esp
mov dword [esp + 0x12a0], eax
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0x12a8]
mov dword fs:[0], eax
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0x12
push 0x412c24
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.App:_Init_Winnet_Lib...
push 1
push 2
push eax
mov dword [esp + 0x12c0], 0
call dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x40]
mov dword [esp + 0x12b0], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
push 0x1fe
lea edx, [esp + 0xaa]
push 0
push edx
mov word [esp + 0xb0], 0
call sub.MSVCR80.dll_memset
push 0xffe
lea eax, [esp + 0x2b6]
push 0
push eax
mov word [esp + 0x2bc], 0
call sub.MSVCR80.dll_memset
push 0x38
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esp + 0x28], 0x3c
call sub.MSVCR80.dll_memset
add esp, 0x24
lea ecx, [esp + 4]
push ecx
push 0
push 0
lea edx, [esp + 0xb0]
lea eax, [esp + 0x2b0]
push str.http:__www.163.com
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], 0x824
mov dword [esp + 0x40], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, 1
mov ecx, dword [esp + 0x12a8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x12a0]
xor ecx, esp
call fcn.0040e898
add esp, 0x12b0
ret

Function at 0x40c090
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c0c9
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x40c0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c13e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40c10f
cmp eax, 2
jne 0x40c12a
test esi, esi
mov eax, dword [esp]
je 0x40c138
test eax, eax
je 0x40c133
test al, 1
jne 0x40c12a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40c138
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x4a071504
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x7ec6d5d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x402bc3
jmp 0x402c14
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x200
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00416f10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x402df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x402e0a
mov eax, dword [ebp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x402e2f
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42601c
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.004100f4
add esp, 0xc
pop ebp
ret

Function at 0x403080
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x428044]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00413990
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4030c8
cmp dword [ebp + 0xc], 0
jne 0x4030d2
jmp 0x4031ba
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x403145
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x4030f7
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
je 0x403145
push 0x426024
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0041064b
add esp, 0xc
jmp 0x403188
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004100f4
add esp, 0xc
push 0x426048
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 4]
push eax
call fcn.0041064b
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4031b0
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00410ceb
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004109d2
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004100e5
mov esp, ebp
pop ebp
ret
Function at 0x4100e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428044]
jne 0x4100ef
repz ret
jmp fcn.00411dd9

Function at 0x41ada1
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.0041213b
and dword [ebp - 4], 0
cmp dword [0x429f30], 0
mov ebx, eax
jne 0x41ae52
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41af03
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41af03
push eax
call fcn.004120c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429f30], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429f34], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429f38], eax
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f40], eax
test eax, eax
je 0x41ae52
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f3c], eax
mov eax, dword [0x429f3c]
cmp eax, ebx
je 0x41aeaa
cmp dword [0x429f40], ebx
je 0x41aeaa
push eax
call fcn.00412144
push dword [0x429f40]
mov esi, eax
call fcn.00412144
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41aeaa
test edi, edi
je 0x41aeaa
call esi
test eax, eax
je 0x41aea1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41aea1
test byte [ebp - 0xc], 1
jne 0x41aeaa
or dword [ebp + 0x10], 0x200000
jmp 0x41aee3
mov eax, dword [0x429f34]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41aee3
mov eax, dword [0x429f38]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429f30]
call fcn.00412144
pop ecx
test eax, eax
je 0x41af03
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41af05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x779b4e2c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x66cc1946
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x404050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x40605c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x404096
mov ecx, dword [ebp - 4]
add ecx, 5
push ecx
push 0
mov edx, dword [0x4064e8]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x4040b7
mov edx, dword [ebp - 4]
add edx, 5
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x4064e8]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00404620
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x404140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x40605c], 0xffffffff
jne 0x40416a
jmp loc.00408000
mov ecx, dword [0x40605c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x404198
call fcn.00404580
mov edx, dword [0x40605c]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 0x4041a0
call fcn.00404811
pop ebp
ret

Function at 0x404260
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x40605c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x404430
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40605c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x404454
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, 4
cmp dword [ebp - 8], eax
jl 0x4044a1
mov ecx, dword [ebp - 8]
add ecx, 0x4000
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x4064e8]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x404500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x40605c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x40453e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x40453e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x404540
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10003db0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], 0x10003ed0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], str.SsvEQXOhWhUDKpXEXJshIdJrY
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x12c
push 0x190
push 0x80000000
push 0x80000000
push 0xcf0000
push str.S3ck_s2ck_s1ck_or_l1ck_l1ck_l3ck
mov eax, dword [ebp - 0x30]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003e3d
xor eax, eax
jmp 0x10003ebe
mov dword [ebp - 8], 1
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x26f
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.10018110
add esp, 0xc
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
call fcn.10018130
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x10003eb3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x10003e89
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001ad50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c2ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
call fcn.1001c4f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.1001c7f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10002f70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x35], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x36
call fcn.10002f70
mov ecx, dword [ebp - 0x10]
add ecx, 0x37
call fcn.1001c710
mov byte [ebp - 4], 3
push 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
lea ecx, [ebp - 0x18]
call fcn.1001c540
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
call fcn.1001eae0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1001d390
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.1001efb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10086f02
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10086f41
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10086f41
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10086f41
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10086f41
cmp dword [ecx + 0x74], 0xe
jbe 0x10086f41
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret