joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40920a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d398
push 0x409342
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40f8b8], 0xffffffff
or dword [0x40f8bc], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40f7bc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x40f7b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40f8b4], eax
call fcn.00409341
cmp dword [0x40e290], 0
jne 0x40928d
push 0x40933e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040932c
push 0x40e00c
push 0x40e008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40f7b4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40f7b0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40e004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4e2674
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e26c0
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e26a5
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e26b5
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e26d0
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e270f
test ebx, ebx
je 0x4e26e4
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e26d9
cmp ecx, 0xfff1
jb 0x4e26f2
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e27fa
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2734
Function at 0x4face4
Capabilities:
Encode data using xor

Disassembly:
jae 0x4fad3b
salc
das
ror dword [eax], cl
sub dl, byte [edi + 0x5e8cb49c]
pop ebx
sub dword [ebx + 0x31bff24f], esi
mov dh, 2
sbb eax, 0xa990a1ee
push edx
fidivr word [ecx]
inc esp
push 0xffffffffffffffd9
dec edi
mov edi, 0x1d02b631
out dx, al
mov eax, dword [0xde52a990]
cmp dword [edx + ebp*2 - 0x27], eax
xor byte [eax], 0x83
cmp byte [eax + 0x1c], dl
sbb al, 0xa8
invalid
sbb al, 0xa8
mov ebx, 0x6adb5e6a
xlatb
push 0x5e
fld xword [edx - 0x29]
mov al, 0xe2
daa
lahf
mov eax, 0xc03cdd52
xchg ecx, eax
js 0x4facce
out dx, eax
popal
jp 0x4facbf
pop esi
salc
pop dword [ebx + 0x3526a638]
cwde
cdq
test dword [edi - 0x51], ebx
into
inc esi
mov byte [0x4e77e39b], al
dec esi
je 0x4fad65
wait
xor ebp, dword [edx - 0x1b3ddbaf]
inc ebx
cli
push edx
xchg esp, eax
test al, 0xdc
or eax, 0xb32db32a
jge 0x4face7
mov esp, 0x7f42960
call 0x7219f02e
stosd dword es:[edi], eax
dec esp
ret
pop ds
push ebx
pop ebp
pop edx
mov al, 0xef
add ebp, dword [edx]
xchg byte [ebx], dl
adc esi, dword [edx + 0x3363822a]
mov dword [0xff101861], eax
invalid
invalid
into
sal byte [edi], cl
movsb byte es:[edi], byte [esi]
adc byte [esi + ebx*8], bl
sbb al, 0xde
sbb eax, 0x29616974
jbe 0x4fad60
dec ecx
out dx, eax
fisubr dword [esi]
dec ebx
add eax, 0x158b5e25
add esi, edi
push ebp
sbb eax, 0x2c857793
out dx, al
pushfd
out dx, al
pop eax
sub ebx, esi
scasd eax, dword es:[edi]
loope 0x4fadc4
dec eax
jbe 0x4fad0f
jbe 0x4fad24
mov ds, word [esi - 0x5075ef86]
add bh, byte [eax + esi*8 + 0x4e]
ret
mov ch, 0xc1
or eax, dword [ecx]
jg 0x4fae26
ljmp 0x1fc2:0x42b39936
or cl, byte [esi + esi*4 + 0x5c0eaa9b]
fdiv st(7)
sub byte [ebx + 0x37d552ac], al
invalid
Function at 0x618914
Capabilities:
Encode data using xor

Disassembly:
xor ch, cl
xor byte es:[edi], 0x3b
inc ebp
lahf
out 0x94, al
mov eax, 0x2256adc0
insb byte es:[edi], dx
jg 0x618903
jg 0x618903
jg 0x618903
or bl, byte fs:[edi]
cwde
sbb ecx, ebp
and bh, byte [edx + 4]
cli
imul edx, dword [esi - 0x72], 0xffffffa6
pop esi
test eax, 0xf1883405
call 0xb22bf672
inc esi
or dword [edi], ecx
or eax, 0x7e8d18cc
int3

Function at 0x6577ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3b8
cmp edx, dword [eax]
je 0x65780f
add eax, 8
inc ecx
cmp eax, 0x65f448
jl 0x657800
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3b8]
jne 0x65793d
mov eax, dword [0xa64d28]
cmp eax, 1
je 0x657917
test eax, eax
jne 0x657840
cmp dword [0x65f2e4], 1
je 0x657917
cmp edx, 0xfc
je 0x65793d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657877
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006581d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658660
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6578ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658660
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c994
push edi
call fcn.0065a530
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006581d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006581e0
lea eax, [ebp - 0xa0]
push 0x65c974
push eax
call fcn.006581e0
push dword [esi + 0x65f3bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006581e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a4a4
add esp, 0x2c
pop edi
jmp 0x65793d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3bc]
push 0
push eax
push dword [esi]
call fcn.00658660
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100ccf1
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x114
mov byte [eax], 0
lea eax, [ebp - 0x118]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x100cd63
cmp dword [ebp - 0x114], 5
ja 0x100cd56
jne 0x100cd63
cmp dword [ebp - 0x110], 1
jb 0x100cd63
push 0x10033b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x100cd6e
push 0x10033b8
call fcn.0100cba2
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010108f5
leave
ret

Function at 0x1010e70
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1010e83
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1010e7f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1010eb0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1010eef
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1010ee5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1010ef1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1010ed5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401300
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 0x401319
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401354
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401350
lea ebx, [ebx]
cmp esi, eax
jae 0x401354
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401340
cmp esi, eax
jb 0x40135a
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 0x4032f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x484cda
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4afe78]
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.00401660
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00401660
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.00401660
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.00401660
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.00401660
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.00401660
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.00401660
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.00401660
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 0x405110
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4851b3
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x7f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [esp + 0x824]
mov esi, dword [esp + 0x820]
mov edi, dword [esp + 0x828]
mov ebp, dword [esp + 0x82c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
call fcn.00401bd0
push 0x48ef1c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov ebx, 1
push ecx
mov dword [esp + 0x824], ebx
call fcn.00403ce0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x81c], 2
call fcn.00401ab0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x818], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4051d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x1c]
call fcn.00403660
lea ecx, [esp + 0x24]
call fcn.00453c6b
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x820], 3
call fcn.00453d03
test eax, eax
je 0x40524f
push 0x7d0
lea edx, [esp + 0x40]
push 0
push edx
call fcn.0046e0a0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
push 0x3e8
lea ecx, [esp + 0x44]
push ecx
push 0x495308
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00401bd0
jmp 0x40525a
push ebp
push edi
push esi
call fcn.0040d630
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x818], bl
call fcn.00453c94
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x818], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7f8]
xor ecx, esp
call fcn.0046dc02
add esp, 0x808
ret 0x10
Function at 0x407f50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
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.00453c6b
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00453d03
test eax, eax
je 0x408043
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.00453d03
test eax, eax
je 0x407fc9
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x407fa6
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x14
jge 0x408043
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.00453d03
test eax, eax
je 0x408017
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00453c94
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 0x407fd0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00453c94
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 0x408070
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4afe78]
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 0x4080af
cmp dword [esp + 0x14], 2
jne 0x4080af
cmp dword [esp + 8], 6
lea eax, [esi + 1]
jae 0x4080b1
mov eax, esi
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.0046dc02
add esp, 0x118
ret
Function at 0x4095e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4856f8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x4afe78]
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.0046e0a0
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.00403660
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x238]
call fcn.00403660
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
push eax
call fcn.00401660
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 0x4096cf
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.0046dc02
add esp, 0x21c
ret
Function at 0x409f60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x485858
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409fa9
push 0x80004005
call fcn.00401280
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 0x409ff1
cmp esi, ecx
jg 0x409ff1
lea ecx, [eax + esi*2]
push 0x48ef18
push ecx
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x409ff1
sub eax, dword [esp + 0x2c]
sar eax, 1
mov esi, eax
jmp 0x409ff4
or esi, 0xffffffff
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x34]
call fcn.004093d0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebp - 0x10]
mov byte [esp + 0x24], 2
cmp eax, edi
je 0x40a060
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x40a04e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40a04e
push eax
call fcn.00401660
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40a045
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 0x40a060
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401840
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 0x40a085
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 0x409fc3
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 0x40a0b9
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 0x40a0e1
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 0x40b060
Capabilities:
Access peb ldr_data
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x485a90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x49e278
push 1
push 0
push 0x49e2e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b0d7
lea ecx, [esp + 0x18]
call fcn.00453c6b
mov esi, dword [esp + 0x40]
push 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.00453d03
test eax, eax
jne 0x40b0ea
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00453c94
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 0x40b148
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b115
sub eax, edx
sar eax, 1
je 0x40b148
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.00453d03
test eax, eax
je 0x40b148
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 0x49e2a8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40b0c6
mov esi, dword [esp + 0x48]
push esi
lea ecx, [esp + 0xc]
call fcn.00401bd0
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.004092d0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x40b1a6
push str..lnk
push ecx
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x40b1a6
sub eax, dword [esp + 8]
sar eax, 1
jns 0x40b1c0
push esi
lea ecx, [esp + 0xc]
call fcn.00401b90
push str..lnk
lea ecx, [esp + 0xc]
call fcn.004050d0
jmp 0x40b1ca
push esi
lea ecx, [esp + 0xc]
call fcn.00401b90
mov eax, dword [esp + 8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409f60
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 0x40b23e
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.00453c94
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret