joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x401c66
pop dword [ebp - 4]
mov eax, 0xd34d88e8
sub eax, 0xd30d6c82
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x7e33061a
add dword [ebp - 0x14], 0xd01f3f31
mov dword [ebp - 0x10], 0xdab9b86b
add dword [ebp - 0x10], 0x577993da
mov dword [ebp - 0xc], 0x96fadc2d
sub dword [ebp - 0xc], 0x4aae97ff
mov dword [ebp - 8], 0x1665ec82
sub dword [ebp - 8], 0x1665ec82
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xaba87fc
add dword [ebp - 0x14], 0x69b7e15a
mov dword [ebp - 0x10], 0x5de13d1f
add dword [ebp - 0x10], 0xe38b2456
mov dword [ebp - 0xc], 0x21fc75c2
sub dword [ebp - 0xc], 0xbe8d0956
mov dword [ebp - 8], 0xa4e5fdd5
add dword [ebp - 8], 0x5b1a022b
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x283f60c1
add eax, 0xd800cf6b
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x37006
push 0
call eax
mov ecx, 0x4a15
mov esi, eax
mov edi, 0xf26c398e
add edi, 0xdd43672
add edi, dword [ebp - 4]
mov edx, 0xa02bccbc
sub edx, 0x402694e0
mov ebx, dword [edi]
xor ebx, edx
mov dword [esi], ebx
add esi, 0xcc7de94b
add esi, 0x338216b9
add edi, 0x1a0794b3
sub edi, 0x1a0794af
loop 0x401d7d
add eax, 0x94c59a2
sub eax, 0x94b3e7b
xor ebx, ebx
add ebx, eax
add eax, 0x626ae678
sub eax, 0x626ae673
mov ecx, 0x5bb671a9
add ecx, 0xa4898e57
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x100146f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100146ff
pop dword [ebp - 0x24]
mov eax, 0x20915e4a
sub eax, 0x1090174b
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xc093b4c7
add dword [ebp - 0x34], 0x8dbe9084
mov dword [ebp - 0x30], 0x10227dd5
sub dword [ebp - 0x30], 0xddef3190
mov dword [ebp - 0x2c], 0x10ebd21
sub dword [ebp - 0x2c], 0xb4c278f3
mov dword [ebp - 0x28], 0xe1a4a891
add dword [ebp - 0x28], 0x1e5b576f
lea eax, [ebp - 0x34]
push eax
mov eax, 0x14ca4508
add eax, 0xfb3a2bc0
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x25446ffb
sub dword [ebp - 0x34], 0xb0d206a5
mov dword [ebp - 0x30], 0x32e482fc
add dword [ebp - 0x30], 0xe87de79
mov dword [ebp - 0x2c], 0x38a3dde7
sub dword [ebp - 0x2c], 0xd534717b
mov dword [ebp - 0x28], 0x439dfc0f
add dword [ebp - 0x28], 0xbc6203f1
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xf477d4e1
sub eax, 0xe47363fd
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x44c2b
push 0
call eax
mov ecx, 0x9ad28813
add ecx, 0x652dc95d
mov esi, eax
mov edx, 0xd75ae26b
add edx, 0x38ab4d95
add edx, dword [ebp - 0x24]
mov edi, 0xb8f1b23a
add edi, 0x939c17c3
sub dword [ebp - 0x14], 0x4ae1f9d1
mov ebx, dword [edx]
add dword [ebp - 8], 0xae7de3bf
sub ebx, edi
xor dword [ebp - 0xc], 0x129a2b51
mov dword [esi], ebx
sub dword [ebp - 0x14], ecx
add esi, 4
add edx, 0xd83fbe55
add edx, 0x27c041af
loop 0x10014821
add eax, 0x1f2bccdc
sub eax, 0x1f2a9449
mov ebx, eax
add eax, 5
mov ecx, 0xeafa1607
sub ecx, 0xdafa1607
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1a806c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1a806d2
pushal
call 0x1a806d8
pop ebp
sub ebp, 0x10
sub ebp, 0x16806c8
jmp 0x1a806ee
mov eax, 0x16806c8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0x891403db
xor byte [eax], dl
inc eax
dec ecx
jne 0x1a80705
jmp 0x1a80718
push eax
push ss
push eax
push edx
out 0xdb, eax
fcmovnu st(0), st(3)
pop edx
sbb ah, byte [ebx]
fcmovnu st(0), st(3)
fcmovnu st(0), st(0)
push ss
arpl sp, bx
fcmovnu st(0), st(3)
invalid
Function at 0x68f428c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x68f4291b
cmp byte [esi + ebx - 1], 0xa
je 0x68f428ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x68f43118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x41f49a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f4d9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f4d9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f4d9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f4d9
cmp dword [ecx + 0x74], 0xe
jbe 0x41f4d9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x425492
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44b8a8
push 0x44b8a0
push str.FlsAlloc
push 0x1f
call fcn.00425351
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4254c6
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e144]
call esi
jmp 0x4254cc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x425510
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44b8b8
push 0x44b8b0
push str.FlsGetValue
push 0x21
call fcn.00425351
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425547
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42554f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44b8c0
push 0x44b8b8
push str.FlsSetValue
push 0x22
call fcn.00425351
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425589
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42e144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x426d41
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x426dde
push ebx
push esi
call fcn.00426d0a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00426c9e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x426d8b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x426ddd
push edi
push eax
call fcn.00425754
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x426dab
call fcn.004257a2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x426ddc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00426c9e
add esp, 0x20
test eax, eax
jne 0x426dca
push edi
call fcn.004257a2
jmp 0x426dd2
push ebx
call fcn.004257a2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42d020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d04d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d04d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
imul edx, ecx
mov eax, esi
call 0x40101a
shl al, 0x7e
pop edx
not bl
call fcn.00401253
cld
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401670
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 0x401689
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4016c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4016c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016b0
cmp esi, eax
jb 0x4016ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x576be2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60bd28]
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]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.00401b70
add eax, 0x10
mov dword [esi + 0x20], eax
mov edi, dword [edi + 0x24]
sub edi, 0x10
push edi
mov byte [esp + 0x34], 5
call fcn.00401b70
add esp, 0x1c
add eax, 0x10
mov dword [esi + 0x24], 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 0x4049e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push edi
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push ebp
mov edi, 0xffff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404a68
mov edx, dword [esp + 0xc]
push esi
push edx
call fcn.0054035d
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404a51
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
push edi
push esi
push ebx
call fcn.0053fde0
mov byte [edi + ebx], 0
mov edi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x404a5e
push esi
call fcn.0054020b
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4050f0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x640
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x63c], eax
mov ax, word [0x5962d0]
mov cl, byte [0x5962d2]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov word [esp + 0x244], ax
mov byte [esp + 0x246], cl
mov word [esp + 0x247], di
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x18], eax
or eax, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
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
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
xor ebx, ebx
mov edi, edi
xor esi, esi
lea edx, [esp + 0x24c]
push edx
push esi
push ebx
call fcn.00404f30
add esp, 0xc
test eax, eax
je 0x40519c
cmp byte [esp + 0x24c], 5
jne 0x40519c
lea eax, [edi + esi]
mov dword [esp + ebp*4 + 0x44], eax
add ebp, 1
add esi, 1
cmp esi, 0x10
jl 0x405172
add edi, 0x10
add ebx, 1
cmp edi, 0x80
jl 0x405170
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov ebx, 2
mov eax, dword [esp + 0x18]
mov edx, 1
mov ecx, ebx
shl edx, cl
test eax, edx
je 0x405242
mov cl, bl
lea edx, [esp + 0x244]
add cl, 0x41
push edx
mov byte [esp + 0x248], cl
call esi
cmp eax, 5
jne 0x405242
push 0x400
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0x24c]
push ecx
call edi
lea eax, [esp + 0x24c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405210
sub eax, edx
movsx ecx, byte [esp + eax + 0x24b]
sub ecx, 0x30
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
mov dword [esp + ecx*4 + 0x1c], ebx
add ebx, 1
cmp ebx, 0x1a
jl 0x4051c3
mov edi, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + ecx*4 + 0x1c]
cmp eax, 0xffffffff
je 0x405273
mov edx, dword [esp + 0x10]
mov esi, dword [esp + edx*4 + 0x44]
add edx, 1
mov dword [esi*4 + 0x60dc50], eax
mov dword [esp + 0x10], edx
add ecx, 1
cmp dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
jge 0x405285
cmp ecx, 0xa
jl 0x405250
mov ecx, dword [esp + 0x64c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0053fab2
add esp, 0x640
ret
Function at 0x408830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x78
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
push str.HARDWAREDEVICEMAPScsiScsi_Port__1d
push ecx
mov dword [esp + 0x18], 0
call fcn.00540420
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
push 0
lea eax, [esp + 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push str.Driver
push eax
call ebx
lea ecx, [esp + 0x14]
push 0xac
push ecx
mov esi, eax
call fcn.004082b0
mov ecx, dword [eax]
add esp, 8
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4088b8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4088e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x408935
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0054035d
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x20]
push eax
push 0
push str.Driver
push ecx
call ebx
test eax, eax
jne 0x40892c
mov edx, edi
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x408920
push esi
call fcn.0054020b
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x80]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fab2
add esp, 0x78
ret
Function at 0x40ac70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577284
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push 0xad
push eax
mov dword [esp + 0x10], 0
call fcn.004082b0
lea ecx, [esp + 0x18]
push 0xae
push ecx
mov dword [esp + 0x54], 1
call fcn.004082b0
lea edx, [esp + 0x24]
push 0xaf
push edx
mov byte [esp + 0x5c], 2
call fcn.004082b0
lea eax, [esp + 0x30]
push 0xb0
push eax
mov byte [esp + 0x64], 3
call fcn.004082b0
lea ecx, [esp + 0x3c]
push 0xb1
push ecx
mov byte [esp + 0x6c], 4
call fcn.004082b0
lea edx, [esp + 0x48]
push 0xb2
push edx
mov byte [esp + 0x74], 5
call fcn.004082b0
lea eax, [esp + 0x54]
push 0xb3
push eax
mov byte [esp + 0x7c], 6
call fcn.004082b0
lea ecx, [esp + 0x60]
push 0xb4
push ecx
mov byte [esp + 0x84], 7
call fcn.004082b0
add esp, 0x40
lea edx, [esp + 0x2c]
push 0xb5
push edx
mov byte [esp + 0x4c], 8
call fcn.004082b0
lea eax, [esp + 0x38]
push 0xb6
push eax
mov byte [esp + 0x54], 9
call fcn.004082b0
lea ecx, [esp + 0x44]
push 0xb7
push ecx
mov byte [esp + 0x5c], 0xa
call fcn.004082b0
lea edx, [esp + 0x50]
push 0xb8
push edx
mov byte [esp + 0x64], 0xb
call fcn.004082b0
add esp, 0x20
mov eax, dword [esp + 0x50]
mov eax, dword [esp + eax*4 + 0xc]
mov esi, dword [esp + 0x4c]
push eax
mov ecx, esi
mov dword [esp + 0x48], 0xc
call fcn.00402a30
push fcn.00401340
push 0xc
push 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x54], 0
call fcn.00540fb0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret
Function at 0x413040
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5779b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0x105
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x105
or eax, ecx
mov dword [esp + 0x24], 0
jge 0x4130a4
push 0x105
mov ecx, edi
call fcn.00401b20
mov esi, dword [edi]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
mov ebp, eax
jne 0x4130cd
xor eax, eax
jmp 0x4130dd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4130d2
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.00402290
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41310a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x418350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x130
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
push esi
xor esi, esi
test byte [eax], 8
push edi
mov dword [esp + 0x10], esi
je 0x4183b1
cmp dword [eax + 0x83cf], esi
je 0x41838a
mov dword [esp + 0x10], 1
cmp dword [eax + 0x83ff], esi
je 0x418397
or dword [esp + 0x10], 2
mov eax, dword [eax + 0x8403]
cmp eax, esi
je 0x4183b1
or dword [esp + 0x10], 4
test byte [eax + 4], 0x20
je 0x4183b1
or dword [esp + 0x10], 8
push 0x40
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0053fd60
mov edi, dword [esp + 0x154]
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 0xe4]
push ecx
push 0x40
push 5
push edi
push ebp
call fcn.00407ab0
movzx ebx, byte [esp + 0xf9]
lea edx, [esp + 0xf8]
push edx
push 0x40
push 5
push edi
push ebp
call fcn.00407ab0
add esp, 0x34
cmp eax, 1
je 0x418409
xor eax, eax
jmp 0x418520
mov eax, 0x80
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0x200
mov byte [esp + 0x75], bl
mov dword [esp + 0x44], 0x408
mov dword [esp + 0x48], 0x1c408
mov dword [esp + 0x4c], 0x20008
mov dword [esp + 0x50], 0x2c008
mov dword [esp + 0x54], 0x2c000
mov dword [esp + 0x58], 0x30000
mov dword [esp + 0x5c], 0x20001
mov dword [esp + 0x60], 0x20002
mov dword [esp + 0x64], 0x20003
mov dword [esp + 0x68], 0x30001
mov dword [esp + 0x6c], 0x30002
mov dword [esp + 0x70], 0x30003
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x74], 5
mov byte [esp + 0x83], 0x96
add bl, 2
mov eax, dword [esp + esi + 0x44]
mov ecx, eax
mov edx, eax
mov byte [esp + 0x78], al
lea eax, [esp + 0x74]
push eax
push ebx
shr ecx, 0x10
shr edx, 8
push edi
push ebp
mov byte [esp + 0x86], cl
mov byte [esp + 0x87], dl
call fcn.00407b30
add esp, 0x10
cmp eax, 1
jne 0x418514
mov ecx, dword [esp + esi + 0x14]
or dword [esp + 0x10], ecx
add esi, 4
cmp esi, 0x30
jl 0x4184d7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053fab2
add esp, 0x130
ret