joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f90
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4370b2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push str.:__ZXs4Q
lea ecx, [esp + 0x10]
call dword [0x4436f0]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00405740
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::operator]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov ebx, dword [esp + 0xc]
mov ebp, dword [ebx - 0xc]
xor ecx, ecx
test edi, edi
jbe 0x405019
xor edx, edx
mov eax, ecx
div ebp
inc ecx
movsx dx, byte [edx + ebx]
xor word [esi + ecx*2 - 2], dx
cmp ecx, edi
jb 0x405004
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x405040
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4370b2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push str.:__ZXs4Q
lea ecx, [esp + 0x10]
call dword [0x4436f0]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00405740
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::operator]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov ebx, dword [esp + 0xc]
mov ebp, dword [ebx - 0xc]
xor ecx, ecx
test edi, edi
jbe 0x4050c6
xor edx, edx
mov eax, ecx
div ebp
inc ecx
mov dl, byte [edx + ebx]
xor byte [ecx + esi - 1], dl
cmp ecx, edi
jb 0x4050b4
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x406420
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43ab03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
push esi
mov dword [esp + 0x2c], 6
call fcn.00415430
lea ecx, [esi + 0x18]
call dword [0x44382c]
lea ecx, [esi + 0x1c]
call dword [0x44382c]
lea ecx, [esi + 0x20]
call dword [0x44382c]
lea ecx, [esi + 0x24]
call dword [0x44382c]
lea ecx, [esi + 0x28]
call dword [0x44382c]
lea ecx, [esi + 0x2c]
call dword [0x44382c]
lea ecx, [esi + 0x34]
call dword [0x44382c]
mov byte [esp + 0x28], 0xe
mov eax, dword [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [0x443834]
push ecx
mov byte [esp + 0x34], 0xf
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [0x443834]
push ecx
mov byte [esp + 0x38], 0x10
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [0x443834]
push ecx
mov byte [esp + 0x3c], 0x11
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [0x443834]
push ecx
mov byte [esp + 0x40], 0x12
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [0x443834]
push ecx
mov byte [esp + 0x44], 0x13
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x443834]
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x4c], 0x14
call dword [0x443834]
mov byte [esp + 0x48], 0xe
call fcn.004065b0
mov eax, dword [esp + 0x54]
push eax
call fcn.004036d0
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 0x28
Function at 0x409870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436fe5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov ecx, esi
mov dword [esp + 0x1c], 1
call dword [0x44382c]
push 0x444b98
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 1
call dword [0x443828]
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 8]
push 0
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
je 0x40990e
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x40991b
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x40f350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [sym.imp.mfc90u.dll_CFile::hFileNull]
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
cmp eax, dword [ecx]
jne 0x40f411
xor ebp, ebp
cmp dword [esi], ebp
je 0x40f391
mov edx, dword [esi + 0x60]
sub edx, dword [esi + 0x5c]
and edx, 0xfffffffc
cmp edx, 4
jne 0x40f391
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x5c]
sar eax, 2
test eax, eax
ja 0x40f391
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call fcn.004151e0
cmp eax, 1
je 0x40f3a9
call fcn.004151e0
cmp eax, 2
jne 0x40f4f6
mov edx, dword [esi + 0x78]
sub edx, dword [esi + 0x74]
lea edi, [esi + 0x68]
xor ebx, ebx
test edx, 0xfffffffc
jle 0x40f3d5
lea esp, [esp]
mov eax, edi
call fcn.0041c2b0
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jl 0x40f3c0
mov ecx, dword [esi + 0x60]
sub ecx, dword [esi + 0x5c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
test ecx, 0xfffffffc
jle 0x40f4f6
mov ebx, dword [esp + 0x10]
lea eax, [esi + 0x50]
xor ebp, ebp
call fcn.0041c2b0
mov edi, dword [eax]
lea eax, [esi + 0x68]
call fcn.0041c2b0
cmp dword [eax], ebp
jne 0x40f44c
mov dword [esp + 0x14], ebp
jmp 0x40f460
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x38]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x1c], 0
call eax
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esi + 0x14]
mov dword [esp + 0x28], eax
call fcn.00410650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x10]
lea eax, [esi + 0x68]
call fcn.0041c2b0
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edi, edi
mov ecx, dword [esi]
push 0x1c
lea eax, [esp + 0x2c]
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [esp + 0x38], 0x1000
mov ebx, eax
jne 0x40f4c2
cmp dword [esp + 0x3c], 0x100
jae 0x40f4c2
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, dword [esp + 0x34]
lea edx, [eax + ebp]
cmp edx, dword [esp + 0x14]
jbe 0x40f4a0
mov eax, dword [esp + 0x14]
sub eax, ebp
mov ecx, dword [esp + 0x18]
add ebp, eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
lea edx, [ecx + ebp]
push eax
lea edi, [esi + 0x14]
mov dword [esp + 0x24], edx
call fcn.00410650
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
lea edi, [edx + ecx]
cmp ebx, 0x1c
jne 0x40f4d8
cmp ebp, dword [esp + 0x14]
jb 0x40f460
mov ecx, dword [esi + 0x60]
sub ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], ebp
inc eax
sar ecx, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x40f3ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x4117c0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x18
cmp dword [esi + 0x94], 0
je 0x411824
cmp dword [esi + 0x88], 0
je 0x41182a
mov ecx, dword [esi + 0xd8]
sub ecx, dword [esi + 0xd4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41182a
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x411cc0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xb0], eax
test eax, eax
je 0x411824
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 0x18
ret
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x411824
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esi + 0x74]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
test edi, edi
je 0x41189d
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x98]
push ecx
push edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x70]
push 0
push ecx
mov ecx, dword [esi + 0x6c]
push ecx
mov ecx, dword [esi + 0x98]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x411824
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 0x18
ret

Function at 0x414550
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x414574
mov eax, 1
add esp, 0x24
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41456b
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
sbb eax, eax
inc eax
add esp, 0x24
ret
Function at 0x414640
Capabilities:
Enumerate gui resources
Enumerate process modules

Disassembly:
mov eax, 0x1428
call fcn.00436c90
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x1420], eax
mov eax, dword [esp + 0x142c]
push ebx
push esi
push edi
mov ecx, 7
mov esi, str.UnknownProcess
lea edi, [esp + 0x1020]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x1ea
lea ecx, [esp + 0x1042]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
movsw word es:[edi], word [esi]
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00414550
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x28]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4147ee
mov eax, dword [esp + 0x14]
shr eax, 2
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x4147e7
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + esi*4 + 0x20]
push ecx
push 0
push 0x410
call edi
mov ebx, eax
test ebx, ebx
je 0x4147dc
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4147dc
mov edx, dword [esp + 0x10]
push 0x208
lea ecx, [esp + 0x1024]
push ecx
push edx
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
mov eax, dword [esp + 0x143c]
test eax, eax
jne 0x4147bd
mov dword [0x457e6c], eax
mov eax, dword [esp + esi*4 + 0x20]
push eax
push 0x4145d0
call dword [sym.imp.USER32.dll_EnumWindows]
xor ecx, ecx
push 0x1fc
push ecx
lea edx, [esp + 0x1232]
push edx
mov word [esp + 0x1234], cx
call sub.MSVCR90.dll_memset
mov eax, dword [0x457e6c]
add esp, 0xc
test eax, eax
je 0x41477e
push 0xff
lea ecx, [esp + 0x122c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1228]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4147b6
test dx, dx
je 0x4147b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4147b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x414790
xor eax, eax
jmp 0x4147d8
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x4147d8
cmp eax, 1
jne 0x4147dc
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x1024]
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x414808
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x4146d3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1420]
xor ecx, esp
call fcn.00436590
add esp, 0x1428
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + esi*4 + 0x20]
mov ecx, dword [esp + 0x142c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436590
add esp, 0x1428
ret
Function at 0x414830
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x434
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x430], eax
push ebp
mov ebp, dword [esp + 0x440]
push esi
push edi
xor esi, esi
push 0x424
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x1c], esi
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x450]
add esp, 0xc
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x414897
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00436590
add esp, 0x434
ret
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x414911
mov edi, edi
mov ecx, ebp
lea eax, [esp + 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4148dc
cmp dx, si
je 0x4148d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4148dc
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4148b6
xor eax, eax
jmp 0x4148e1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4148f6
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4148b0
jmp 0x414911
mov ecx, dword [esp + 0x44c]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00436590
add esp, 0x434
ret
Function at 0x414ae0
Capabilities:
Read file via mapping

Disassembly:
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414b05
xor eax, eax
pop edi
ret
push esi
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x414b29
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
ret
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x414b48
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
ret
mov ecx, dword [eax + 0x3c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [ecx + eax + 0x18]
call esi
push edi
call esi
mov eax, ebx
pop ebx
pop esi
pop edi
ret

Function at 0x414b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x438c37
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 4]
call sub.mfc90u.dll_CFile::CFile
lea eax, [esi + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.00415430
lea ecx, [esi + 0x2c]
call dword [0x44382c]
lea ecx, [esi + 0x34]
call dword [0x44382c]
lea ecx, [esi + 0x38]
push ecx
mov byte [esp + 0x18], 3
call fcn.00415430
lea edx, [esi + 0x50]
push edx
mov byte [esp + 0x18], 4
call fcn.00415430
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x18], 5
call fcn.00415430
lea ecx, [esi + 0x80]
push ecx
mov byte [esp + 0x18], 6
call fcn.00415430
mov dword [esi], 0
mov dword [esi + 0x30], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41eec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436eec
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 0x18], 1
call dword [0x44382c]
push 0x2e
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
inc eax
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x41f5a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
test esi, esi
je 0x41f647
mov ecx, 0x444ad8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f5d7
test dx, dx
je 0x41f5d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f5d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f5b1
xor eax, eax
jmp 0x41f5dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f647
push 0x444d0c
lea eax, [esp + 8]
push esi
push eax
call dword [sym.imp.MSVCR90.dll__wfopen_s]
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x41f647
push edi
mov edi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push 0
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_ftell]
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
mov esi, eax
call edi
add esp, 0x1c
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
pop edi
test eax, eax
jne 0x41f64c
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x14
mov eax, esi
pop esi
pop ecx
ret
Function at 0x420230
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0x444cf0
push eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.MSVCR90.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x42024d
xor al, al
pop ecx
ret
mov edx, dword [esp]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edx
push 1
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x14
mov al, 1
pop ecx
ret

Function at 0x420320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x42034f
push esi
push edi
lea esp, [esp]
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x4442d8]
dec ecx
inc edx
test ecx, ecx
jne 0x420330
pop edi
pop esi
not eax
ret