joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4084e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4276d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408525
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408502
mov dword [edx*4 + 0x4276d0], eax
inc edx
cmp edx, 0x100
jne 0x4084fb
mov eax, dword [ebp + 8]
not eax
jmp 0x40853f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4276d0]
test ebx, ebx
jne 0x40852c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x10026fcf
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0xc]
je 0x1001b1ee
cmp bh, 0xcc
bt ecx, 0x18
cmp ebx, 2
call fcn.10029811
insb byte es:[edi], dx
pop ecx
inc esi
sub bh, al
imul edx, dword [edx + 0x2b902b9], 0xfb78530d
in al, dx
daa
das
rcr ah, cl
in eax, 0xb9
int1
and eax, 0xb8046d76
add ecx, eax
imul dword [esi + 0x58]
mov eax, 0x1cefb023
pop es
sbb eax, 0x8b646302
insb byte es:[edi], dx
mov eax, dword [0x1ff5fda]
sub dword [edx], 0x995ec928
pop esi
cdq
loop 0x1001b0f7
jno 0x1001b17e
and eax, 0x8392280
into
sbb byte [ebx], al
jecxz 0x1001b129
jbe 0x66cf91a6
in al, dx
mov cl, 0xa7
mov esp, 0x93e84bc0
ror dword [0x3ea4c0db], 1
sbb byte [eax - 0x358bb63e], 0xa0
aas
adc eax, 0x3506f8af
cmovp edx, dword [ecx - 0x6c]
jae 0x1001b19c
in eax, dx
sti
bound edi, qword [eax - 0x2b50d731]
loop 0x1001b135
mov cl, 0xcd
cmc
pop ebx
invalid
fucomi st(3)
jl 0x1001b16d
cmp al, 0x17
inc ecx
pop es
out 0, al
add byte [eax - 0x7a9907ff], ch
in eax, 0x2c
xor al, ch
push ebx
mov ecx, 0xff660000
dec di
cmp ebx, 1
mov byte [esp], ah
jmp 0x1001b0d9

Function at 0x1002830f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 8]
cmp al, 0x9b
mov edi, dword [edi + ecx*4]
test al, bl
test bh, 0x2d
test edi, edi
pushfd
jmp 0x100241fc
Function at 0x402c9a
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
jne 0x402ca6
xor al, al
jmp 0x402cd0
cmp dword [esp + 4], edx
je 0x402ca2
cmp dword [eax], 0xffffffff
je 0x402ca2
mov eax, dword [esp + 0xc]
push edx
push eax
push dword [esp + 0x10]
mov dword [eax], edx
push dword [esp + 0x10]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x403493
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x434107
call fcn.0041e465
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004014d1
and dword [ebp - 4], 0
push 0x24
lea ecx, [ebp - 0x2c]
call fcn.00402db1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x4034c6
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4034e8
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018cc
mov al, bl
call fcn.0041e4e8
ret
xor bl, bl
jmp 0x4034d4

Function at 0x40497d
Capabilities:
Set file attributes

Disassembly:
cmp dword [esp + 4], 0xffffffff
jne 0x404987
xor al, al
ret
and dword [esp + 4], 0xffffb1af
cmp dword [eax + 0x18], 8
jb 0x40499a
mov eax, dword [eax + 4]
jmp 0x40499d
add eax, 4
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x4049c2
mov eax, dword [esi]
jmp 0x4049c4
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4049d6
mov al, 1
jmp 0x404a6d
cmp dword [edi + 0x18], 8
jb 0x4049e0
mov eax, dword [esi]
jmp 0x4049e2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x404a6b
cmp dword [edi + 0x18], 8
jb 0x4049fb
mov eax, dword [esi]
jmp 0x4049fd
mov eax, esi
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.004014af
push 0
lea eax, [ebp - 0x20]
call fcn.0040497d
pop ecx
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x20]
inc bl
call fcn.004018cc
test bl, bl
pop ebx
jne 0x404a6b
cmp dword [edi + 0x18], 8
jb 0x404a35
mov eax, dword [esi]
jmp 0x404a37
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4049cf
cmp dword [edi + 0x18], 8
jb 0x404a4a
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x20]
call fcn.004014af
push dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.0040497d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004018cc
xor al, al
pop esi
leave
ret
Function at 0x404a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x43d504]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x43e990], edi
je 0x404aa4
push 0xffffffffffffffff
push edi
push 0x43e97c
mov ecx, ebx
call fcn.0040176b
mov al, 1
jmp 0x404b43
push 0x20a
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.00419b60
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x404b41
push esi
push 0x410
lea eax, [ebp - 0x622]
push edi
push eax
mov word [ebp - 6], di
mov word [ebp - 0x624], di
call fcn.00419b60
add esp, 0xc
mov esi, 0x208
push esi
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, esi
pop esi
ja 0x404b2e
cmp eax, edi
je 0x404b2e
mov word [ebp + eax*2 - 0x624], di
lea eax, [ebp - 0x624]
jmp 0x404b34
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.004017fe
jmp 0x404a9d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00419b4f
leave
ret
Function at 0x404f7d
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x433de1
call fcn.0041e3fc
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], esi
call fcn.004013f2
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 1
je 0x4050c4
mov eax, dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp + edi - 0x10], al
mov bl, byte [ebp - 0xf]
inc edi
inc dword [ebp + 8]
cmp edi, 3
jne 0x405020
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor edi, edi
movzx esi, byte [ebp + edi - 0x14]
call fcn.00404865
mov al, byte [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.00404888
inc edi
cmp edi, 4
jl 0x404ffa
xor edi, edi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x404fab
cmp edi, esi
je 0x4050c4
cmp edi, 3
jge 0x405049
push 3
pop ecx
sub ecx, edi
push ecx
lea eax, [ebp + edi - 0x10]
push esi
push eax
call fcn.00419b60
mov bl, byte [ebp - 0xf]
add esp, 0xc
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea ebx, [edi + 1]
cmp ebx, esi
mov byte [ebp - 0x11], al
mov dword [ebp - 0x10], esi
jle 0x4050ac
mov eax, dword [ebp - 0x10]
movzx esi, byte [ebp + eax - 0x14]
call fcn.00404865
mov al, byte [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.00404888
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x405085
push 3
pop esi
cmp edi, esi
jge 0x4050c4
sub esi, edi
mov ecx, dword [ebp - 0x18]
push 0x3d
push 1
call fcn.00404888
dec esi
jne 0x4050b5
mov eax, dword [ebp - 0x18]
call fcn.0041e4d4
ret

Function at 0x4051d8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405205
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405205
xor al, al
jmp 0x405220
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041a450
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
pop edi
leave
ret 4
Function at 0x406e90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
call fcn.00406df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esi], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret 0x14

Function at 0x407b50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x234]
xor ebp, ebp
push 0x208
lea eax, [esp + 0x1e]
push ebp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
mov word [esi + 4], bp
push eax
mov word [esp + 0x24], bp
call fcn.00419b60
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], 0x208
mov dword [esp + 0x14], 1
jb 0x407bc0
mov edi, dword [edi + 4]
jmp 0x407bc3
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407c1c
mov eax, dword [esp + 0x10]
cmp eax, 0x104
ja 0x407bf1
mov word [esp + eax*2 + 0x18], bp
jmp 0x407bf9
mov word [esp + 0x220], bp
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407c00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00401a4b
mov ecx, dword [esp + 0x224]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419b4f
add esp, 0x218
ret 0xc
Function at 0x40aed0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push 0x400
mov esi, ecx
push 0
push esi
call fcn.00419b60
push 0x110
lea eax, [esp + 0x18]
push 0
push eax
mov byte [esi + 0x400], 0
mov dword [esi + 0x404], 0
mov dword [esp + 0x1c], 0x114
call fcn.00419b60
add esp, 0x18
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40af3e
cmp dword [esp + 8], 6
jb 0x40af3e
mov byte [esi + 0x400], 1
mov ecx, esi
call fcn.0040a3c0
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00419b4f
add esp, 0x118
ret

Function at 0x40af90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, ecx
je 0x40b011
cmp word [edi], 0
je 0x40b011
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b011
test al, 0x10
jne 0x40b011
cmp dword [esi], 0
jne 0x40afd5
push 0x438
call fcn.004196cf
add esp, 4
test eax, eax
je 0x40afd1
mov ecx, eax
call fcn.0040aed0
jmp 0x40afd3
xor eax, eax
mov dword [esi], eax
mov eax, dword [esi]
mov word [eax], 0
mov ecx, dword [esi]
push 0x1ff
push ecx
push edi
call fcn.0040ad20
cmp eax, 2
mov ecx, dword [esi]
mov dword [ecx + 0x404], eax
je 0x40b00a
cmp eax, 3
je 0x40b00a
mov edx, dword [esi]
pop edi
xor al, al
mov word [edx], 0
pop esi
ret 4
pop edi
mov al, 1
pop esi
ret 4
pop edi
xor al, al
pop esi
ret 4
Function at 0x40c670
Capabilities:
Get session user name

Disassembly:
sub esp, 0x250
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x254]
push ebx
push ebp
mov ebp, 7
push esi
mov esi, ecx
mov dword [esi + 0x18], ebp
push edi
xor edi, edi
mov dword [esi + 0x14], edi
mov word [esi + 4], di
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], edi
mov word [esi + 0x20], di
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], edi
mov word [esi + 0x3c], di
mov dword [esi + 0x74], ebp
mov dword [esi + 0x70], edi
mov word [esi + 0x60], di
mov dword [esi + 0x90], ebp
mov dword [esi + 0x8c], edi
mov word [esi + 0x7c], di
mov dword [esi + 0xac], ebp
mov dword [esi + 0xa8], edi
mov word [esi + 0x98], di
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xc4], edi
mov word [esi + 0xb4], di
lea ebx, [esi + 0xcc]
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov dword [esp + 0x14], eax
mov word [ebx + 4], di
call fcn.0041a333
push eax
call fcn.0041a36f
push ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
call fcn.00402d48
add esp, 0xc
cmp dword [esi + 0xe0], edi
je 0x40c81c
push 0x208
lea ecx, [esp + 0x56]
push edi
push ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
mov word [esp + 0x5c], di
call fcn.00419b60
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x50]
mov word [esp + 0x256], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40c780
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401a4b
lea edx, [esp + 0x34]
push str.__r_t_n
push edx
call fcn.004022b4
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [eax + 0x14], edi
mov ebp, 8
lea ecx, [esp + 0x34]
jne 0x40c7cf
push ebp
push str.sss.temp
call fcn.00403175
jmp 0x40c7d8
push 0xffffffffffffffff
push edi
push eax
call fcn.004030cc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00402e95
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
mov ecx, ebx
call fcn.0040176b
cmp dword [esp + 0x30], ebp
jb 0x40c809
mov edx, dword [esp + 0x1c]
push edx
call fcn.004192f0
add esp, 4
cmp dword [esp + 0x4c], ebp
jb 0x40c81c
mov eax, dword [esp + 0x38]
push eax
call fcn.004192f0
add esp, 4
mov ecx, dword [esp + 0x25c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419b4f
add esp, 0x250
ret 4
Function at 0x413990
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4139b0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x4139c6
push 0x80004005
call fcn.00412fe0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4139f0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x413a08
push 0x80004005
call fcn.00412fe0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x413a15
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x414050
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x4140be
test ecx, ecx
je 0x4140b0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x4140cc
test ecx, ecx
je 0x414171
push ecx
jmp 0x41416b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41413e
jmp 0x414100
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00414050
mov edi, eax
test edi, edi
jne 0x41418d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x414100
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x414155
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x414171
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00419b4f
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41419c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x414173
Function at 0x4156e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x74
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
lea eax, [esp + 0x64]
push eax
xor edi, edi
push esi
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], edi
mov word [esp + 0x70], di
call fcn.00402d59
xor eax, eax
push 0x44
lea ecx, [esp + 0x2c]
push edi
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00419b60
mov eax, dword [ebx + 0x14]
add esp, 0x14
xor ebp, ebp
cmp eax, edi
mov dword [esp + 0x20], 0x44
je 0x4157fc
lea edi, [eax + 0x208]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004186c0
push 0x4359d8
mov ebp, eax
push edi
push ebp
call fcn.0041b457
add esp, 0x10
cmp dword [esi + 0x18], 8
jb 0x415795
mov esi, dword [esi + 4]
jmp 0x415798
add esi, 4
push esi
push edi
push ebp
call fcn.0041b3dd
push 0x43651c
push edi
push ebp
call fcn.0041b3dd
mov esi, 8
add esp, 0x18
cmp dword [ebx + 0x18], esi
jb 0x4157be
mov ebx, dword [ebx + 4]
jmp 0x4157c1
add ebx, 4
push ebx
push edi
push ebp
call fcn.0041b3dd
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], esi
jae 0x4157da
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push 0
push 0
push 1
push 0
push 0
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edi, edi
jmp 0x41583a
mov eax, dword [esp + 0x68]
mov ecx, 8
cmp dword [esp + 0x7c], ecx
jae 0x41580f
lea eax, [esp + 0x68]
cmp dword [esi + 0x18], ecx
jb 0x415819
mov esi, dword [esi + 4]
jmp 0x41581c
add esi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push edi
push edi
push 1
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, 8
cmp eax, edi
jne 0x415866
cmp dword [esp + 0x7c], esi
jb 0x415851
mov eax, dword [esp + 0x68]
push eax
call fcn.004192f0
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00419b4f
add esp, 0x74
ret
mov eax, dword [esp + 0x14]
cmp eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41587b
push eax
call ebx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41589d
cmp byte [esp + 0x90], 0
je 0x41589a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call ebx
cmp ebp, edi
je 0x4158aa
push ebp
call fcn.00419783
add esp, 4
cmp dword [esp + 0x7c], esi
jb 0x4158bd
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004192f0
add esp, 4
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.00419b4f
add esp, 0x74
ret
Function at 0x415f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x414
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x424]
push ebp
mov ebp, dword [esp + 0x424]
push esi
push edi
mov edi, dword [esp + 0x428]
mov esi, ecx
call dword [0x43d4dc]
xor eax, eax
push 2
push eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x415fe3
call fcn.00413810
mov esi, eax
jmp 0x4160a8
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x415ffc
call fcn.00413810
jmp 0x41609f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x416014
call fcn.00413810
jmp 0x41609f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x416048
lea eax, [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x416038
lea ecx, [esp + 0x1c]
call fcn.00413ff0
lea ecx, [esp + 0x10]
call fcn.00413f80
mov eax, 0x8007000e
jmp 0x4160c2
push eax
lea ecx, [esp + 0x20]
call fcn.00414670
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x416061
mov esi, 0x8007000e
jmp 0x4160a1
call dword [0x43d4dc]
push esi
push ebx
push esi
push ebp
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41607f
call fcn.00413810
jmp 0x41609f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x434]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00415530
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x20]
cmp dword [esp + 0x1c], ecx
je 0x4160c0
lea ecx, [esp + 0x1c]
call fcn.00413ff0
jmp 0x4160c0
mov eax, esi
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419b4f
add esp, 0x414
ret 0x10