joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43a42b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041bcf6
push 4
mov dword [esp + 0x20], 0
call fcn.0041d543
mov edi, eax
add esp, 4
test edi, edi
je 0x40ea40
call fcn.0041c078
mov dword [edi], eax
call fcn.0041bea9
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0041c3f6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40ea35
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0041c417
jmp 0x40ea42
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4107f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esi]
add eax, eax
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esi], 0
mov edx, dword [ecx]
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
shr ecx, 1
test eax, eax
mov dword [esi], ecx
jne 0x410841
mov eax, dword [esp + 8]
cmp eax, 1
je 0x41083f
cmp eax, 2
je 0x41083f
mov eax, 0xd
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x410d40
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x410e60
push edi
push 0x118
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00420090
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x11c
call edi
cmp eax, ebx
jne 0x410da0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call edi
cmp eax, ebx
je 0x410dd5
movzx ecx, word [esp + 0x30]
mov eax, dword [esi + 0x14]
mov word [eax + 0x38], cx
mov edx, dword [esi + 0x14]
mov ax, word [esp + 0x34]
mov word [edx + 0x3a], ax
mov ecx, dword [esi + 0x14]
mov dx, word [esp + 0x140]
mov word [ecx + 0x3e], dx
movzx ecx, word [esp + 0x38]
mov eax, dword [esi + 0x14]
mov word [eax + 0x3c], cx
jmp 0x410df1
mov edx, dword [esi + 0x14]
mov word [edx + 0x38], bx
mov eax, dword [esi + 0x14]
mov word [eax + 0x3a], bx
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x3e], bx
mov edx, dword [esi + 0x14]
mov word [edx + 0x3c], bx
xor eax, eax
push str.GetNativeSystemInfo
push 0x443ccc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
pop edi
je 0x410e3c
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x410e47
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
mov cx, word [esp + 4]
mov word [eax + 0x40], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esi + 0x14]
mov word [edx + 0x42], ax
mov ecx, dword [esp + 0x144]
pop ebx
xor ecx, esp
call fcn.0041cb94
add esp, 0x144
ret
Function at 0x4116a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 1
xor esi, esi
push esi
push str.SoftwareTencentWIN10Helper
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411703
mov esi, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.SupplyID
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
mov edi, dword [esp + 0xc]
je 0x411712
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0041cb94
add esp, 0x10
ret

Function at 0x411730
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43afeb
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48c]
add eax, 0x9c
call fcn.00411340
xor edi, edi
mov esi, eax
mov ebx, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
lea eax, [esp + 0x14]
push eax
push 1
push edi
push str.SoftwareTencentWIN10Helper
mov dword [esp + 0x494], edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x411878
mov ebp, dword [esp + 0x14]
push 0x410
lea ecx, [esp + 0x66]
push edi
push ecx
mov dword [esp + 0x44], ebp
mov word [esp + 0x6c], di
call fcn.00420090
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push str.Version
push ebp
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x41186d
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x411818
cmp eax, 2
jne 0x41186d
lea eax, [esp + 0x60]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411830
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x64]
push edx
lea esi, [esp + 0x24]
call fcn.00408070
mov eax, esi
call fcn.00411340
cmp dword [esp + 0x34], 8
mov esi, eax
mov ebx, edx
jb 0x41186d
mov eax, dword [esp + 0x20]
push eax
call fcn.0041c4fe
add esp, 4
cmp ebp, edi
je 0x411878
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.0041cb94
add esp, 0x474
ret 4
Function at 0x411b60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43af88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.004079e0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411bb4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00411f50
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.004079e0
cmp dword [esp + 0x24], 8
jb 0x411bfa
mov eax, dword [esp + 0x10]
push eax
call fcn.0041c4fe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x411df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43af53
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esi + 0x10]
mov word [esi + 4], 0x1388
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
xor ebx, ebx
push 0x13
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.masterconn11.qq.com
mov dword [esp + 0x10], esi
mov byte [ecx + 4], bl
call fcn.00407f10
push 0xffffffffffffffff
mov dword [esp + 0x38], ebx
lea eax, [esi + 0x10]
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00407880
mov byte [esp + 0x34], 1
cmp dword [esp + 0x24], 0x10
movzx eax, word [esi + 8]
mov ecx, dword [esp + 0x10]
jae 0x411e91
lea ecx, [esp + 0x10]
push 1
push eax
push ecx
call dword [0x44cf44]
cmp dword [esp + 0x24], 0x10
mov dword [esi], eax
jb 0x411eb1
mov eax, dword [esp + 0x10]
push eax
call fcn.0041c4fe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041cb94
add esp, 0x30
ret
Function at 0x412750
Capabilities:
Create thread

Disassembly:
sub esp, 0xf8
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0xf0], eax
cmp dword [0x44d01c], 0
push ebp
push esi
push edi
mov esi, ecx
je 0x41278f
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0041cb94
add esp, 0xf8
ret
call fcn.00413070
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4127a0
sub eax, edx
sar eax, 1
push eax
push esi
mov esi, 0x44cff0
call fcn.00408070
xor eax, eax
push 0xc6
push eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
mov dword [0x44d01c], 1
mov byte [esp + 0x1c], 0
call fcn.00420090
add esp, 0xc
push 1
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea ecx, [esp + 0x38]
push 0x63
push ecx
call fcn.0041e083
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
lea edx, [esp + 0x30]
push edx
push 1
push 1
lea eax, [esp + 0x30]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov eax, dword [0x44cfe4]
test eax, eax
je 0x41287c
push eax
call ebp
push 0
push 0
push 0
push 0
mov dword [0x44cfe4], edi
call esi
mov esi, eax
mov eax, dword [0x44cfe8]
test eax, eax
je 0x41289a
push eax
call ebp
cmp dword [0x44cfe4], 0
mov dword [0x44cfe8], esi
je 0x4128fa
test esi, esi
je 0x4128fa
push 0
push 0
push 0x44cfe0
push 0x412de0
push 0
push 0
call fcn.0041db45
mov esi, eax
mov eax, dword [0x44cfec]
add esp, 0x18
test eax, eax
je 0x4128d5
push eax
call ebp
xor eax, eax
test esi, esi
mov dword [0x44cfec], esi
setne al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0041cb94
add esp, 0xf8
ret
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0041cb94
add esp, 0xf8
ret
Function at 0x412fe0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x2c], 0
push esi
lea esi, [eax + 0x2c]
jne 0x413061
cmp dword [eax + 0x28], 8
jb 0x412ff6
mov eax, dword [eax + 0x14]
jmp 0x412ff9
add eax, 0x14
push 0x443e38
push eax
push esi
call fcn.0041ecb8
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x413061
push edi
push 2
push 0
push eax
call fcn.0041ed8f
mov eax, dword [esi]
push eax
call fcn.0041efac
mov ecx, dword [esi]
push 0
push 0
push ecx
mov edi, eax
call fcn.0041ed8f
add esp, 0x1c
test edi, edi
pop edi
jne 0x413061
mov edx, dword [esi]
push edx
push 2
lea eax, [esp + 0xc]
mov word [esp + 0xd], 0
push 1
push eax
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
mov byte [esp + 0x16], 0
call fcn.0041f179
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret

Function at 0x413070
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43c158
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x44cff4]
mov ebx, 8
cmp dword [0x44d008], ebx
jae 0x4130ad
mov eax, 0x44cff4
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x413186
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4130e3
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x413186
cmp dword [0x44d008], ebx
mov ecx, dword [0x44cff4]
jae 0x413109
mov ecx, 0x44cff4
lea eax, [esp + 0x14]
push eax
call fcn.00401b70
lea esi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.004131a0
cmp dword [0x44d008], ebx
mov edi, dword [0x44cff4]
jae 0x413137
mov edi, 0x44cff4
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
call ebx
push 1
push esi
call fcn.00415080
add esp, 8
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4137f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43ad3b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov dword [esp + 0x38], edi
mov word [esp + 0x3c], di
call fcn.00420090
mov eax, 1
add esp, 0xc
test byte [0x44d36c], al
lea ebp, [edi + 7]
jne 0x41387e
or dword [0x44d36c], eax
push 0x43c9e0
mov dword [0x44d368], ebp
mov dword [0x44d364], edi
mov word [0x44d354], di
call fcn.0041ce30
add esp, 4
cmp dword [0x44d364], edi
jne 0x413910
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4138b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x18]
call fcn.00408070
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x44d350
mov dword [esp + 0x24c], edi
call fcn.004079e0
mov dword [esp + 0x244], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x413903
mov eax, dword [esp + 0x14]
push eax
call fcn.0041c4fe
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x44d350
mov ecx, ebx
mov word [ebx + 4], di
call fcn.004079e0
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0041cb94
add esp, 0x238
ret

Function at 0x413960
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43b782
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], di
push 0x208
lea eax, [esp + 0x1a]
mov dword [esp + 0x230], edi
push edi
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x20], di
call fcn.00420090
add esp, 0xc
push edi
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4139f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00408070
mov edi, esi
call fcn.00413fb0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041cb94
add esp, 0x224
ret
Function at 0x413a40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43b782
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], di
push 0x208
lea eax, [esp + 0x1a]
mov dword [esp + 0x230], edi
push edi
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x20], di
call fcn.00420090
add esp, 0xc
push edi
push 0x19
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x413ad0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00408070
mov edi, esi
call fcn.00413fb0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041cb94
add esp, 0x224
ret

Function at 0x413b20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43b782
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], di
push 0x208
lea eax, [esp + 0x1a]
mov dword [esp + 0x230], edi
push edi
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x20], di
call fcn.00420090
add esp, 0xc
push edi
push 2
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x413bb0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00408070
mov edi, esi
call fcn.00413fb0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041cb94
add esp, 0x224
ret
Function at 0x413c00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43b782
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], di
push 0x208
lea eax, [esp + 0x1a]
mov dword [esp + 0x230], edi
push edi
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x20], di
call fcn.00420090
add esp, 0xc
push edi
push 0x17
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x413c90
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00408070
mov edi, esi
call fcn.00413fb0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041cb94
add esp, 0x224
ret
Function at 0x414280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43bc38
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebp, ebp
mov ebx, edx
mov eax, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x4142d0
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x58]
call fcn.00408070
mov dword [esp + 0x78], ebp
mov eax, dword [ebx + 0x14]
push 0x442a34
mov edi, 1
mov ecx, ebx
call fcn.0040c480
test eax, eax
push 0xffffffffffffffff
push ebp
jne 0x41431c
mov eax, esi
mov ecx, ebx
call fcn.004079e0
cmp dword [esp + 0x68], 8
jmp 0x414476
mov eax, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004079e0
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 1
call fcn.00413d50
cmp dword [esp + 0x64], ebp
jbe 0x4143b5
mov edx, dword [esp + 0x2c]
cmp edx, ebp
jbe 0x4143b5
lea edi, [edx - 1]
cmp edi, edx
jbe 0x414364
call fcn.0041d74b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x414377
lea eax, [esp + 0x1c]
movzx ecx, word [eax + edi*2]
xor eax, eax
lea ecx, [ecx]
cmp cx, word [eax + 0x442e38]
je 0x4143ba
add eax, 2
cmp eax, 4
jb 0x414380
lea esi, [esp + 0x18]
mov edi, edx
call fcn.004135f0
add eax, 1
cmp eax, edi
je 0x4143b5
push 0x5c
mov eax, 1
mov ebx, esi
call fcn.00414550
mov ebx, dword [esp + 0x14]
mov esi, 8
lea edi, [esp + 0x18]
call fcn.00413fb0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
call fcn.004079e0
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.00414000
cmp dword [esp + 0x4c], esi
mov edx, dword [esp + 0x38]
jae 0x414400
lea edx, [esp + 0x38]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x414405
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00411f50
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.004079e0
cmp dword [esp + 0x4c], esi
jb 0x414440
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041c4fe
add esp, 4
cmp dword [esp + 0x30], esi
mov edi, 7
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
jb 0x414465
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041c4fe
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jb 0x414485
mov eax, dword [esp + 0x54]
push eax
call fcn.0041c4fe
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0041cb94
add esp, 0x68
ret