joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4165b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdbbd
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], ecx
xor ecx, ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x424], ecx
push ecx
cmp eax, ecx
jne 0x416622
mov dword [ebx + 0x10], ecx
xor edx, edx
mov dword [ebx + 0x14], 7
push 0x4cd850
mov ecx, ebx
mov word [ebx], dx
call fcn.0040efc0
jmp 0x416758
push 0x80
push 3
push ecx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416664
xor eax, eax
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push 0x4cd850
mov ecx, ebx
mov word [ebx], ax
call fcn.0040efc0
jmp 0x416758
mov ecx, esi
call fcn.004159f0
mov eax, dword [ebp - 0x41c]
xor ecx, ecx
mov dword [ebp - 0x418], ecx
cmp eax, ecx
jbe 0x4166e3
mov byte [ebp - 0x411], cl
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x42c], ecx
lea ecx, [ebp - 0x411]
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.004018d4
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x434]
push 0
lea edx, [ebp - 0x420]
push edx
push eax
push ecx
push edi
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x4166e3
push eax
call fcn.0047d656
add esp, 4
push 0
lea edx, [ebp - 0x418]
push edx
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x418]
push ecx
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.00416150
cmp dword [ebp - 0x418], 0
ja 0x4166e3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x43c]
push eax
mov ecx, esi
call fcn.004163b0
push eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00416210
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
call fcn.004146c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418290
Capabilities:
Contain obfuscated stackstrings
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be028
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x60]
push ecx
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [ebp - 0x60], 0x6f0053
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x610077
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x5c005c
mov dword [ebp - 0x4c], 0x6c0041
mov dword [ebp - 0x48], 0x780065
mov dword [ebp - 0x44], 0x200061
mov dword [ebp - 0x40], 0x6e0049
mov dword [ebp - 0x3c], 0x650074
mov dword [ebp - 0x38], 0x6e0072
mov dword [ebp - 0x34], 0x740065
mov dword [ebp - 0x30], 0x5c005c
mov dword [ebp - 0x2c], 0x6c0041
mov dword [ebp - 0x28], 0x780065
mov dword [ebp - 0x24], 0x390061
mov dword [ebp - 0x20], 0x5c005c
mov dword [ebp - 0x1c], 0x6c0041
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x61
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [ebp - 0x64]
push edx
call fcn.00498d50
mov eax, dword [eax]
push 0
push eax
push str.AIDCreateDay
push str.AlexaSetting
mov dword [ebp - 4], 0
call fcn.0041f0d0
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183a0
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x41e560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beccb
mov eax, dword fs:[0]
push eax
mov eax, 0xc800c
call fcn.0047e8f0
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor edx, edx
push 0xc7ffe
mov dword [ebp - 0xc8014], eax
push edx
lea eax, [ebp - 0xc800e]
push eax
mov dword [ebp - 0xc8018], ecx
mov word [ebp - 0xc8010], dx
call fcn.0047e610
mov ecx, dword [ebp - 0xc8018]
mov eax, dword [edi]
add esp, 0xc
push ecx
push 0x63fff
lea edx, [ebp - 0xc8010]
push edx
push eax
mov eax, dword [ebp - 0xc8014]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xc8010]
push ecx
lea ecx, [ebp - 0xc8014]
call fcn.00402008
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040195e
mov eax, dword [ebp - 0xc8014]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
test esi, esi
jne 0x41e649
push 0x80004005
call fcn.00401000
mov eax, dword [edi]
mov ecx, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e676
test dx, dx
je 0x41e672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e676
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e650
xor eax, eax
jmp 0x41e67b
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x428730
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0047e8f0
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4287ca
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x100c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
push esi
call ebx
mov eax, dword [ebp - 0x1008]
push 0
lea edx, [ebp - 0x100c]
push edx
mov edx, dword [edi + 4]
push eax
lea ecx, [ebp - 0x1004]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1008], 0
ja 0x428781
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4

Function at 0x428e20
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0573
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ebx, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428ee4
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x428ee4
lea ecx, [ebp - 0xc8]
call fcn.00416130
mov eax, dword [esi]
push 0
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0
call fcn.004165b0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x428e9f
mov eax, dword [eax]
test eax, eax
jne 0x428ead
push 0x80004005
call fcn.00401000
mov ecx, dword [ebx]
push eax
push ecx
call fcn.0047eb73
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x18], 8
jb 0x428ed0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047d656
add esp, 4
test bl, bl
je 0x428edb
mov eax, 1
jmp 0x428ee6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x4296e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0669
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x4fc7ec
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004aa340
mov dword [esi + 0x28], edi
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

Function at 0x429770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0669
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x4fc7ec
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004aa340
mov dword [esi + 0x28], edi
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 0x42ade0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c08c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x34
call fcn.0047e06e
mov esi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x42ae79
mov ecx, dword [edi + 4]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 8]
mov word [esi + 0x30], ax
mov dword [ebp - 4], eax
push edx
lea eax, [esi + 0xc]
push eax
add edi, 0xd
push edi
mov dword [esi + 8], ecx
call fcn.0042ab10
add esp, 0xc
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
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call fcn.0047de96
push 0x4e6434
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0047d9d1
int3

Function at 0x42b8d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0988
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e6c0
mov esi, dword [ebx + 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040e6f0
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42b984
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [ebp - 0x38], ecx
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0042a620
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00416b10
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push ecx
push 4
push edx
push eax
push edi
push edi
mov dword [ebp - 0x10], edi
call fcn.004816b2
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x42b99a
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0042a4d0
xor eax, 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 0xc
mov ecx, dword [ebp - 0x10]
push esi
push ecx
mov ecx, ebx
call fcn.0042b800
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0042a4d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e810
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c104b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [esi], 0x3c
mov dword [esi + 4], 0x32
mov dword [esi + 8], 0x55
mov dword [esi + 0xc], 0x64
mov dword [esi + 0x10], 0x2710
mov dword [esi + 0x14], 0xc
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x18
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
call fcn.0047e06e
add esp, 4
cmp eax, edi
je 0x42e8b6
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
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
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], edi
call fcn.0047de96
push 0x4e6434
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0047d9d1
int3
Function at 0x431fd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c176f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], vtable.IObserver.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
mov dword [esi], vtable.KRemoteTracer.1.0
mov dword [esi + 4], vtable.KRemoteTracer.0
mov dword [esi + 0x10], eax
call fcn.0040e690
lea ecx, [esi + 0x30]
push edi
push ecx
mov byte [ebp - 4], 3
call fcn.004a0900
add esp, 8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
cmp eax, edi
je 0x43205a
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
push 0x18
mov byte [ebp - 4], 5
mov dword [esi + 0x48], edi
call fcn.0047e06e
add esp, 4
cmp eax, edi
je 0x4320dd
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x44]
mov byte [edx + 0x14], 1
mov eax, dword [esi + 0x44]
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x4320c8
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4320c8
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4320c8
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
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 0xc
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x10], edi
call fcn.0047de96
push 0x4e6434
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0047d9d1
int3
Function at 0x434cb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.0041ed40
add esp, 0xc
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x434d0f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434d6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434d6d
mov edx, dword [0x4fc7ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc7ec
mov dword [ebp - 0x28], 0x65
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 1
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004343f0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434d6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434d93
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 esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2380
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
call edx
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x4fc7ec
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004aa340
mov dword [ebp - 0x2c], edi
push edi
push edi
push str.URLConfig
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 4
call fcn.004a9230
lea ecx, [ebp - 0x54]
call fcn.004a61d0
mov eax, dword [esi + 0x30]
push edi
push eax
push 0x4d0cbc
lea ecx, [ebp - 0x54]
call fcn.004aa080
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp eax, edi
jle 0x4390d2
xor ebx, ebx
cmp eax, edi
jbe 0x4391bc
lea eax, [ebx + ecx]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.00438910
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, ecx
inc edi
sar eax, 5
add ebx, 0x20
cmp eax, edi
jg 0x4390a8
xor edi, edi
lea ecx, [ebp - 0x54]
call fcn.004a6210
add esi, 0x14
push esi
lea ecx, [ebp - 0x18]
call fcn.0040e6c0
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], esp
call fcn.004a9670
lea ecx, [ebp - 0x18]
movzx ebx, al
mov byte [ebp - 4], 4
call fcn.0040e6f0
mov edx, dword [ebp - 0x20]
dec edx
sar edx, 0x10
inc edx
xor esi, esi
mov dword [ebp - 4], 7
test edx, edx
jle 0x43913d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
push eax
call fcn.0047ecd6
mov ecx, dword [ebp - 0x20]
dec ecx
sar ecx, 0x10
inc esi
inc ecx
add esp, 4
cmp esi, ecx
jl 0x439121
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x43914d
push eax
call fcn.0047ecd6
add esp, 4
cmp dword [ebp - 0x28], edi
je 0x43915a
lea ecx, [ebp - 0x28]
call fcn.00428fd0
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4391a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
push str.invalid_vector_T__subscript
call fcn.0047c965
int3
Function at 0x439340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], vtable.TaskRecordList.0
call fcn.0040e690
mov dword [esi + 0x30], edi
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
Function at 0x448820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0047e06e
add esp, 4
cmp eax, ebx
je 0x448920
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp - 0xd]
push edx
mov dword [esi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0049b2d0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
push 8
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call fcn.0047e06e
add esp, 0x10
cmp eax, ebx
je 0x4488fc
lea ecx, [ebp - 0x24]
push ecx
push eax
lea edx, [ebp - 0xd]
push edx
mov dword [edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0049b2d0
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
lea ecx, [esi + 0x7c]
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
push ecx
mov byte [esi + 0x60], bl
call fcn.004465c0
add esp, 0x10
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
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.0047de96
push 0x4e6434
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.0047d9d1
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], ebx
call fcn.0047de96
push 0x4e6434
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
call fcn.0047d9d1
int3