joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64aad6c0
Capabilities:
Access peb ldr_data
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
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab5130], 8
jne 0x64aad770
test esi, esi
je 0x64aad758
test ebx, ebx
je 0x64aad758
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
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 [ebx], eax
sub esp, 0xc
mov dword [eax + 4], 0x10000000
mov dword [eax], 0
fld dword [esi]
mov eax, dword [ebx]
fstp dword [eax + 8]
fld dword [esi + 4]
mov eax, dword [ebx]
fstp dword [eax + 0xc]
fld dword [esi + 8]
mov eax, dword [ebx]
fstp dword [eax + 0x10]
fld dword [esi + 0xc]
mov eax, dword [ebx]
fstp dword [eax + 0x14]
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0xc]
mov eax, 2
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp], esi
call sym._debugstr_rectf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s___p_n
mov dword [esp + 8], str.GdipCreateRegionRect
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aad6e5
Function at 0x64aaf2e0
Capabilities:
Access peb ldr_data
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
push ecx
sub esp, 0x3c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab5130], 8
jne 0x64aaf390
fild dword [esi + 0xc]
fild dword [esi + 8]
fild dword [esi + 4]
fild dword [esi]
fstp dword [ebp - 0x28]
fstp dword [ebp - 0x24]
fstp dword [ebp - 0x20]
fstp dword [ebp - 0x1c]
mov eax, 2
test ebx, ebx
je 0x64aaf37e
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
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 [ebx], eax
sub esp, 0xc
mov dword [eax], 0
fld dword [ebp - 0x28]
mov dword [eax + 4], 0x10000000
mov eax, dword [ebx]
fstp dword [eax + 8]
fld dword [ebp - 0x24]
mov eax, dword [ebx]
fstp dword [eax + 0xc]
fld dword [ebp - 0x20]
mov eax, dword [ebx]
fstp dword [eax + 0x10]
fld dword [ebp - 0x1c]
mov eax, dword [ebx]
fstp dword [eax + 0x14]
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p___p_n
mov dword [esp + 8], str.GdipCreateRegionRectI
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
fild dword [esi + 0xc]
fild dword [esi + 8]
fild dword [esi + 4]
fild dword [esi]
fstp dword [ebp - 0x28]
fstp dword [ebp - 0x24]
fstp dword [ebp - 0x20]
fstp dword [ebp - 0x1c]
test byte [0x64ab5130], 8
je 0x64aaf31c
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._debugstr_rectf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s___p_n
mov dword [esp + 8], str.GdipCreateRegionRect
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aaf31c
Function at 0x64aaf800
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x64ab5130], 8
jne 0x64aaf860
test ebx, ebx
je 0x64aaf88c
lea eax, [ebx + 4]
mov dword [esp], eax
call sym._delete_element
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
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ac0781
mov dword [esp + 8], str.GdipDeleteRegion
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
test ebx, ebx
jne 0x64aaf821
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4

Function at 0x64ab0e90
Capabilities:
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 ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x64ab5130], 8
jne 0x64ab0f98
test esi, esi
je 0x64ab0f80
test ebx, ebx
je 0x64ab0f80
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
cmp ebx, 0xf
jle 0x64ab0f80
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], 0x10
and eax, 0xfffff000
cmp eax, 0xdbc01000
jne 0x64ab0f80
mov dword [esp], edi
call sym.gdiplus.dll_GdipCreateRegion
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x64ab0f85
lea eax, [ebp - 0x28]
mov edx, dword [edi]
mov dword [ebp - 0x28], 0
mov dword [esp], eax
lea eax, [ebp - 0x24]
lea ecx, [edx + 4]
call sym._read_element
mov ebx, eax
test eax, eax
jne 0x64ab0f33
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x64ab0f85
mov ebx, 2
mov esi, dword [edi]
test byte [0x64ab5130], 8
jne 0x64ab0fd0
test esi, esi
je 0x64ab0f75
lea eax, [esi + 4]
mov dword [esp], eax
call sym._delete_element
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
mov dword [edi], 0
jmp 0x64ab0f85
mov ebx, 2
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___d___p__n
mov dword [esp + 8], str.GdipCreateRegionRgnData
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64ab0eb9
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64ac0781
mov dword [esp + 8], str.GdipDeleteRegion
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64ab0f42
Function at 0x64ab2880
Capabilities:
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 ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x64ab5130], 8
jne 0x64ab2938
test edi, edi
sete al
test esi, esi
sete dl
or al, dl
jne 0x64ab2920
test ebx, ebx
je 0x64ab2920
mov eax, ebx
lea ecx, [ebp - 0x1c]
mov edx, edi
call sym._get_region_scans_data
mov ebx, eax
test eax, eax
je 0x64ab28e0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 8]
mov dword [esi], edx
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]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
mov ebx, 2
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p___p__n
mov dword [esp + 8], str.GdipGetRegionScansCount
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64ab28a9

Function at 0x64ab2970
Capabilities:
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, 0x28
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test esi, esi
sete dl
test edi, edi
sete cl
or dl, cl
jne 0x64ab2a40
test eax, eax
je 0x64ab2a40
lea ecx, [ebp - 0x1c]
mov edx, edi
call sym._get_region_scans_data
mov ecx, eax
test eax, eax
jne 0x64ab2a27
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 8]
mov dword [esi], eax
test ebx, ebx
je 0x64ab2a03
mov eax, dword [edi + 8]
test eax, eax
je 0x64ab2a03
lea eax, [edi + 0x20]
mov edx, ebx
lea esi, [esi]
mov ebx, dword [eax]
add ecx, 1
add eax, 0x10
add edx, 0x10
mov dword [edx - 0x10], ebx
mov ebx, dword [eax - 0xc]
mov dword [edx - 0xc], ebx
mov ebx, dword [eax - 8]
sub ebx, dword [eax - 0x10]
mov dword [edx - 8], ebx
mov ebx, dword [eax - 4]
sub ebx, dword [eax - 0xc]
mov dword [edx - 4], ebx
cmp ecx, dword [edi + 8]
jb 0x64ab29d8
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x64ab2a60
Capabilities:
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 + 8]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test esi, esi
sete dl
test edi, edi
sete cl
or dl, cl
jne 0x64ab2b38
test eax, eax
je 0x64ab2b38
lea ecx, [ebp - 0x1c]
mov edx, edi
call sym._get_region_scans_data
mov ecx, eax
test eax, eax
jne 0x64ab2b23
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 8]
mov dword [esi], eax
test ebx, ebx
je 0x64ab2aff
mov eax, dword [edi + 8]
test eax, eax
je 0x64ab2aff
lea eax, [edi + 0x20]
mov edx, ebx
lea esi, [esi]
fild dword [eax]
add ecx, 1
add eax, 0x10
add edx, 0x10
fstp dword [edx - 0x10]
fild dword [eax - 0xc]
fstp dword [edx - 0xc]
mov ebx, dword [eax - 8]
sub ebx, dword [eax - 0x10]
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 0x2c]
fstp dword [edx - 8]
mov ebx, dword [eax - 4]
sub ebx, dword [eax - 0xc]
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 0x2c]
fstp dword [edx - 4]
cmp ecx, dword [edi + 8]
jb 0x64ab2ac8
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10

Function at 0x64ab2cf0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x10
mov eax, dword [0x64ac2108]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [0x64ac2104]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [0x64ac20c8]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [0x64ac20c4]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x64ab2d90
Capabilities:
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, 0x28
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x64ab5140], 8
jne 0x64ab2e98
test ebx, ebx
je 0x64ab2ed3
mov dword [esp + 8], 0x34
mov dword [esp + 4], 8
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 [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64ab2ef0
mov dword [eax], edi
mov eax, dword [ebx]
xor edx, edx
mov word [eax + 4], si
mov eax, dword [ebx]
mov word [eax + 6], dx
mov eax, dword [ebx]
mov dword [eax + 0xc], 1
mov eax, dword [ebx]
mov dword [eax + 0x18], 0
mov eax, dword [ebx]
mov dword [eax + 0x28], 0
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov dword [eax + 0x20], 0
mov eax, dword [ebx]
mov dword [eax + 0x24], 0
test byte [0x64ab5140], 8
jne 0x64ab2e68
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx]
mov dword [esp + 0xc], str._____p_n
mov dword [esp + 8], str.GdipCreateStringFormat
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_13
jmp 0x64ab2e54
movzx eax, si
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__i___x___p__n
mov dword [esp + 8], str.GdipCreateStringFormat
mov dword [esp + 4], 0x64ab5140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_13
test ebx, ebx
jne 0x64ab2dc1
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, 3
jmp 0x64ab2e56

Function at 0x64ab2f00
Capabilities:
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, 0x18
mov ebx, dword [ecx]
test ebx, ebx
je 0x64ab2fa0
cmp ebx, 0x64ac20a0
je 0x64ab2f8f
cmp ebx, 0x64ac20e0
je 0x64ab2f8f
mov eax, dword [ebx + 0x28]
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
mov eax, dword [ebx + 0x24]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
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 - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64ab3420
Capabilities:
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 eax, dword [ecx + 4]
mov edi, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x64ab3528
test esi, esi
je 0x64ab3528
test byte [0x64ab5140], 8
jne 0x64ab34f0
mov eax, dword [ebp - 0x1c]
mov ecx, dword fs:[0x18]
shl eax, 3
mov dword [ebp - 0x20], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64ab3540
mov eax, dword [edi + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x28], ebx
sub esp, 0xc
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x2c], eax
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p___d___p_n
mov dword [esp + 8], str.GdipSetStringFormatMeasurableCharacterRanges
mov dword [esp + 4], 0x64ab5140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_13
jmp 0x64ab345c
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
mov eax, 3
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
Function at 0x64ab3560
Capabilities:
Access peb ldr_data
Get ntdll base address
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, 0x48
fld dword [ecx + 4]
mov ebx, dword [ecx]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x64ab5140], 8
jne 0x64ab3648
test ebx, ebx
je 0x64ab3690
test edi, edi
je 0x64ab3698
test esi, esi
jle 0x64ab3630
fldz
fcompi st(1)
ja 0x64ab3700
mov ecx, dword [ebx + 0x1c]
lea edx, [esi*4]
test ecx, ecx
je 0x64ab36b0
mov eax, dword [ebx + 0x24]
cmp ecx, esi
jge 0x64ab3613
test ecx, ecx
jle 0x64ab3613
test eax, eax
je 0x64ab3728
fstp dword [ebp - 0x20]
mov ecx, dword fs:[0x18]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
fld dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub esp, 0x10
test eax, eax
je 0x64ab3710
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x1c], esi
fstp dword [ebx + 0x20]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memcpy
jmp 0x64ab3632
fstp st(0)
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
fst qword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
fstp dword [ebp - 0x1c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___0.2f___i___p__n
mov dword [esp + 8], str.GdipSetStringFormatTabStops
mov dword [esp + 4], 0x64ab5140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_13
fld dword [ebp - 0x1c]
test ebx, ebx
jne 0x64ab3594
fstp st(0)
jmp 0x64ab369a
fstp st(0)
jmp 0x64ab369a
fstp st(0)
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
fstp dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [ebp - 0x1c], edx
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]
mov edx, dword [ebp - 0x1c]
fld dword [ebp - 0x20]
sub esp, 0xc
test eax, eax
mov dword [ebx + 0x24], eax
je 0x64ab3718
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jle 0x64ab3613
cmp esi, ecx
jle 0x64ab3613
jmp 0x64ab35d3
fstp st(0)
mov eax, 6
jmp 0x64ab3634
fstp st(0)
jmp 0x64ab371a
fstp st(0)
mov eax, 3
jmp 0x64ab3634
fstp dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [ebp - 0x1c], edx
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_HeapAlloc]
mov edx, dword [ebp - 0x1c]
fld dword [ebp - 0x20]
sub esp, 0xc
jmp 0x64ab3608
Function at 0x64ab3ef0
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 0x64ab3f4b
cmp byte [esi + ebx - 1], 0xa
je 0x64ab3f1f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x64ac21a4], 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 0x402f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x458020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fe8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fc8
xor eax, eax
push ebp
push 0x402fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403004
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fc8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x458020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x458020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x403cf5
cmp word [0x45a21c], 0xd7b2
jne 0x403cbd
cmp dword [0x45a224], 0
jbe 0x403cbd
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x403d11
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40aa68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aaa1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40aaaa
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aab4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aad5
mov al, byte [esp]
jmp 0x40aad7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b15c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afd4
mov eax, dword [0x459e4c]
cmp byte [eax], 0
je 0x40b1d8
mov eax, dword [0x459b38]
call fcn.00402980
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082dc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b220
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b20e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x459ac0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret