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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf2ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0xafb520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
lea eax, [ebp - 0x18]
push 0xb3b880
xor edi, edi
push eax
xor esi, esi
mov dword [ebp - 4], edi
call fcn.00ada1b0
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp dword [ecx - 0xc], edi
je 0xadb805
cmp edi, 2
jge 0xadb805
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
xor eax, eax
push 2
test edi, edi
push 0
setne al
push 0
push 0
push ecx
mov dword [ebp - 0x14], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xadb7fc
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x28], ecx
test ebx, ebx
jne 0xadb7c8
lea eax, [ebx + 0xd]
jmp 0xadb7e8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push 0xaf7880
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x28]
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test ecx, ecx
je 0xadb7fc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
inc edi
jmp 0xadb781
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0xadb845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xadda30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf2f67
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xafb520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0xaf7814
mov dword [ebx + 0x60], 0xaf7790
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0xaf77d0
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.00adaba0
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.00adf4b0
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0xaddabb
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push 0
mov ecx, esi
call fcn.00adaa60
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], 0xaf7810
call fcn.00adf130
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], 0xaf77d4
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0xb3d624]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xadeba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf2c18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xafb520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0xaded31
cmp byte [ebx + 0x49], 0
je 0xaded31
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0xaded25
lea esi, [ebp - 0x2c]
call fcn.00ade780
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xadec13
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0xadec4c
dec eax
je 0xadec50
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0xaded2c
call fcn.00add2f0
xor al, al
jmp 0xaded33
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xadec60
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0xadec8d
cmp edi, 0x10
jae 0xadec6f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00ae23c2
add esp, 0x10
cmp esi, eax
jne 0xaded1d
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0xaded29
test esi, esi
jne 0xadec07
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0xaded4e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0xaded4e
cmp edi, esi
jae 0xaded06
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00adf340
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0xadec07
mov ecx, eax
cmp edi, 0x10
jae 0xadece2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0xadecfd
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0xadec01
test esi, esi
jne 0xadecd8
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0xaded15
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0xadec01
lea ecx, [ebp - 0x2c]
call fcn.00add2f0
xor al, al
jmp 0xaded33
lea ecx, [ebp - 0x2c]
call fcn.00add2f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ae13cb
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00ae0619
int3
Function at 0xadf130
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf2beb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xafb520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0xaf7794
call fcn.00ae1069
push 4
mov dword [ebp - 4], 0
call fcn.00ae18aa
mov edi, eax
add esp, 4
test edi, edi
je 0xadf1ac
call fcn.00ae0a3a
mov dword [edi], eax
call fcn.00ae07f9
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00ae072e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xadf1a2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00ae0756
jmp 0xadf1ae
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xadfcc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf2f18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0xafb520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0xafc598
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00ada1b0
add esp, 8
lea ecx, [ebp - 0x18]
push 0xafc5fc
push ecx
mov byte [ebp - 4], 1
call fcn.00ada1b0
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00ad6e80
add esp, 4
cmp eax, ebx
je 0xadfd51
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.00ad69d0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0xadfddd
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0xadfddd
cmp dword [esi - 0xc], ebx
je 0xadfddd
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0xadfddd
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.00adfc30
test eax, eax
jne 0xadfdc1
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0xadfdc1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0xadfdc4
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0xadfdd2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0xadfd70
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0xadfdfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0xadfe20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0xadfe42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xae0160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xae01ce
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0xae019d
cmp eax, 2
jne 0xae01b8
mov eax, dword [ebp - 4]
test esi, esi
je 0xae01c8
test eax, eax
je 0xae01c3
test al, 1
jne 0xae01b8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0xae01c8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0xae13cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xafb520]
jne 0xae13d5
repz ret
jmp fcn.00ae757a
Function at 0xaefb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xafb520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00ae6e52
and dword [ebp - 0x14], 0
cmp dword [0xb3d558], 0
mov dword [ebp - 0x18], eax
jne 0xaefc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xaefcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xaefcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xb3d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xb3d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xb3d560], eax
call edi
push eax
call esi
mov dword [0xb3d568], eax
test eax, eax
je 0xaefc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xb3d564], eax
mov eax, dword [0xb3d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0xaefc78
cmp dword [0xb3d568], ecx
je 0xaefc78
push eax
call esi
push dword [0xb3d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xaefc78
test ebx, ebx
je 0xaefc78
call edi
test eax, eax
je 0xaefc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xaefc6f
test byte [ebp - 8], 1
jne 0xaefc78
or dword [ebp + 0x10], 0x200000
jmp 0xaefcab
mov eax, dword [0xb3d55c]
cmp eax, dword [ebp - 0x18]
je 0xaefcab
push eax
call esi
test eax, eax
je 0xaefcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xaefcab
mov eax, dword [0xb3d560]
cmp eax, dword [ebp - 0x18]
je 0xaefcab
push eax
call esi
test eax, eax
je 0xaefcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xb3d558]
call esi
test eax, eax
je 0xaefcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xaefcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ae13cb
leave
ret
Function at 0x401030
Capabilities:
Terminate process

Disassembly:
push 0
push 0x95503c
push 0x955044
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4011c0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 8]
pop edi
cmp cl, 0x22
pop esi
sete al
add esp, 0x104
ret

Function at 0x401210
Capabilities:
Check for peb beingdebugged flag
Terminate process

Disassembly:
mov ecx, dword [0x9574f0]
cmp ecx, 5
jge 0x401222
inc ecx
mov dword [0x9574f0], ecx
xor eax, eax
test ecx, ecx
jle 0x40123e
cmp eax, 5
je 0x401238
cmp eax, 3
jne 0x401233
inc ecx
inc eax
cmp eax, ecx
jl 0x401228
mov dword [0x9574f0], ecx
push eax
add eax, 1
sub eax, ebx
pop eax
push 0x9574e8
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x9574e0], eax
call fcn.004011c0
test eax, eax
je 0x401272
call fcn.00401140
test eax, eax
je 0x401272
jmp fcn.00401060
jmp fcn.00401030

Function at 0x950060
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push eax
xor eax, eax
mov eax, dword fs:[0x30]
xor ebx, ebx
movzx ebx, byte [eax + 2]
xor eax, eax
pop eax
test ebx, ebx
jne 0x95007e
jmp 0x950085
call fcn.00950030
jmp 0x95008a
call fcn.00950000
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e8331
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004e83b0
jae 0x4e833d
xor ecx, ecx
call fcn.004e83b0
jae 0x4e8367
xor eax, eax
call fcn.004e83b0
jae 0x4e8378
mov al, 0x10
call fcn.004e83b0
adc al, al
jae 0x4e8359
jne 0x4e83a5
stosb byte es:[edi], al
jmp 0x4e833e
call fcn.004e83bc
dec ecx
loop 0x4e8384
mov eax, ebp
call fcn.004e83ba
jmp 0x4e83a6
lodsb al, byte [esi]
shr eax, 1
je 0x4e83cc
adc ecx, 2
mov ebp, eax
jmp 0x4e83a6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004e83ba
cmp eax, 0x7d00
jae 0x4e83a4
cmp eax, 0x500
jae 0x4e83a5
cmp eax, 0x7f
ja 0x4e83a6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4e833e
pop ebp
ret 8
Function at 0x4012d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e0b2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45bb20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
lea eax, [edi + 4]
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
lea eax, [edi + 8]
lea ecx, [esi + 8]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
test ecx, ecx
je 0x401385
cmp ecx, 0xffffffff
je 0x40137d
lock inc dword [eax]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
jmp 0x4013bf
call dword [sym.imp.Qt5CoreKso.dll_public:_static_struct_kso_qt::QMapDataBase____cdecl_kso_qt::QMapDataBase::createData_void_]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x34]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4013bf
push eax
call fcn.004022a0
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 0xc]
lea ecx, [eax + 8]
mov eax, dword [edx]
and eax, 3
or ecx, eax
mov dword [edx], ecx
mov ecx, dword [esi + 0x34]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QMapDataBase::recalcMostLeftNode_void_]
mov eax, dword [edi + 0x38]
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], eax
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QString_const__]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ef00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440197
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x45bb20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x40efad
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40efa0
jmp 0x40effb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40f00e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40f00e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eff0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00402190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret
Function at 0x40f9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45bb20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40fa7c
cmp byte [esi + 0x3d], 0
je 0x40fa7c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40fa6a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40fa31
sub eax, 1
je 0x40fa35
sub eax, 2
jne 0x40fa6a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40fa53
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40fa6a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret