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

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x5c517f7b
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x5c517f8c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c517fcd
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x5c51a339
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x5c51a282
add ebx, 0
push ecx
call 0x5c51a297
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c6e63e5
sub ebx, dword [0x6c705c24]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c705c14
call fcn.5c515d61
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.5c51526f
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x5c51a3f5
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x5c51a3f5
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x5c51a3ac
mov eax, 1
lock xchg dword [0x6c705c20], eax
push 0x3dd1fc71
call 0x5c51a339
push esi
add esp, 8
cmp eax, 0
jne 0x5c51a322
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x5c51a348
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x5c51a35d
cmp ecx, edx
cmp eax, 0
je 0x5c51a382
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x5c51a36c
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.5c51a39b
dec eax
loope 0x5c51a39e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c705c20], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x5c51a3d2
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x5c51a3e7
jmp 0x5c51a3f2
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x5c51a2e0
Function at 0x5c52145a
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x5c521730
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c6f2898
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c6e985e
push 0xffffffffffffffff
call fcn.5c51865a
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x5c5214c4
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.5c5214dc
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x5c521724
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x5c5216f8
Function at 0x5c530f2a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c530f4c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530f4c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530f4c
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530f4c
test word [ebx + 0x16], 2
je 0x5c530f4c
test word [ebx + 0x16], 0x100
je 0x5c530f4c
cmp word [ebx + 0x18], 0x10b
jne 0x5c530f4c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530f4c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530fd8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530f6c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517eb7
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530f4c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x5c530fd8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c530f4c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530f4c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530f4c
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530f4c
test word [ebx + 0x16], 2
je 0x5c530f4c
test word [ebx + 0x16], 0x100
je 0x5c530f4c
cmp word [ebx + 0x18], 0x10b
jne 0x5c530f4c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530f4c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530fd8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530f6c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517eb7
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530f4c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x5c53108f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c5310e8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c53108f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c53109e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936d41
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c5310ef
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517f65
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c53118e
add edi, 4
add eax, 2
dec ecx
jne 0x5c5310d4
call 0x5c53113b
loope 0x5c531131
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c53118b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c53119c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c53114f
cmp eax, ecx
ja 0x5c53114f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c5311d9
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c5311cf
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c518444
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5c53109e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c5310e8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c53108f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c53109e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936d41
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c5310ef
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517f65
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c53118e
add edi, 4
add eax, 2
dec ecx
jne 0x5c5310d4
call 0x5c53113b
loope 0x5c531131
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c53118b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c53119c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c53114f
cmp eax, ecx
ja 0x5c53114f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c5311d9
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c5311cf
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c518444
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x414000
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x414006
or ebp, 0xffffffff
xor ebx, ebx
pop esi
lea edi, [esi - 0x13006]
push edi
add word [edi + 0x124dc], 0
add esi, 0x1b3
jmp 0x41402e
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414028
mov eax, 1
add ebx, ebx
jne 0x41404b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x414040
jne 0x41405c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414040
xor ecx, ecx
sub eax, 3
jb 0x4140ca
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4140e6
mov ebp, eax
add ebx, ebx
jne 0x41407b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4140ac
inc ecx
add ebx, ebx
jne 0x414098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x41408d
jne 0x4140a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41408d
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x4140d0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4140bc
jmp 0x41402e
mov eax, ebp
jmp 0x414070
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4140d0
add edi, ecx
jmp 0x41402e
pop esi
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x38
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4140f6
cmp byte [edi], 0
jne 0x4140f6
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 eax, ebx
loop 0x4140fb
pop edi
mov eax, dword [edi]
or eax, eax
je 0x414166
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12064]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414123
push edx
mov ecx, edi
jns 0x414153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x12068]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x414140
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414197
cmp al, 0xef
ja 0x41418a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41416c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414179
popal
jmp section.UPX0
Function at 0x761dc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76676c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x76b054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
push 0
push 2
mov dword [ebp - 0x244], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x761ead
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x761ea6
jmp 0x761e30
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push 1
push esi
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
je 0x761e91
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
mov esi, dword [ebp - 0x244]
jne 0x761e30
jmp 0x761ea6
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
mov bl, 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00765bd8
mov esp, ebp
pop ebp
ret
Function at 0x761ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x76b054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x28], eax
call fcn.00761cf0
mov edi, eax
test edi, edi
jne 0x761f04
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00765bd8
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push eax
push 0x13
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
push 0x40
test esi, esi
push 0
cmove esi, edi
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x80], 0x44
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push 0
push esi
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x761f65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
jb 0x761f7a
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
push dword [ebp - 0x24]
push 0x430
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 8], 8
mov esi, eax
jb 0x761fb1
push dword [ebp - 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
jne 0x761fbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x761fc8
push eax
call sub.USERENV.dll_DestroyEnvironmentBlock
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.00765bd8
mov esp, ebp
pop ebp
ret
Function at 0x766500
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x76652a
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.00766624
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x7665cb
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00766624
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x766570
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00762110
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
jle 0x766609
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x766609
push ecx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x7665f1
push ebp
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x1000d3b0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x1000d474
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x1002d34c], eax
call fcn.1000e580
test eax, eax
jne 0x1000d3d4
ret 0xc
mov ecx, dword [0x1002d34c]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x1002d358], edx
mov dword [0x1002d354], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x1002d350], eax
mov dword [0x1002d34c], ecx
call fcn.1000d720
test eax, eax
jne 0x1000d416
call fcn.1000e5c0
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100471d0], eax
call fcn.1000e420
mov ecx, dword [0x100471d0]
mov dword [0x1002d338], eax
test ecx, ecx
je 0x1000d465
test eax, eax
je 0x1000d465
call fcn.1004fd0a
call fcn.1000e410
call fcn.1004fd0a
call fcn.1000db70
call fcn.1000d5c0
mov eax, dword [0x1002d334]
inc eax
mov dword [0x1002d334], eax
mov eax, 1
ret 0xc
call fcn.1000d780
call fcn.1000e5c0
xor eax, eax
ret 0xc
test eax, eax
jne 0x1000d4b4
mov eax, dword [0x1002d334]
test eax, eax
jle 0x1000d4af
mov ecx, eax
mov eax, dword [0x1002d384]
dec ecx
test eax, eax
mov dword [0x1002d334], ecx
jne 0x1000d498
call fcn.1000d610
call fcn.1000db10
call fcn.1000d780
call fcn.1000e5c0
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x1000d4c3
push 0
call fcn.1000d850
add esp, 4
mov eax, 1
ret 0xc

Function at 0x1000d620
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.1000d6e0
mov eax, dword [0x1002d388]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x1000d644
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x1002d384], 1
mov byte [0x1002d380], bl
jne 0x1000d69e
mov ecx, dword [0x100471c8]
test ecx, ecx
je 0x1000d68c
mov esi, dword [0x100471c4]
sub esi, 4
cmp esi, ecx
jb 0x1000d68c
mov eax, dword [esi]
test eax, eax
je 0x1000d685
call eax
mov ecx, dword [0x100471c8]
sub esi, 4
cmp esi, ecx
jae 0x1000d677
push 0x1001501c
push 0x10015014
call fcn.1000d700
add esp, 8
push 0x10015024
push 0x10015020
call fcn.1000d700
add esp, 8
test ebx, ebx
je 0x1000d6bd
call fcn.1000d6f0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x1002d388], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000d720
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.1000e820
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1001695c], eax
je 0x1000d778
push 0x74
push 1
call fcn.1000ea50
mov esi, eax
add esp, 8
test esi, esi
je 0x1000d778
mov eax, dword [0x1001695c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1000d778
push esi
call fcn.1000d7b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1004a244
Capabilities:
Encode data using xor

Disassembly:
call 0x1004a1bd
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1004a1ed
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1004a209
xor edx, 0
jmp 0x1004a214
xor edx, edx
jmp 0x1004a22b
jmp 0x1004a237
xor eax, eax
push 0x8427d7c0
call 0x1004a244
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004a280
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1004a259
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004a297
add eax, 0
jno 0x1004a29c
add esi, 0
ret 0x10

Function at 0x1004b005
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1004b027
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1004b1c9
cmp edi, dword [ebp + 0x10]
jb 0x1004b1c9
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1004aaf1
inc edi
jmp 0x1004b0b0
jmp 0x1004b0bd
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004aaf1
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004aaf1
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1004b111
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1004b0f5
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004b13f
add dword [eax], 0x39
jle 0x1004b11b
sub al, 0xf5
mov ch, al
call fcn.1004b154
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10