joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60bfac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x60c0f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x18]
call fcn.00564dfc
mov ebx, eax
test bl, bl
je 0x60c0e1
mov ecx, dword [esi + 0x18]
mov dl, 1
mov eax, dword [0x607008]
call fcn.00607de8
mov edi, eax
mov dword [esi + 0x1c], edi
lea edx, [ebp - 4]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10]
call fcn.0060c7e8
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x60c01b
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
call fcn.004077f4
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x62b868]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.00407c4c
mov eax, dword [ebp - 0xc]
call fcn.0060c92c
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov dl, 1
mov eax, dword [0x606b9c]
call fcn.00606f34
mov dword [esi + 0xc], eax
mov dl, 1
mov eax, dword [0x60383c]
call fcn.00603fc8
mov edx, dword [0x62bb0c]
mov dword [edx], eax
cmp byte [ebp - 5], 0
je 0x60c07d
mov eax, dword [0x62bb0c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00603d4c
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x605edc]
call fcn.00606b58
mov dword [esi + 0x14], eax
mov dl, 1
mov eax, dword [0x60bac4]
call fcn.00405408
mov edi, eax
mov dword [esi + 0x2c], edi
push esi
push 0x60c164
mov ecx, edi
mov edx, 0x60c114
mov eax, dword [esi + 0x14]
call fcn.00606af8
push esi
push 0x60c1bc
mov ecx, dword [esi + 0x2c]
mov edx, 0x60c134
mov eax, dword [esi + 0x14]
call fcn.00606af8
push esi
push 0x60c1bc
mov ecx, dword [esi + 0x2c]
mov edx, 0x60c154
mov eax, dword [esi + 0x14]
call fcn.00606af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c0fe
lea eax, [ebp - 0xc]
call fcn.00407758
ret

Function at 0x60c72c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407750
xor eax, eax
push ebp
push 0x60c7db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404c54
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00404c54
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004077f4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x60c7b3
test bl, bl
je 0x60c7b3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c7e2
lea eax, [ebp - 4]
call fcn.00407758
ret
Function at 0x10008890
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10008a54
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x100088ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100088c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100088b0
mov eax, 1
add ebx, ebx
jne 0x100088d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100088c8
jne 0x100088e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100088c8
xor ecx, ecx
sub eax, 3
jb 0x100088f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000896a
mov ebp, eax
add ebx, ebx
jne 0x10008903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10008910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10008934
inc ecx
add ebx, ebx
jne 0x10008920
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10008915
jne 0x10008931
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008915
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10008954
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10008945
jmp 0x100088b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10008954
add edi, ecx
jmp 0x100088b6
pop esi
mov edi, esi
mov ecx, 0x64
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10008972
cmp byte [edi], 1
jne 0x10008972
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 al, bl
loop 0x10008977
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x100089e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8388]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x83f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100089a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x83f8]
or eax, eax
je 0x100089e0
mov dword [ebx], eax
add ebx, 4
jmp 0x100089c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10008a17
cmp al, 0xef
ja 0x10008a0a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100089ec
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100089f9
mov ebp, dword [esi + 0x83fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10008a4b
sub esp, 0xffffff80
jmp 0x10002db5
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x164c7423
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x684675ce
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x7ce174
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ce17e
pushal
call 0x7ce184
pop ebp
sub ebp, 0x10
sub ebp, 0x3ce174
jmp 0x7ce19a
mov eax, 0x3ce174
add eax, ebp
add eax, 0x4c
mov ecx, 0x5df
mov edx, 0x8aada4eb
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ce1b1
jmp 0x7ce1c4
pushal
pushal
invalid
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xb45559f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x664f246f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x43c4669
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x4392005f
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov esi, dword [ebp - 0x36]
push esi
lea eax, [ebp - 0x78]
push 0x78
push eax
push esi
call fcn.004086e0
pop edi
dec ebp
les ecx, [ebx + 0x40acc864]
add byte [eax + 0x51], dl
add edx, 0x40
jne 0x401e13
aam 0x40
add byte [edx - 1], dl
adc eax, sym.imp.MSVCRT.dll_fprintf
mov eax, dword [0x6202ac]
add esp, 0x14
test eax, eax
je 0x401e87
push 0xb740d254
call dword [0xae40c164]
inc eax
scasb al, byte es:[edi]
add esp, 0x26
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop es
nop
nop
sbb dl, byte [eax - 0x4d6f6f70]
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp - 0x67]
push edi
mov eax, dword [esi + 0x14]
inc esi
adc al, 0x89
inc ebp
or al, ch
dec ecx
dec ebx
add byte [eax], al
mov dword [eax - 0x7658bef5], esp
test byte [ebx + ecx + 0x6f8b2441], ah
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, edx
jne 0x401f0d
mov ecx, dword [esi + 4]
push 0xffffffffffffff98
push 0
push ecx
call fcn.00408c70
mov dword [esi + 0x8d7], ebx
mov dword [esi - 0x3bd3f757], edi
pop esi
inc esi
sbb byte [eax], al
add byte [edi - 0x13ea7500], ch
pop ss
inc ecx
add byte [edi], ch
push esi
bound esp, qword [ecx + 0x4102d0]
sar byte [edx], 1
je 0x401f3a
mov eax, dword [0x21410270]
pop ebx
add dword [ebx], eax
enter 0x4e89, 0x14
jmp 0x401f3a
mov ecx, dword [esi + 0xd80838]
sbb ebp, dword [eax]
rol byte [eax], 1
daa
adc eax, 0x7b40d008
add ecx, eax
mov eax, dword [esi + 0x83c]
adc eax, edx
cmp edi, eax
jg 0x7c402015
jl 0x401f3a
cmp ebx, ecx
ja 0x5a402015
and byte [esi + 0x18], dl
mov ebx, dword [0xcd40d030]
mov eax, dword [esi - 0x26]
lea ecx, [ebp + 8]
out dx, eax
shl esi, cl
std
push eax
call fcn.00408ac0
test eax, eax
je 0x401f8a
sub dword [eax + 0x3dcfc20b], 0xffffffb6
adc al, 0xa
add byte [esi], dh
daa
cmp eax, 0xafcd9
je 0x401f8a
cmp eax, 0xafd57
mov ebp, 0xbe853d19
or ah, bl
je 0x401f8a
cmp eax, 0x920a96a1
je 0x401f8a
cmp eax, 0x7d0b23b3
setp byte [esi - 0x75000000]
bound ecx, qword [eax]
mov esp, dword [edx + 8]
mov ebx, dword [0x4102a0]
mov ebx, edi
lock add al, byte [ecx]
fcomp st(0)
adc edi, 0
mov dword [0x4102a0], ebx
mov dword [ebx + 0x4102a4], esp
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
add edx, eax
sub ecx, eax
mov dword [esi + 0x18], edx
mov ah, 0x4e
adc al, 0xf
adc ebp, esp
invalid
Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x630038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x63003c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x630050]
fstp qword [0x630050]
je 0x417e63
mov eax, dword [0x6337e0]
test eax, eax
je 0x417e57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [str.__R]
mov cl, byte [0x630049]
xor cl, dl
mov edx, dword [0x630030]
mov byte [0x630049], cl
mov ecx, dword [0x630034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x630038]
mov dword [0x630030], edx
mov edx, dword [0x630048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x630038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
add byte [ebx], ah

Function at 0x470992
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x84
or al, byte [edx + esi*4 - 0x1b]
xor esi, ebx
mov dword [0xb9eae2c1], eax
mov dl, 0xc0
jg 0x47099e
shl edx, 0xea
mov ecx, 0xfb7fc0b2
dec edi
in eax, 0x87
inc edi
ja 0x47099b
mov ch, ch
mov edx, 0xaf494423
les edx, [edx - 0x34]
xor dword [esi + 0x42], 0xffffffcf
repe cmpsd dword [esi], dword es:[edi]
enter 0xffffffffffffe8a0, 0x62
cmpsd dword [esi], dword es:[edi]
cmp ebp, ebx
and al, 0x16
lodsd eax, dword [esi]
xor ebx, eax
lcall 0xa28e, 0x5478fc6d
dec edi
pushfd
push ebx
enter 0xffffffffffffb429, 0x2a
sbb al, dl
mov cl, 0x1f
popfd
push edx
popal
fldcw word [esi]
xor eax, 0xe0aad582
adc eax, 0x44272be
loop 0x4709b9
imul ecx, dword [esi], 0x26c3b2d
inc ebp
leave
into
mov bl, 0x6e
inc byte [0xdde14292]
push edi
invalid
Function at 0x6295e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303b8
cmp edx, dword [eax]
je 0x629607
add eax, 8
inc ecx
cmp eax, 0x630448
jl 0x6295f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303b8]
jne 0x629735
mov eax, dword [0x636d50]
cmp eax, 1
je 0x62970f
test eax, eax
jne 0x629638
cmp dword [0x6302e0], 1
je 0x62970f
cmp edx, 0xfc
je 0x629735
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62966f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629fd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6296b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e63c
push edi
call fcn.0062c330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629fd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629fe0
lea eax, [ebp - 0xa0]
push 0x62e61c
push eax
call fcn.00629fe0
push dword [esi + 0x6303bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629fe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c2a4
add esp, 0x2c
pop edi
jmp 0x629735
lea eax, [ebp + 8]
lea esi, [esi + 0x6303bc]
push 0
push eax
push dword [esi]
call fcn.0062a460
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 0x401830
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40187e
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67df2647
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x75070ccf
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40218d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0043e330
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0043e330
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, 1
jne 0x4021e1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x40236e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1108
call fcn.0045ff20
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x800
push esi
xor edi, edi
lea eax, [ebp - 0x1108]
push edi
push eax
call fcn.0043e330
add esp, 0xc
push esi
lea eax, [ebp - 0x908]
push edi
push eax
call fcn.0043e330
add esp, 0xc
lea eax, [ebp - 0x1108]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0043e330
add esp, 0xc
lea esi, [ebp - 0x108]
call fcn.0040228e
mov eax, esi
push eax
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x908]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x908]
push str..tmp
push eax
call fcn.0043eb07
pop ecx
pop ecx
lea eax, [ebp - 0x908]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402433
inc edi
cmp edi, 0xa
jl 0x4023d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b2b9
leave
ret
lea eax, [ebp - 0x908]
push eax
push ebx
call fcn.00402c33
xor eax, eax
inc eax
jmp 0x402425
Function at 0x402445
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 8
mov eax, 0x46af58
call fcn.004438a7
mov edi, ecx
mov ecx, 0x485f6c
lea esi, [ebp - 0x14]
call fcn.00402b4a
and dword [ebp - 4], 0
push dword [edi]
mov dword [ebp - 0x10], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4024d7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [edi]
lea eax, [ebp - 0x14]
push str._s.bak
push eax
call fcn.00402e53
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi]
add esp, 0xc
push 3
push ebx
push eax
call esi
test eax, eax
jne 0x4024da
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 3
push ebx
push eax
call esi
test eax, eax
je 0x4024da
mov edi, dword [edi]
push 5
push edi
push ebx
call esi
test eax, eax
je 0x40250f
mov dword [ebp - 0x10], 3
jmp 0x40250f
mov ebx, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
push eax
call esi
test eax, eax
je 0x4024f3
mov dword [ebp - 0x10], 1
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40250f
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40250f
push 6
push eax
push ebx
call esi
lea eax, [ebx - 0x10]
call fcn.004031f6
mov eax, dword [ebp - 0x10]
call fcn.0044397f
ret

Function at 0x402fb1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402fc8
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x402ffd
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x402ff9
cmp edi, eax
jae 0x402ffd
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x402feb
cmp edi, eax
jb 0x403001
xor eax, eax
jmp 0x40300a
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret