joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009130
Capabilities:
Download url
Receive data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
jl 0x10009167
cmp eax, 5
jg 0x10009167
mov ecx, dword [esi + 0x20]
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esi + 0x20]
push 0x1005197c
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 8]
push esi
push 0
push eax
push 0
call sub.urlmon.dll_URLOpenStreamA
pop esi
ret 4
cmp eax, 6
jne 0x1000918c
mov ecx, esi
call fcn.100091a0
test al, al
je 0x10009190
push 0
mov dword [esi + 0x38], 0xffffffff
call fcn.1000e7f0
add esp, 4
pop esi
ret 4
mov byte [esi + 0x41], 1
pop esi
ret 4

Function at 0x10009290
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10030d9b
push eax
mov dword fs:[0], esp
sub esp, 0x20c
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesDiskEnum
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100093d4
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x10041280
push eax
mov dword [esp + 0x20], 0x1ff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100093c9
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0xc], al
call sub.MFC42.DLL_AfxGetEmptyString
mov edx, dword [eax]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
mov dword [esp + 4], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov dword [esp + 0x214], 0
call sub.MFC42.DLL_CString::MakeLower
push str.vwmare
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x10009390
push str.virtual_hdd
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x10009390
push str.virtual_hd
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x10009390
lea ecx, [esp]
mov dword [esp + 0x214], eax
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
add esp, 0x218
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov dword [esp + 0x214], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
add esp, 0x218
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x1000aa40
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10030f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x24]
cmp ebx, ecx
mov dword [esp + 0x18], ecx
mov dword [ebp], 0x10033640
mov dword [ebp + 0x88], 0x28
mov dword [ebp + 0x84], edx
mov byte [ebp + 0x8c], cl
mov dword [ebp + 0x90], ecx
mov dword [ebp + 0x98], eax
mov dword [ebp + 0x9c], ecx
jne 0x1000aae3
push edi
push 9
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov edi, str.28571419
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + 8], al
xor ecx, ecx
pop edi
mov eax, ecx
xor edx, edx
mov esi, 0xa
div esi
mov eax, ecx
and eax, 7
mov dl, byte [edx + str.gORgONzOLa]
xor dl, byte [eax + ebx]
inc ecx
cmp ecx, 0x28
mov byte [ecx + ebp + 3], dl
jb 0x1000aae3
mov ecx, dword [esp + 0x10]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x1000bc70
Capabilities:
Get disk information

Disassembly:
jmp 0x1000bc80
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
mov dword [esp + 0xc], ecx
push 0
call edi
mov esi, eax
test esi, esi
je 0x1000bce4
push ebx
inc esi
push ebp
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
push ebp
push esi
call edi
xor ebx, ebx
mov esi, ebp
mov ecx, dword [esp + 0x10]
push esi
call fcn.1000bcf0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebx + ecx + 1]
or ecx, 0xffffffff
lea esi, [ebx + ebp]
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x1000bcaf
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
Function at 0x1000bcf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_1
push 1
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000bd93
lea eax, [ebp - 0x3c]
push 0x19
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0xa0]
push 0x64
push ecx
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push 0x10042724
push eax
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 0x124]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [esi + edx*4 + 0xd0]
call sub.MFC42.DLL_CString::operator
inc dword [esi + 0x124]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cd00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x6c
lea eax, [esp]
push eax
push str.SystemCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1000cd22
xor eax, eax
add esp, 0x6c
ret
mov eax, dword [esp]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push str.ProductType
push eax
mov dword [esp + 0x1c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000cd52
xor eax, eax
add esp, 0x6c
ret
mov ecx, dword [esp]
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea edx, [esp + 0x10]
push edx
push str.WINNT
xor esi, esi
call edi
add esp, 8
test eax, eax
jne 0x1000cd91
mov eax, dword [esp + 0x78]
mov esi, 1
pop edi
mov dword [eax], 2
mov eax, esi
pop esi
add esp, 0x6c
ret
lea ecx, [esp + 0x10]
push ecx
push str.SERVERNT
call edi
add esp, 8
test eax, eax
jne 0x1000cdbb
mov edx, dword [esp + 0x78]
mov esi, 1
mov eax, esi
pop edi
mov dword [edx], 6
pop esi
add esp, 0x6c
ret
lea eax, [esp + 0x10]
push eax
push str.LANMANNT
call edi
add esp, 8
test eax, eax
jne 0x1000cde5
mov ecx, dword [esp + 0x78]
mov esi, 1
mov eax, esi
pop edi
mov dword [ecx], 7
pop esi
add esp, 0x6c
ret
lea edx, [esp + 0x10]
push edx
push str.LANSECNT
call edi
add esp, 8
test eax, eax
jne 0x1000ce07
mov eax, dword [esp + 0x78]
mov esi, 1
mov dword [eax], 8
mov eax, esi
pop edi
pop esi
add esp, 0x6c
ret

Function at 0x1000d090
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.1000d370
mov ebp, dword [esp + 0x14]
lea esi, [ebp + 4]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x320], eax
jne 0x1000d0ba
pop esi
pop ebp
pop ebx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebx + 0x324], eax
jne 0x1000d0da
mov ecx, ebx
call fcn.1000d370
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, ebp
push edi
mov dword [eax], ebp
mov edi, dword [ebx + 0x324]
mov eax, ecx
mov dword [ebx + 0x328], esi
mov esi, dword [esp + 0x14]
add edi, 4
shr ecx, 2
mov dword [ebx + 0x32c], 4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x324]
xor ecx, ecx
add esi, 4
test ebp, ebp
jbe 0x1000d138
mov eax, ecx
xor edx, edx
mov edi, 0x28
div edi
mov al, byte [ecx + esi]
mov dl, byte [edx + ebx + 0x8348]
xor al, dl
mov byte [ecx + esi], al
inc ecx
cmp ecx, ebp
jb 0x1000d119
mov ecx, ebx
call fcn.1000d7d0
test eax, eax
pop edi
jne 0x1000d160
mov eax, dword [ebx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, ebx
call fcn.1000d370
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [ebx + 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
Function at 0x10011170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSID9522B3FB_7A2B_4646_8AF6_36E7F593073C
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100111d1
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push esi
push esi
push str.band
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x100111e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.Web.Template.URLCLSID
push SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, 0x1ff
test eax, eax
jne 0x10011245
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x10011245
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov byte [esp + ecx + 0x18], bl
jmp 0x10011358
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.NODEMGR.CacheCLSID
push SysReAllocString
call esi
test eax, eax
jne 0x100112ad
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x100112ad
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0x18]
push eax
mov byte [esp + edx + 0x1c], bl
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push str.Web.IndexCache.1CLSID
push SysReAllocString
call esi
test eax, eax
jne 0x10011315
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x10011315
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x220]
mov byte [esp + eax + 0x1c], bl
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.English.cplCLSID
push SysReAllocString
call esi
test eax, eax
jne 0x10011370
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x10011370
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov byte [esp + ecx + 0x18], bl
mov ecx, dword [esp + 0x21c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
Function at 0x10013690
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov ecx, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edi, ebp
and edi, 0x3f
jbe 0x100136d7
mov edx, dword [esp + 0x54]
push ebx
mov ecx, eax
xor ebx, ebx
shr ecx, 2
mov bl, byte [edx]
lea esi, [esp + ecx*4 + 0x10]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl ebx, cl
mov ecx, dword [esi]
xor ecx, ebx
inc edx
inc eax
mov dword [esi], ecx
cmp eax, edi
jb 0x100136b3
pop ebx
mov edx, ebp
mov ecx, ebp
shr edx, 2
and edx, 0xf
and ecx, 3
mov esi, dword [esp + 0x50]
lea eax, [esp + edx*4 + 0xc]
lea ecx, [ecx*8 + 7]
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
xor ecx, edx
cmp edi, 0x37
mov dword [eax], ecx
jbe 0x10013720
lea eax, [esp + 0xc]
push eax
push esi
call fcn.100113b0
add esp, 8
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x5c]
lea ecx, [ebp*8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0xc]
shr ebp, 0x1d
lea eax, [edx*8]
push ecx
or ebp, eax
push esi
mov dword [esp + 0x50], ebp
call fcn.100113b0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x40
ret
Function at 0x10014190
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10031790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0xc]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_1
push 0x1005197c
mov ecx, edi
mov dword [esp + 0x20], 5
mov dword [esi], 0x10033694
call sub.MFC42.DLL_CString::operator_1
push 0x1005197c
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push 0x1005197c
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
push str.TARGET_WEB_COUPON
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str.EXPIRES
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
push 0x1005197c
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x28]
mov eax, 0x258
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x24]
push 0x8370
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xbc], 0x13ec
mov dword [esi + 0xc0], 0x19c8
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
mov byte [esp + 0x1c], 6
je 0x100142cb
mov ecx, edi
call fcn.1000d180
jmp 0x100142cd
xor edi, edi
push 0x8370
mov byte [esp + 0x20], 5
mov dword [esi + 0x20], edi
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
mov byte [esp + 0x1c], 7
je 0x100142fa
mov ecx, edi
call fcn.1000d180
jmp 0x100142fc
xor edi, edi
push 0x8370
mov byte [esp + 0x20], 5
mov dword [esi + 0x24], edi
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
mov byte [esp + 0x1c], 8
je 0x10014329
mov ecx, edi
call fcn.1000d180
jmp 0x1001432b
xor edi, edi
mov byte [esp + 0x1c], 5
mov dword [esi + 0x28], edi
mov dword [esi + 0xe8], ebx
xor ecx, ecx
mov edi, ecx
and edi, 0x80000007
jns 0x1001434a
dec edi
or edi, 0xfffffff8
inc edi
mov eax, ecx
mov ebp, 0xa
cdq
idiv ebp
mov eax, dword [esp + 0x2c]
mov al, byte [edi + eax]
xor al, byte [edx + str.gORgONzOLa]
inc ecx
cmp ecx, 0x28
mov byte [esi + ecx + 0x57], al
mov byte [esi + ecx + 0x7f], bl
jl 0x1001433b
mov ecx, esi
call fcn.10014420
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x10019120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x10031d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebp
push esi
push edi
mov dword [esp + 0x90], 0
mov dword [esp + 0xc], 0
call fcn.1001b231
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
mov byte [esp + 0x90], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x98]
and ecx, 0xffff
mov esi, dword [eax + 0x6c]
mov eax, dword [esp + 0x9c]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x100191b4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [edx + 4], eax
jmp 0x10019297
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x10051c80]
mov esi, eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.10001000
push esi
mov byte [esp + 0x94], 2
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push edi
push esi
push ebp
call fcn.10001280
cmp eax, esi
je 0x1001921a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 1
call fcn.10001210
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [edx + 4], eax
jmp 0x10019297
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test esi, esi
je 0x1001927b
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x1001927b
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 1
call fcn.10001210
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x90], 0xffffffff
mov dword [edx + 4], eax
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x100192b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 1
call fcn.10001210
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x10020ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10032148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1001dec0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi], 0x10033f10
mov dword [esi + 0x24], ebx
mov dword [esi + 4], ebx
mov edx, dword [ecx]
push edi
mov dword [esp + 0x1c], ebx
call dword [edx + 0x1c]
cmp eax, ebx
mov dword [esi + 0x38], eax
je 0x10020b53
cmp dword [esi + 0x34], ebx
je 0x10020b5a
mov ecx, dword [esi + 0x28]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, ebx
mov dword [esi + 0x30], eax
jne 0x10020b5a
mov dword [esi + 0x24], 3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x100214a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100321c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x24]
push 1
mov esi, ecx
push edi
push eax
mov dword [esp + 0x14], esi
call fcn.10020ae0
mov ecx, dword [esi + 0x28]
mov eax, edi
shr eax, 1
mov dword [esi], 0x10033f58
mov edx, dword [ecx]
add eax, edi
mov dword [esp + 0x14], 0
push eax
call dword [edx + 0x1c]
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x100214fa
mov dword [esi + 0x24], 3
mov ecx, dword [esi + 0x40]
mov edi, dword [esi + 0x30]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x403480
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4034b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4034a0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x40b920
Capabilities:
Parse pe header

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

Function at 0x414c3c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422828
push 0x422820
push str.FlsAlloc
push 0x1f
call fcn.00414ac6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414c70
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f1a0]
call esi
jmp 0x414c76
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x414cba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422838
push 0x422830
push str.FlsGetValue
push 0x21
call fcn.00414ac6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414cf1
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f1a0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x414cf9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422840
push 0x422838
push str.FlsSetValue
push 0x22
call fcn.00414ac6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414d33
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41f1a0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]