joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69045300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov edx, dword [eax]
mov eax, dword [edx + 0x34]
and eax, 0x2118000
je 0x69045324
test byte [0x6907604c], 1
jne 0x690454c0
mov eax, edx
call fcn.69044cf0
mov dword [esp + 8], 5
cmp eax, 1
sbb eax, eax
and eax, 0xfffffffb
add eax, 0x610
mov dword [esp + 4], eax
mov eax, dword [0x6908d004]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x690454f0
mov dword [esp + 4], eax
mov eax, dword [0x6908d004]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
test eax, eax
je 0x690454a0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LockResource]
sub esp, 4
mov esi, eax
test eax, eax
je 0x690454a0
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
test eax, 0x80000
je 0x690453ad
test al, 0xe0
jne 0x690453ad
or eax, 0x800000
mov dword [edx + 0x34], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
test eax, 0x800000
je 0x690453d3
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x28], 0
mov eax, dword [edx + 0x34]
test al, 0x20
je 0x69045425
mov edi, dword [edx + 0x44]
test edi, edi
je 0x69045425
mov edi, dword [sym.imp.user32.dll_RegisterWindowMessageW]
mov dword [esp], 0x6907859c
call edi
sub esp, 4
mov dword [ebx + 0x74], eax
mov dword [esp], 0x690785c4
call edi
sub esp, 4
mov dword [ebx + 0x78], eax
mov dword [esp], 0x690785fa
call edi
sub esp, 4
mov dword [ebx + 0x7c], eax
mov dword [esp], str.commdlg_ShareViolation
call edi
mov edx, dword [ebx]
mov dword [ebx + 0x80], eax
sub esp, 4
mov ecx, dword [ebx + 4]
mov edx, dword [edx + 4]
mov dword [esp + 0x10], ebx
mov eax, dword [0x6908d004]
mov dword [esp + 0xc], 0x6904ecb0
test ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
jne 0x69045478
call dword [sym.imp.user32.dll_DialogBoxIndirectParamA]
mov edx, dword [ebx + 0x84]
sub esp, 0x14
test edx, edx
jne 0x6904548b
cmp eax, 0xffffffff
mov edx, 0
cmove eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.user32.dll_DialogBoxIndirectParamW]
mov edx, dword [ebx + 0x84]
sub esp, 0x14
test edx, edx
je 0x6904545e
mov dword [ebp - 0x1c], eax
call dword [0x690a0780]
mov eax, dword [ebp - 0x1c]
jmp 0x6904545e
mov dword [esp], 7
call fcn.69041890
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Flags_0x_08lx_not_yet_implemented_n
mov dword [esp + 8], str.GetFileName95
mov dword [esp + 4], 0x6907604c
mov dword [esp], 0
call fcn.69044e10
mov edx, dword [ebx]
jmp 0x69045324
mov dword [esp], 6
call fcn.69041890
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x690459b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
test eax, eax
je 0x69045a60
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
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 [ebp - 0x1c]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov eax, esi
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x69045a70
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
mov dword [esp + 4], str.LookInInfos
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetPropA]
sub esp, 8
mov edi, eax
test byte [0x6907604c], 8
jne 0x69045b50
mov edx, dword [edi]
cmp edx, 2
jle 0x69045b80
mov ecx, 2
mov eax, esi
call fcn.690455e0
mov ebx, eax
test eax, eax
js 0x69045b80
mov edx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [ebp - 0x20], edx
mov dword [esp + 4], 0x150
mov dword [esp], esi
call edx
mov ecx, dword [eax + 0xc]
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp], ecx
call dword [sym.imp.shell32.dll_ILFree]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x144
mov dword [esp], esi
call edx
sub dword [edi], 1
sub esp, 0x10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str._nSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU
mov dword [esp + 8], str.FILEDLG95_LOOKIN_RemoveMostExpandedItem
mov dword [esp + 4], 0x6907604c
mov dword [esp], 3
call fcn.69044e10
jmp 0x69045a9e
mov ebx, 0xffffffff
jmp 0x69045b40
Function at 0x69045b90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp + 4], str.FileOpenDlgInfos
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetPropW]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x146
mov eax, dword [eax + 0x58]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov edi, eax
test byte [0x6907604c], 8
jne 0x69045c98
cmp edi, 0xffffffff
je 0x69045c64
sub edi, 1
js 0x69045c64
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea esi, [esi]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x150
mov eax, dword [esi + 0x58]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
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
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x144
mov eax, dword [esi + 0x58]
mov dword [esp], eax
call ebx
sub esp, 0x10
sub edi, 1
jae 0x69045c00
mov edx, dword [esi + 0x54]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
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 - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str._nSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU
mov dword [esp + 8], str.FILEDLG95_FILETYPE_Clean
mov dword [esp + 4], 0x6907604c
mov dword [esp], 3
call fcn.69044e10
jmp 0x69045be7
Function at 0x69045cd0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp + 4], str.FileOpenDlgInfos
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetPropW]
sub esp, 8
mov esi, eax
mov dword [esp + 4], str.LookInInfos
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetPropA]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x146
mov eax, dword [esi + 0x5c]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov edi, eax
test byte [0x6907604c], 8
jne 0x69045e20
cmp edi, 0xffffffff
je 0x69045dd9
sub edi, 1
js 0x69045dd9
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], eax
lea esi, [esi]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x150
mov eax, dword [esi + 0x5c]
mov dword [esp], eax
call ebx
mov ecx, dword [eax + 0xc]
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp], ecx
call dword [sym.imp.shell32.dll_ILFree]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
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
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x144
mov eax, dword [esi + 0x5c]
mov dword [esp], eax
call ebx
sub esp, 0x10
sub edi, 1
jae 0x69045d60
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
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 [esp + 4], str.LookInInfos
mov eax, dword [esi + 0x5c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_RemovePropA]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str._nSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU
mov dword [esp + 8], str.FILEDLG95_LOOKIN_Clean
mov dword [esp + 4], 0x6907604c
mov dword [esp], 3
call fcn.69044e10
jmp 0x69045d41
Function at 0x69045e50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
lea eax, [ebp - 0x20]
sub esp, 0x3c
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0x200
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_InitCommonControlsEx]
sub esp, 4
mov dword [esp], 0
call fcn.69041890
lea edx, [esi + 4]
xor eax, eax
mov ecx, 0x26
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esi], ebx
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x69045f0f
mov eax, dword [ebx + 0x20]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
add eax, eax
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi + 0xc], eax
mov edx, dword [ebx + 0x20]
sub esp, 0xc
mov ecx, dword [ebx + 0x1c]
cmp edx, 1
ja 0x69045f02
jmp 0x69045f49
sub edx, 1
add eax, 2
add ecx, 2
mov word [eax - 2], di
cmp edx, 1
je 0x69045f0a
movzx edi, word [ecx]
test di, di
jne 0x69045ef0
xor edx, edx
mov word [eax], dx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x69045f3a
mov dword [esp + 8], 0
mov edi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x69045f50
mov dword [esi + 4], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x69045f0f
jmp 0x69045f0a
lea ecx, [edx + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [esi + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 8], edx
mov dword [esp], eax
call edi
mov dword [esi + 4], 1
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x69046df0
Capabilities:
Access peb ldr_data
Get file system object information
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
sub esp, 0x3c
test byte [0x6907604c], 8
jne 0x69046e70
mov dword [esp], esi
call dword [sym.imp.shell32.dll_ILClone]
sub esp, 4
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ILRemoveLastID]
sub esp, 4
test byte [0x6907604c], 8
jne 0x69046ea0
cmp esi, ebx
je 0x69046ede
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.690455e0
test eax, eax
js 0x69046ed0
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_ILFree]
mov eax, dword [ebp - 0x1c]
mov edx, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
lea ecx, [eax + 1]
pop esi
mov eax, edi
pop edi
pop ebp
jmp fcn.690466b0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x690786f1
mov dword [esp + 8], str.GetParentPidl
mov dword [esp + 4], 0x6907604c
mov dword [esp], 3
call fcn.69044e10
jmp 0x69046e06
mov dword [esp + 0xc], str._nSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU
mov dword [esp + 8], str.FILEDLG95_LOOKIN_InsertItemAfterParent
mov dword [esp + 4], 0x6907604c
mov dword [esp], 3
call fcn.69044e10
jmp 0x69046e29
mov edx, ebx
mov eax, edi
call fcn.69046df0
jmp 0x69046e47
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6904b060
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 4], 0
lea edx, [ebx + ebx + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0
xor edx, edx
sub esp, 0xc
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
mov esi, dword [ecx]
jmp 0x6904b0bf
mov eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x6904b128
cmp word [edi + eax*2], 0x22
lea ecx, [eax + 1]
jne 0x6904b0b8
cmp dword [ebp + 0xc], ecx
jb 0x6904b1b8
mov dword [ebp + 8], edi
jmp 0x6904b0f5
mov word [esi], bx
cmp dword [ebp + 0xc], eax
jb 0x6904b170
mov ebx, dword [ebp + 0x10]
mov edx, edi
mov ecx, eax
mov esi, dword [ebx]
mov eax, dword [ebp + 8]
lea esi, [esi + edx*2]
lea edi, [edx + 1]
movzx ebx, word [eax + ecx*2]
lea eax, [ecx + 1]
cmp bx, 0x22
jne 0x6904b0e0
mov edx, edi
mov edi, dword [ebp + 8]
xor ecx, ecx
add dword [ebp - 0x1c], 1
mov word [esi], cx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx]
cmp dword [ebp + 0xc], eax
jae 0x6904b0bf
lea esi, [esi]
nop
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6904b190
xor eax, eax
test edx, edx
jne 0x6904b190
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x6904b138
cmp word [edi], 0
je 0x6904b1ac
mov edx, edi
add edx, 2
cmp word [edx], 0
jne 0x6904b150
sub edx, edi
lea ecx, [edx + 2]
sar edx, 1
add edx, 2
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, 1
jmp 0x6904b199
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 2]
mov esi, edi
add edx, 2
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
lea esi, [ecx + esi*2]
jmp 0x6904b110
mov eax, dword [ebp - 0x1c]
lea ecx, [edx + edx]
add edx, 1
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov word [esi + ecx], bx
mov dword [edi], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 2
mov ecx, 2
jmp 0x6904b163
lea esi, [esi + edx*2]
add eax, 2
add edx, 1
jmp 0x6904b110
Function at 0x69052610
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, 0x48
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
lea ecx, [ebp - 0x20]
mov dword [esp], ecx
movzx edi, di
mov dword [ebp - 0x2c], edx
mov dword [esp + 4], eax
call dword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
lea edx, [edi + edi]
sub esp, 8
mov dword [esp + 8], edx
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 [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym.comdlg32.dll_GetFileTitleW
lea ecx, [ebp - 0x20]
sub esp, 0xc
mov esi, eax
test ax, ax
je 0x690526d0
mov dword [esp], ecx
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
sub esp, 4
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]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x20]
sub esp, 0x20
jmp 0x6905268e

Function at 0x69052fc0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, eax
push ebx
sub esp, 0x3c
cmp byte [eax], 0
mov dword [ebp - 0x1c], edx
je 0x69052fee
mov ebx, dword [sym.imp.ucrtbase.dll_strlen]
lea esi, [esi]
nop
mov dword [esp], edi
call ebx
lea edi, [edi + eax + 1]
cmp byte [edi], 0
jne 0x69052fe0
mov eax, dword [ebp - 0x1c]
lea edx, [edi + 2]
mov dword [esp + 8], esi
sub edx, esi
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
cmp edx, eax
mov edi, eax
mov dword [esp + 0x10], 0
cmovae edi, edx
mov dword [ebp - 0x20], ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], edi
mov dword [esp], 0
call ecx
mov edx, eax
sub esp, 0x18
lea ebx, [edx + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov eax, ebx
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x69053de0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x43c
mov esi, dword [eax]
mov eax, esi
call fcn.69052840
mov dword [esp + 0x10], 0
mov edi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x471
mov dword [esp], esi
call edi
sub esp, 0x14
cmp eax, 0xffffffff
mov dword [ebp - 0x41c], eax
je 0x69053f00
mov ecx, dword fs:[0x18]
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x424], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x41c]
sub esp, 0xc
mov dword [ebp - 0x420], eax
mov dword [esp + 0xc], edx
mov dword [esp], esi
lea esi, [ebp - 0x418]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x148
mov dword [esp + 4], 0x471
call edi
mov edi, dword [ebp - 0x420]
sub esp, 0x14
movzx eax, word [edi + 4]
mov dword [esp], esi
mov dword [esp + 4], 0x690796d4
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov ecx, dword [ebp - 0x424]
mov dword [esp + 8], edi
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_HeapFree]
mov edx, dword [ebp - 0x41c]
mov eax, ebx
mov ecx, 0x471
sub esp, 0xc
mov dword [esp], edx
mov edx, esi
mov dword [esp + 4], 1
call fcn.69053370
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x69053f10
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
mov ebx, eax
sub esp, 0x43c
mov esi, dword [eax]
mov edi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x188
mov dword [esp + 4], 0x461
mov dword [esp], esi
call edi
mov dword [ebp - 0x41c], eax
sub esp, 0x14
cmp eax, 0xffffffff
je 0x6905404e
mov dword [esp + 8], 0x400
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 dword [ebp - 0x420], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x41c]
mov dword [esp + 8], 0x189
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x461
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x420]
xor eax, eax
lea edi, [ebp - 0x418]
sub esp, 0x14
nop
movzx ecx, word [edx + eax]
mov word [edi + eax], cx
add eax, 2
test cx, cx
jne 0x69053fc0
mov dword [esp + 8], edx
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]
movzx eax, word [ebp - 0x418]
sub esp, 0xc
cmp ax, 0x5b
je 0x69054060
mov edx, edi
test ax, ax
je 0x69054019
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69054010
xor eax, eax
mov ecx, 0x5c
jmp 0x6905402f
movzx ecx, word [eax + 0x690796a4]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69054028
mov eax, dword [ebx + 0x1c]
mov ecx, edi
mov edx, esi
call fcn.690530a0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x690540a8
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x69054068
sub eax, edi
xor edx, edx
sar eax, 1
mov word [ebp + eax*2 - 0x41a], dx
mov eax, edi
lea esi, [esi]
movzx edx, word [eax + 2]
add eax, 2
mov word [eax - 2], dx
test dx, dx
jne 0x69054088
movzx eax, word [ebp - 0x418]
jmp 0x69054001
movzx eax, word [ebp - 0x41c]
mov edx, dword [ebx + 8]
mov ecx, 0x461
mov dword [esp], eax
mov eax, ebx
call fcn.69052e10
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret