joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420da0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x562708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push str.SoftwareGlobalSCAPECuteFTP_7_Professional
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
call fcn.00530bfd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push ecx
push SysReAllocStringLen
mov dword [esp + 0xb0], ebx
call esi
cmp eax, ebx
jne 0x420e2b
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push ebx
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push 0x5c4d60
push eax
call esi
cmp eax, ebx
je 0x420e46
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00530b8f
xor eax, eax
jmp 0x420fb2
mov eax, dword [edi + 0x49c]
push ebp
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x2328
push esi
call fcn.00531c00
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x1c]
push ebx
push esi
push ebp
call fcn.0053ecfc
push ebx
push 0x1000
lea edx, [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 1
call fcn.005369bd
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov esi, dword [edi + 0x49c]
add eax, 4
cmp eax, ecx
mov byte [esp + 0x90], 2
jbe 0x420eb9
lea ecx, [esp + 0x44]
call fcn.00536cce
mov ecx, dword [esp + 0x68]
mov dword [ecx], esi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add eax, 4
mov dword [esp + 0x68], eax
add eax, 4
cmp eax, ecx
jbe 0x420ede
lea ecx, [esp + 0x44]
call fcn.00536cce
mov edx, dword [esp + 0x68]
xor esi, esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0x49c]
add ecx, 4
cmp eax, ebx
mov dword [esp + 0x68], ecx
jle 0x420f27
lea ebx, [edi + 0x490]
push esi
mov ecx, ebx
call fcn.0052c3aa
test eax, eax
je 0x420f1a
mov eax, dword [eax + 8]
lea ecx, [esp + 0x44]
push eax
call fcn.005374a0
mov eax, dword [edi + 0x49c]
inc esi
cmp esi, eax
jl 0x420f01
xor ebx, ebx
lea ecx, [esp + 0x44]
call fcn.00536b21
lea ecx, [esp + 0x1c]
call fcn.0053ee12
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0053ed63
push esi
push eax
mov eax, dword [esp + 0x20]
push 3
push ebx
push str.QCHistory
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
push ebp
call fcn.00531c29
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call fcn.00536a99
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 0
call fcn.0053ed75
lea ecx, [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
call fcn.00530b8f
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x420fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56273b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], esp
push str.SoftwareGlobalSCAPECuteFTP_7_Professional
lea ecx, [ebp - 0x14]
call fcn.00530bfd
push str.QCToolbar
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00530f6b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421060
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push str.QCHistory
push ecx
call edi
test eax, eax
je 0x421082
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00530b8f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, 0x2328
push eax
call fcn.00531c00
add esp, 4
lea ecx, [ebp - 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push esi
push edx
push 0
push str.QCHistory
push eax
mov dword [ebp - 0x2c], esi
call edi
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.0053ecfc
push 0
push 0x1000
lea edx, [ebp - 0x9c]
push 1
push edx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.005369bd
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x421101
sub eax, ecx
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.00536d4a
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax]
add eax, 4
mov dword [ebp - 0x50], eax
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x421121
sub eax, ecx
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.00536d4a
mov eax, dword [ebp - 0x50]
add eax, 4
xor edi, edi
mov dword [ebp - 0x50], eax
cmp edi, ebx
jge 0x421177
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x74]
push eax
push ecx
mov dword [ebp - 0x20], 0
call fcn.004e6990
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push 0
push eax
lea esi, [edx + 0x490]
mov ecx, esi
call fcn.0052c3d0
test eax, eax
jne 0x421166
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.0052c7dd
inc edi
jmp 0x421129
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 2
call fcn.00536b21
lea ecx, [ebp - 0x9c]
call fcn.0053ed63
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00531c29
add esp, 4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00536a99
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.0053ed75
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00530b8f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4211f0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x562758
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x49c]
test eax, eax
jle 0x42123b
push edi
lea edi, [esi + 0x490]
mov ecx, edi
call fcn.0052c32b
test eax, eax
je 0x421230
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x49c]
test eax, eax
jg 0x42121c
pop edi
push str.SoftwareGlobalSCAPECuteFTP_7_Professional
lea ecx, [esp + 8]
call fcn.00530bfd
push str.QCToolbar
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
call fcn.00530f6b
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
jne 0x42129b
mov edx, dword [esp + 4]
push str.QCHistory
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4213a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx + 4]
push edi
call fcn.0054fc30
mov eax, dword [eax + 4]
push esi
mov ecx, eax
call fcn.00550a84
mov esi, eax
test esi, esi
jne 0x4213c0
call fcn.0052932f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
je 0x4213eb
call fcn.0052932f
ret 8

Function at 0x421400
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx + 4]
push edi
call fcn.0054fc30
mov eax, dword [eax + 4]
push esi
mov ecx, eax
call fcn.00550a84
mov esi, eax
test esi, esi
jne 0x421420
call fcn.0052932f
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
je 0x421452
call fcn.0052932f
ret 8

Function at 0x4214f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [ecx + 4]
push edi
call fcn.0054fc30
mov eax, dword [eax + 4]
push esi
mov ecx, eax
call fcn.00550a84
mov esi, eax
test esi, esi
jne 0x421513
call fcn.0052932f
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
jne 0x421555
cmp dword [esp + 4], 4
jne 0x421555
cmp dword [esp], 4
je 0x42155a
call fcn.0052932f
add esp, 8
ret 8
Function at 0x421570
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
call fcn.0054fc30
mov eax, dword [eax + 4]
push esi
mov ecx, eax
call fcn.00550a84
mov esi, eax
test esi, esi
jne 0x421595
call fcn.0052932f
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x4215bc
cmp dword [esp + 0x14], 1
je 0x4215c1
call fcn.0052932f
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push eax
call fcn.00530fbf
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push ebx
push esi
call ebp
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.0053100e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
test ebx, ebx
pop ebp
pop ebx
je 0x421601
call fcn.0052932f
add esp, 8
ret 8
Function at 0x421800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x562810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edi, [esi + 0xc]
call dword [eax]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0x44000010
mov ecx, edi
call fcn.00544f88
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x421988
mov eax, vtable.CRgn.0
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
push 1
push 1
push ebx
push ebx
mov byte [esp + 0x4c], 1
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x18]
call fcn.005365f8
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x20]
call fcn.005365f8
mov ecx, dword [esi + 8]
xor eax, eax
cmp ecx, ebx
jle 0x4218ea
mov ebx, dword [sym.imp.GDI32.dll_SetRectRgn]
mov ebp, dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [esi + 4]
lea edi, [eax + 1]
sub ecx, eax
push edi
push ecx
push eax
mov eax, dword [esp + 0x24]
push 0
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 4
push ecx
push eax
push eax
call ebp
mov ecx, dword [esi + 8]
mov eax, edi
cmp eax, ecx
jl 0x4218bc
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.00536625
mov edx, dword [esi + 0x28]
push ebx
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea edi, [esi + 0xc]
cmp edi, ebx
jne 0x42190a
xor eax, eax
jmp 0x42190d
mov eax, dword [edi + 0x1c]
cmp edi, ebx
jne 0x421915
xor ebp, ebp
jmp 0x421918
mov ebp, dword [edi + 0x1c]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push str.ResizableGrip
push ebp
call dword [sym.imp.USER32.dll_SetPropA]
cmp edi, ebx
pop ebp
jne 0x421937
xor edi, edi
jmp 0x42193a
mov edi, dword [edi + 0x1c]
push 0x4219a0
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, esi
call fcn.00421760
push 1
mov ecx, esi
call fcn.004217e0
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.0053664f
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 3
call fcn.0053664f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4234e0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x562996
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2e4]
test al, 2
jne 0x423646
mov ecx, dword [esi + 0x14]
or al, 2
mov dword [esi + 0x2e4], eax
push 0x4c08
lea eax, [esi + 0x28]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ebx, [esi + 0x138]
push 2
push 0x5c4f24
push ebx
call fcn.005157d0
add esp, 0xc
lea edi, [esi + 0x194]
test eax, eax
mov ecx, edi
jne 0x42356f
push 0x5c4f1c
call fcn.00530d18
lea edx, [esi + 0x13a]
mov ecx, edi
push edx
call fcn.00530f6b
jmp 0x423646
push ebx
call fcn.00530d18
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x423646
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 4
jne 0x423646
lea edx, [esp + 0x10]
push 0xf374
push edx
call fcn.004ef2a0
add esp, 8
push eax
mov ecx, edi
mov dword [esp + 0xb8], 0
call fcn.00530cc8
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], ebx
call fcn.00530b8f
push 0x2e
mov ecx, esi
call fcn.004236c0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00530904
lea eax, [esp + 0x14]
push eax
call fcn.0049f6c0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb4], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x423636
lea ecx, [esp + 0xc]
call fcn.005310b1
push 0x5c4f18
push 0
mov ecx, edi
call fcn.00527ffd
mov edx, dword [esp + 0xc]
mov ecx, edi
push edx
push 0
call fcn.00527ffd
lea ecx, [esp + 0xc]
mov dword [esp + 0xb4], ebx
call fcn.00530b8f
mov ecx, dword [esp + 0xac]
lea eax, [esi + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret
Function at 0x423900
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x562a01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], edi
lea ebx, [esi + 0x10]
mov dword [esp + 0x28], edi
mov ecx, ebx
call fcn.00408f40
lea ebp, [esi + 0x14]
mov byte [esp + 0x28], 1
mov ecx, ebp
call fcn.00408f40
lea ecx, [esi + 0x18]
mov byte [esp + 0x28], 2
call fcn.00408f40
mov eax, dword [0x5d2d10]
mov dword [esi + 0x188], eax
mov ecx, dword [0x5d2d10]
mov dword [esi + 0x18c], ecx
mov edx, dword [0x5d2d10]
mov dword [esi + 0x190], edx
mov eax, dword [0x5d2d10]
mov dword [esi + 0x194], eax
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x2dc], edi
mov dword [esi + 0x2e0], edi
mov ecx, 0x58
xor eax, eax
lea edi, [esi + 0x28]
mov dword [esi], method.CCommandLineInfo.virtual_0
mov byte [esp + 0x28], 7
rep stosd dword es:[edi], eax
mov ecx, 0x50
lea edi, [esi + 0x198]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x24], eax
push ecx
call fcn.0050ba9d
mov edx, dword [eax]
mov dword [esi + 0x2d8], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x2dc], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x2e0], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], ecx
push eax
mov ecx, ebx
mov dword [esi + 0x20], edx
call fcn.00409240
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0x18]
push ecx
mov ecx, edi
call fcn.00409240
push edi
mov ecx, ebp
call fcn.00409240
push ebx
mov ecx, ebp
call fcn.00408fd0
xor ecx, ecx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2e4], ecx
cmp eax, ecx
mov dword [esi + 0x2e8], ecx
je 0x423a44
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x423dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x562b00
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
call fcn.00412290
lea ebp, [esi + 0x1d8]
mov dword [esp + 0x1c], 0
mov ecx, ebp
call fcn.00408f40
lea edi, [esi + 0x1dc]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.00408f40
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x1c], 2
call fcn.004104c0
lea ecx, [esi + 0x1f8]
mov byte [esp + 0x1c], 3
call fcn.004f2bf0
lea ebx, [esi + 0x1d0]
mov byte [esp + 0x1c], 4
push ebx
mov dword [esi], 0x581718
mov dword [esi + 0x3c], 0x5816e0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebx]
push edi
mov ecx, ebp
mov dword [esi + 0x1d4], eax
call fcn.00409240
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1e0], 1
mov dword [esi + 0x1f0], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4243e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x562bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.00408f40
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 8]
push eax
push 5
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, eax
test edi, edi
jge 0x424446
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00408f80
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edx, dword [esi]
push 1
push 1
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, esi
call dword [edx + 0xd8]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00408f80
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x424b60
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 2
push 0xffffffffffffffff
push 0x100c
mov eax, dword [edi + 0x1c]
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x424bbf
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
mov ecx, edi
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov ecx, dword [eax]
push 5
push 0
push 0
push ecx
push 0x5c47e0
push 0
call ebp
mov edx, dword [edi + 0x1c]
push 2
push esi
push 0x100c
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x424b88
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x424c20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x562c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov esi, ecx
call fcn.00424bd0
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xb0], 0
mov ecx, ebx
call fcn.00530b1a
push 0x5c
lea ecx, [esp + 0x14]
call fcn.005288d2
mov ebp, dword [esp + 0xb8]
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push 0x5c4f48
push ebx
call fcn.00528823
add esp, 0x10
mov edi, 2
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x424cbb
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
push str._s_s___d_
push ebx
call fcn.00528823
add esp, 0x14
inc edi
cmp edi, 0x400
jl 0x424c8f
mov eax, dword [ebx]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x424ce5
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00530b8f
xor eax, eax
jmp 0x424d9e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x424d24
cmp dword [esp + 0x24], 1
jne 0x424d24
lea ecx, [esi + 0x1dc]
push ecx
lea ecx, [esi + 0x1d8]
call fcn.004095a0
test eax, eax
je 0x424d24
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
push 1
push 1
mov ecx, esi
call dword [edx + 0xe8]
mov ecx, esi
xor edi, edi
call fcn.004149a0
test eax, eax
jle 0x424d85
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ecx, esi
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov ecx, dword [ebx]
mov eax, dword [eax]
push ecx
push eax
call fcn.00514e99
add esp, 8
test eax, eax
jne 0x424d79
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x1017
push eax
call ebp
push eax
call fcn.0052da16
mov ecx, esi
inc edi
call fcn.004149a0
cmp edi, eax
jl 0x424d45
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00530b8f
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 8
Function at 0x427b30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x562e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x427b8b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x427ba1
mov eax, dword [edi + 4]
test eax, eax
je 0x427ba8
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0054875e
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebp, eax
mov eax, dword [esi]
push 0x12
mov dword [esp + 0x44], eax
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.00535c7d
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CFont.0
mov eax, dword [esi + 8]
push 0x58
push eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.005487f3
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x5c4f64
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.00530bfd
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00530b8f
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0x18]
call fcn.0053664f
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00535c7d
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.0053664f
pop edi
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4