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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4708c2
call fcn.0040722e
mov esi, dword [eax + 0xc]
push dword [0x56eaf8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4708e0
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4708d8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47090d
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4708da
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004707d6
mov esi, eax
jmp 0x4708ff

Function at 0x4bcfc7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004f15c5
call fcn.00406c5f
cmp dword [eax + 0x14], 0
jne 0x4bcfe4
mov ecx, esi
pop esi
jmp fcn.004bcacc
pop esi
ret

Function at 0x4c0171
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0046a9b9
call fcn.00406c5f
cmp dword [eax + 0x14], 0
jne 0x4c018e
mov ecx, esi
pop esi
jmp fcn.004bfb44
pop esi
ret

Function at 0x4d2233
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d224b
mov edi, dword [esi + 0xc]
jmp 0x4d228b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d2264
call fcn.004075ed
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d2279
call fcn.004075ed
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d228b
call fcn.004075ed
call fcn.0040722e
cmp dword [eax + 0x3c], 0
je 0x4d22a0
push edi
mov ecx, ebx
call fcn.004d1065
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d214d
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d22be
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d22ca
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f6ec4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x569740]
jne 0x4f6ece
repz ret
jmp fcn.004fd434
Function at 0x50b035
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x569740]
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.004fedda
and dword [ebp - 0x14], 0
cmp dword [0x5713d0], 0
mov dword [ebp - 0x18], eax
jne 0x50b0e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50b190
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54a1a8
push ebx
call edi
test eax, eax
je 0x50b190
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54a198
push ebx
mov dword [0x5713d0], eax
call edi
push eax
call esi
push 0x54a184
push ebx
mov dword [0x5713d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5713d8], eax
call edi
push eax
call esi
mov dword [0x5713e0], eax
test eax, eax
je 0x50b0e8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5713dc], eax
mov eax, dword [0x5713dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50b141
cmp dword [0x5713e0], ecx
je 0x50b141
push eax
call esi
push dword [0x5713e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50b141
test ebx, ebx
je 0x50b141
call edi
test eax, eax
je 0x50b138
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50b138
test byte [ebp - 8], 1
jne 0x50b141
or dword [ebp + 0x10], 0x200000
jmp 0x50b174
mov eax, dword [0x5713d4]
cmp eax, dword [ebp - 0x18]
je 0x50b174
push eax
call esi
test eax, eax
je 0x50b174
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50b174
mov eax, dword [0x5713d8]
cmp eax, dword [ebp - 0x18]
je 0x50b174
push eax
call esi
test eax, eax
je 0x50b174
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5713d0]
call esi
test eax, eax
je 0x50b190
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50b192
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f6ec4
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4018c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4863a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.0043eaf0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.0043eef2
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov edi, esp
push eax
call fcn.00401380
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00401450
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0043edf9
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401972
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40199a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc

Function at 0x401de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401df9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401e34
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401e30
lea ebx, [ebx]
cmp esi, eax
jae 0x401e34
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401e20
cmp esi, eax
jb 0x401e3a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x402c90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48647a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401380
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00401380
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00401380
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.00401380
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 5
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 6
call fcn.00401380
add esp, 0x20
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4036b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x2c]
call fcn.0044e923
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0044e99e
test eax, eax
je 0x4037a3
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0044e99e
test eax, eax
je 0x403729
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x403706
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x14
jge 0x4037a3
mov ecx, dword [ebp + 8]
push esi
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0044e99e
test eax, eax
je 0x403777
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e94c
mov al, 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
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x14]
mov dword [ebp - 4], 0
jmp 0x403730
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e94c
xor al, al
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 0x403820
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40385f
cmp dword [esp + 0x14], 2
jne 0x40385f
cmp dword [esp + 8], 6
lea eax, [esi + 1]
jae 0x403861
mov eax, esi
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.00467b90
add esp, 0x118
ret
Function at 0x404310
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4865bb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x43c]
mov edi, dword [esp + 0x440]
push 0
push 0
push 0
push 0
mov ebx, 1
push 0x494c78
mov dword [esp + 0x448], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push SysReAllocString
push 0
push 0
mov ebp, eax
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x14], ebx
call fcn.0044ffba
push 0
push 0x1001
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 2
call fcn.00450432
test eax, eax
jne 0x404435
push eax
push eax
push 0x48ffb4
call fcn.0044bd8b
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], bl
call fcn.004500c2
mov eax, dword [esp + 0x43c]
add eax, 0xfffffff0
mov byte [esp + 0x434], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x440]
add eax, 0xfffffff0
mov dword [esp + 0x434], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40442e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x4044f8
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x14]
nop
test eax, eax
jbe 0x404477
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push esi
call ebx
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x404473
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.0044fcf0
mov eax, dword [esp + 0x14]
test edi, edi
jne 0x404440
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
lea ecx, [esp + 0x18]
call fcn.0044ff54
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 1
call fcn.004500c2
mov eax, dword [esp + 0x43c]
add eax, 0xfffffff0
mov byte [esp + 0x434], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x440]
add eax, 0xfffffff0
mov dword [esp + 0x434], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00467b90
add esp, 0x424
ret
Function at 0x405400
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4866b8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x22c]
mov esi, dword [esp + 0x234]
mov dword [esp + 0xc], 0
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x230], 0
call fcn.00467da0
mov ecx, dword [esp + 0x244]
add esp, 0xc
push 0
push ecx
lea edx, [esp + 0x18]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x238]
call fcn.00402d90
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x238]
call fcn.00402d90
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
push eax
call fcn.00401380
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x234]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x224], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4054ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00467b90
add esp, 0x21c
ret
Function at 0x405ef0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x486898
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
call fcn.0044ba29
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405f39
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x24], 1
mov esi, 3
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
test esi, esi
jl 0x405f81
cmp esi, ecx
jg 0x405f81
lea ecx, [eax + esi*2]
push 0x48fda0
push ecx
call fcn.00467d3a
add esp, 8
test eax, eax
je 0x405f81
sub eax, dword [esp + 0x2c]
sar eax, 1
mov esi, eax
jmp 0x405f84
or esi, 0xffffffff
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x34]
call fcn.004046f0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebp - 0x10]
mov byte [esp + 0x24], 2
cmp eax, edi
je 0x405ff0
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x405fde
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x405fde
push eax
call fcn.00401380
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x405fd5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea ebp, [ebx + 0x10]
mov dword [esp + 0x14], ebp
jmp 0x405ff0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402100
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc esi
cmp esi, 2
jg 0x405f53
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406049
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406071
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x407070
Capabilities:
Access peb ldr_data
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x486a90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x49e844
push 1
push 0
push 0x49e914
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4070e7
lea ecx, [esp + 0x18]
call fcn.0044e923
mov esi, dword [esp + 0x40]
push 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.0044e99e
test eax, eax
jne 0x4070fa
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044e94c
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x407158
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407125
sub eax, edx
sar eax, 1
je 0x407158
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.0044e99e
test eax, eax
je 0x407158
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x49e8d4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4070d6
mov esi, dword [esp + 0x48]
push esi
lea ecx, [esp + 0xc]
call fcn.00402410
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.00404c00
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x4071b6
push 0x490094
push ecx
call fcn.00467d3a
add esp, 8
test eax, eax
je 0x4071b6
sub eax, dword [esp + 8]
sar eax, 1
jns 0x4071d0
push esi
lea ecx, [esp + 0xc]
call fcn.004023d0
push 0x490094
lea ecx, [esp + 0xc]
call fcn.00403300
jmp 0x4071da
push esi
lea ecx, [esp + 0xc]
call fcn.004023d0
mov eax, dword [esp + 8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00401380
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00405ef0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
add esp, 4
push 2
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40724e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044e94c
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x407450
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00467da0
mov ecx, dword [esp + 0x228]
add esp, 0xc
push 0
push ecx
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00402410
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00467b90
add esp, 0x210
ret