joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ca10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x462260]
push ebx
push esi
push edi
mov dword [esp + 0x54c], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x138], si
mov ecx, 0x81
lea edi, [esp + 0x13a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x348], si
mov esi, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x34a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push str._sPhraseInfo.ini
lea edx, [esp + 0x350]
push 0x104
push edx
stosw word es:[edi], ax
call esi
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x32], ecx
mov dword [esp + 0x36], ecx
mov dword [esp + 0x3a], ecx
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x42], ecx
mov dword [esp + 0x46], ecx
mov dword [esp + 0x4a], ecx
xor eax, eax
mov word [esp + 0x4e], cx
mov word [esp + 0x50], ax
mov word [esp + 0x30], ax
mov ecx, 0x3f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
add esp, 0x18
push edx
lea ecx, [esp + 0x18]
mov bl, 1
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
movzx eax, bl
push eax
push str.Phrase_d
lea ecx, [esp + 0x20]
push 0x10
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x340]
push edx
push 0x80
lea eax, [esp + 0x40]
push eax
push 0x44b244
lea ecx, [esp + 0x28]
push ecx
push str.ServerChatShort
call edi
cmp word [esp + 0x38], 0
je 0x42cbc9
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x55c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x10]
je 0x42cbf8
inc bl
mov byte [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp word [esp + 0x38], 0
je 0x42cbc9
cmp bl, 0x10
jb 0x42cb20
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54c]
call fcn.00444429
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, bl
jmp 0x42cbd5
Function at 0x42eda0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x448359
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3adc]
lea ebp, [esi + 0x3adc]
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
mov dword [esp + 8], eax
call dword [edx + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc8]
shr eax, 4
test al, 1
je 0x42ee22
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
cmp ax, 0x64
jb 0x42ee22
mov eax, dword [esp + 0x28]
pop esi
mov word [eax + 8], 0
mov word [eax + 0xa], 0x64
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [ebp]
push ebx
xor esi, esi
push edi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
test ax, ax
mov edi, dword [esp + 0x30]
jbe 0x42ef37
nop
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
movzx ecx, ax
movzx eax, word [edi + 6]
movzx edx, si
add eax, edx
cdq
idiv ecx
cmp word [esp + 0x18], dx
mov word [edi + 8], dx
je 0x42ef1d
mov eax, dword [ebp]
push edx
mov ecx, ebp
call dword [eax + 0x40]
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
cmp al, 1
je 0x42ef1d
cmp byte [edi + 4], 1
jne 0x42ee95
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp al, 1
je 0x42ef1d
mov edx, dword [esi]
lea ebx, [edi + 0xa]
push ebx
mov ecx, esi
call dword [edx + 8]
mov esi, eax
test si, si
jbe 0x42ef1d
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
xor ecx, ecx
mov cx, word [ebx]
xor edx, edx
mov dx, word [edi + 8]
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x30], 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.0042c1c0
test al, al
je 0x42ef0b
cmp byte [edi], 1
jne 0x42eee5
cmp si, 1
je 0x42ef59
cmp byte [edi + 1], 1
jne 0x42eef1
cmp si, 2
je 0x42ef59
cmp byte [edi + 3], 1
jne 0x42eefe
cmp si, word [esp + 0x10]
jb 0x42ef59
cmp byte [edi + 2], 1
jne 0x42ef0b
cmp si, word [esp + 0x10]
je 0x42ef59
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
inc esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
cmp si, ax
jb 0x42ee40
mov eax, 0xffff
mov word [edi + 8], ax
mov word [edi + 0xa], ax
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x435bb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x462260]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x40
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x44b244
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x435c73
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00435b40
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00435b40
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00435b40
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00435b40
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00444429
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00444429
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x435c90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x462260]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push 0x40
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x44b244
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x435d2f
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00435b40
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00435b40
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00444429
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00444429
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435d50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x462260]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x44b244
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x435e05
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.00435b40
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00435b40
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.00435b40
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00444429
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00444429
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ec80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448fbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC71U.DLL_CWnd::CWnd
xor ebx, ebx
mov dword [esi], 0x456548
mov dword [esp + 0x60], ebx
mov dword [esi + 0x94], 0x456540
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
push ebx
push ebx
mov eax, 0xffff
push ebx
mov word [esi + 0x56], ax
mov word [esi + 0x58], ax
mov word [esi + 0x5a], ax
push ebx
lea eax, [esi + 0x80]
push eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x90], ebx
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [0x4683dc], ebx
jne 0x43ed0d
mov dword [0x4683dc], esi
lea ecx, [esp + 0x28]
call fcn.00406b50
mov byte [esp + 0x60], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x2000
push ebx
push ebx
push ebx
push 0xbb
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.004042e0
mov ecx, dword [esp + 0x34]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x38]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
mov edx, dword [esi + 0x7c]
mov edi, eax
lea eax, [edx + edx - 1]
push eax
push 2
lea ecx, [esp + 0x30]
call fcn.0043e770
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.SkinControl.dll_public:_struct_COLORHSB___thiscall_CSkinRenderManager::RGBToHSB_unsigned_long_int_]
mov ecx, dword [eax]
lea edx, [esi + 0x60]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x28]
mov dword [edx + 0x14], eax
call fcn.004073c0
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x440350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esi + 0x10], 0x456708
mov dword [esi], 0x456804
mov dword [esi + 0x10], 0x4567c0
mov dword [esi + 0x18], 0x456758
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x20]
mov byte [esp + 0x38], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x38], 3
call fcn.0043f8a0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push fcn.0043f710
push fcn.0043f680
push 0xa
lea eax, [esi + 0x4c]
push 0x74
push eax
mov byte [esp + 0x4c], 4
call fcn.0044463b
lea ebp, [esi + 0x4d4]
mov ecx, ebp
mov byte [esp + 0x38], 5
call fcn.0043f840
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
lea eax, [esi + 0x4e4]
push eax
mov dword [esi + 0x4e0], 0x456754
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x68]
push ecx
lea eax, [esi + 0x4c]
push eax
mov byte [esp + 0x40], 7
mov byte [esi + 0x14], bl
mov dword [esi + 0x48], ebx
call fcn.0043f330
add esp, 8
push str.Main
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x14]
push edx
mov ecx, edi
mov byte [esp + 0x3c], 8
call fcn.004401c0
lea ecx, [esp + 0x14]
mov dword [eax], ebx
mov byte [esp + 0x38], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esi + 0x510], ebx
mov dword [esi + 0x514], ebx
mov ecx, dword [esp + 0x30]
pop edi
mov dword [esi + 0x518], ebx
mov dword [esi + 0x51c], ebx
mov dword [esi + 0x500], ebx
mov dword [esi + 0x504], ebx
mov dword [esi + 0x508], ebx
mov dword [esi + 0x50c], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4406c0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x440720
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
xor ecx, ecx
mov edx, eax
and edx, ecx
add esp, 0x18
cmp edx, 0xffffffff
je 0x4406fe
cmp eax, 1
jne 0x4406ee
test ecx, ecx
je 0x4406fe
mov edx, eax
or edx, ecx
je 0x4406fe
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov al, 1
pop esi
ret
push 5
push str.log4z:_create_log4z_thread_error___r_n
call fcn.00440740
add esp, 8
xor al, al
pop esi
ret
Function at 0x4441e2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x456c60
call fcn.004447c0
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x444222
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x444222
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44423a
cmp eax, 0x20b
je 0x444227
mov dword [ebp - 0x1c], edi
jmp 0x44424e
cmp dword [ecx + 0x84], 0xe
jbe 0x444222
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x444248
cmp dword [ecx + 0x74], 0xe
jbe 0x444222
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x468990], 0xffffffff
or dword [0x468994], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x468918]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x468914]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x46898c], eax
call fcn.00444818
call fcn.004448b8
cmp dword [0x462290], edi
jne 0x4442ae
push fcn.004448b8
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004448a6
push 0x462088
push 0x462084
call sub.MSVCR71.dll__initterm
push 0x44485c
call fcn.00444466
mov eax, dword [0x468910]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x46890c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x444302
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x462080
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x44432c
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4443e6
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x44439b
cmp ax, di
je 0x444342
cmp dword [ebp - 0x20], edi
jne 0x44439b
mov ax, word [esi]
cmp ax, di
je 0x444357
cmp ax, 0x20
ja 0x444357
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x444342
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x444373
movzx eax, word [ebp - 0x54]
jmp 0x444376
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.00444b0e
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x444393
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4443e0
cmp ax, 0x22
jne 0x4443ac
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x44432c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004447fb
ret
Function at 0x10001050
Capabilities:
Encode data using xor
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1001500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x3000
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov ebx, eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
je 0x10001145
cmp edi, 0x40
jb 0x10001130
movaps xmm2, xmmword [0x10012f50]
mov ecx, edi
movaps xmm3, xmmword [str.QQQQQQQQQQQQQQQQ]
and ecx, 0x3f
mov edx, edi
sub edx, ecx
lea ecx, [ebx + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [ecx - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x30]
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jb 0x100010e0
cmp eax, edi
jae 0x10001145
mov cl, byte [eax + ebx]
xor cl, 0xca
sub cl, 0x51
mov byte [eax + ebx], cl
inc eax
cmp eax, edi
jb 0x10001134
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100015ce
mov esp, ebp
pop ebp
ret
Function at 0x10004888
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10007b44
push ebx
push esi
call fcn.10007a70
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10007a04
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007af1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007b43
push edi
push eax
call fcn.100089f5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007b11
call fcn.10005d5e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007b42
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10007a04
add esp, 0x20
test eax, eax
jne 0x10007b30
push edi
call fcn.10005d5e
jmp 0x10007b38
push ebx
call fcn.10005d5e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007d44
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000fb10
push 0x1000fb08
push str.FlsAlloc
push 0x1f
call fcn.10007c60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007d78
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
jmp 0x10007d7e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007dc2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000fb20
push 0x1000fb18
push str.FlsGetValue
push 0x21
call fcn.10007c60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007df9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007e01
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000fb28
push 0x1000fb20
push str.FlsSetValue
push 0x22
call fcn.10007c60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007e3b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4012c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403fa4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403fa0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401196
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403fa0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403fa8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40138f
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401376
mov eax, dword [0x403fa4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10