joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f504df0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x2c
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x5500
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x6f504f11
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test eax, eax
jle 0x6f504f0a
xor ecx, ecx
xor eax, eax
xor edx, edx
mov edi, 1
jmp 0x6f504e7f
movzx ecx, byte [eax + 0x6f50f700]
mov esi, edi
inc eax
shl esi, cl
add edx, esi
cmp dword [ebp + 8], edx
jg 0x6f504e78
lea eax, [eax*8 + 0x100]
mov word [ebx + 0x1c], ax
lea edx, [ebx + 0x2ba4]
xor eax, eax
mov ecx, 0xa4
mov word [ebx + 0x24], ax
mov edi, edx
xor eax, eax
lea edx, [ebx + 0x525c]
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0xc], 0
rep stosd dword es:[edi], eax
mov edi, edx
mov ecx, 0x3e
xor edx, edx
rep stosd dword es:[edi], eax
mov word [edi], dx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x100
jmp 0x6f504e92
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6f504f00

Function at 0x6f504f40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x6f504f93
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6f505fc0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x10
mov eax, dword [ecx]
lock xadd dword [eax + 4], ebx
dec ebx
je 0x6f505ff0
lea esp, [ebp - 8]
mov eax, ebx
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 8]
mov eax, ebx
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6f506ef0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x10
mov eax, dword [ecx]
lock xadd dword [eax + 4], ebx
dec ebx
je 0x6f506f20
lea esp, [ebp - 8]
mov eax, ebx
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 8]
mov eax, ebx
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4

Function at 0x6f507400
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6f507498
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [eax], str.prPo_cPo
sub esp, 0xc
mov ebx, eax
mov dword [eax + 4], 1
test byte [0x6f50d028], 8
jne 0x6f507468
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
lock inc dword [section..bss]
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.____p_n
mov dword [esp + 8], str.ITS_IParseDisplayName_create
mov dword [esp + 4], 0x6f50d028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6f507452
mov eax, 0x80040110
jmp 0x6f507460

Function at 0x6f508510
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
mov esi, 0xffffffff
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
lock xadd dword [ebx + 0xc], esi
dec esi
test byte [0x6f50d038], 8
jne 0x6f508550
test esi, esi
je 0x6f508580
lea esp, [ebp - 0xc]
mov eax, esi
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__ref_ld_n
mov dword [esp + 8], str.ITSProtocol_Release
mov dword [esp + 4], 0x6f50d038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test esi, esi
jne 0x6f50853d
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6f508596
mov dword [esp], eax
call sym._chm_close
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 0xc]
mov eax, esi
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6f508e50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x6f50d038], 8
jne 0x6f508ed0
lock inc dword [section..bss]
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0x238
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6f508f01
test esi, esi
mov dword [eax], sym._ITSProtocol_QueryInterface_12
cmove esi, eax
mov dword [eax + 4], 0x6f5101a0
mov dword [eax + 8], str._uPo
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [ebx], eax
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__p__n
mov dword [esp + 8], str.ITSProtocol_create
mov dword [esp + 4], 0x6f50d038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6f508e67
mov eax, 0x8007000e
jmp 0x6f508ec1

Function at 0x6f508fd0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0xffffffff
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov ebx, dword [ecx]
lock xadd dword [ebx + 4], eax
dec eax
mov dword [ebp - 0x20], eax
jne 0x6f509062
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 8]
mov edi, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x6f509038
lea esi, [esi]
mov eax, esi
mov esi, dword [esi]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov dword [ebx + 8], esi
sub esp, 0xc
test esi, esi
jne 0x6f509010
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0xc
lock dec dword [section..bss]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4

Function at 0x6f509080
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x1c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
jne 0x6f5090db
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6f5090f0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x1c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6f509128
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._chm_close
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6f509d60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
test byte [0x6f50d048], 8
jne 0x6f509e30
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov dword [eax], sym._ITSS_IEnumSTATSTG_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
lock inc dword [section..bss]
test byte [0x6f50d048], 8
jne 0x6f509e70
lea eax, [esi + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], sym._ITSS_chm_enumerator
mov dword [esp + 8], 0x1f
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._chm_enumerate_dir
mov eax, dword [ebx + 8]
mov dword [edi], ebx
mov dword [ebx + 0x10], eax
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p__ld__p__ld__p_n
mov dword [esp + 8], str.ITSS_IStorageImpl_EnumElements
mov dword [esp + 4], 0x6f50d048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f509d8f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._____p_n
mov dword [esp + 8], str.ITSS_create_enum
mov dword [esp + 4], 0x6f50d048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f509def

Function at 0x6f509ea0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test byte [0x6f50d048], 8
jne 0x6f509f10
mov dword [esp + 8], 0x220
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebx + 0xc]
mov ecx, 0x86
lea edi, [eax + 8]
sub esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 0
mov dword [eax + 4], edx
test edx, edx
je 0x6f509f48
mov dword [edx], eax
mov dword [ebx + 0xc], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 0x14]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], str.adding__s_to_enumeration_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ITSS_chm_enumerator
mov dword [esp + 4], 0x6f50d048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f509eb8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6f50aef0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
test byte [0x6f50d048], 8
jne 0x6f50af28
mov dword [esp], ebx
call sym._chm_openW
test eax, eax
je 0x6f50af59
add esp, 0x20
mov ecx, esi
mov edx, 0x6f510346
pop ebx
pop esi
pop ebp
jmp sym._ITSS_create_chm_storage
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], 0x6f510341
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6f510780
mov dword [esp + 4], 0x6f50d048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f50af07
add esp, 0x20
mov eax, 0x80004005
pop ebx
pop esi
pop ebp
ret

Function at 0x6f50b010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6f50b06b
cmp byte [esi + ebx - 1], 0xa
je 0x6f50b03f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6f51d0c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x6f50bb30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x6f51d0e0]
test eax, eax
je 0x6f50bbe8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x6f50bb70
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6f50bb5c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6f50bc1d
mov dword [esp + 4], 0x6f51719c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x6f51d0e0], eax
sub esp, 8
test eax, eax
jne 0x6f50bb4d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6f50bb5e
Function at 0x6f50bc30
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x1c]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
sub esp, 8
test ebx, ebx
je 0x6f50bdc8
mov eax, dword [esi]
test eax, eax
je 0x6f50bdb0
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x28], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [esp + 4], 0
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [esp + 8], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x6f50bdd8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x6f50bda0
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
not eax
pop ebx
shr eax, 0x1f
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x6f50bd66
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x6f50bca0
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x6f50bdca
Function at 0x4105b9
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4105da
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4105d1
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4105c9
mov eax, ebx
leave
ret

Function at 0x410600
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x41065f
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41068c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41067b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41066c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4106b2
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x410653
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x410ef2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0x1170000
mov dword ds:[ebp - 0x14], 0x7c8021d0
mov dword ds:[ebp - 0x1c], reloc.KERNEL32.dll_lstrcmpA
push 0x7fc
push dword [ebp - 0x20]
call fcn.0041057f
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4110d1
push dword [ebp - 4]
call fcn.00410563
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410fc2
jmp 0x4110d1
push dword [ebp - 4]
call fcn.00410563
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x411016
lea eax, [ebp - 4]
push eax
call fcn.00410ed8
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0041078a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x411016
mov eax, 1
jmp 0x411018
xor eax, eax
test eax, eax
je 0x4110c6
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4110be
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00410cf5
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4110ad
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00410eb1
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x411060
add esp, 0xc
jmp 0x4110d1
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x410f9b
add esp, 0xc
leave
jmp 0x847c0c9d