joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ed77
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10013084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, 0x104
mov dword [ebp - 0x110], ecx
push edi
lea eax, [ebp - 0x108]
mov ebx, edx
push 0
push eax
mov dword [ebp - 0x11c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [ebx], 0
lea eax, [ebp - 0x108]
push edi
push eax
push dword [0x10013c54]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_core_versionansi_l1_1_1.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x1000ef21
push esi
push ebx
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1000ef20
push esi
push ebx
push dword [ebp - 0x118]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_core_versionansi_l1_1_1.dll_GetFileVersionInfoA]
test eax, eax
je 0x1000ef19
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x10003c00
push esi
call dword [sym.imp.api_ms_win_core_versionansi_l1_1_0.dll_VerQueryValueA]
mov ebx, dword [ebp - 0x110]
test eax, eax
je 0x1000ee94
cmp dword [ebp - 0x10c], 4
jb 0x1000ee94
mov ecx, dword [ebp - 0x114]
push ebx
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push 0x10003c1c
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.1000ea9c
add esp, 0x18
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.api_ms_win_core_versionansi_l1_1_0.dll_VerQueryValueA]
test eax, eax
je 0x1000ee94
cmp dword [ebp - 0x10c], 0
jne 0x1000ef05
push ecx
push 0x10003c38
push ecx
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.1000eb3b
lea eax, [ebp - 0x110]
mov edx, edi
push eax
lea ecx, [ebp - 0x108]
call fcn.1000eaff
test eax, eax
js 0x1000eedc
sub edi, dword [ebp - 0x110]
push ecx
push ebx
push ecx
lea ecx, [ebp - 0x108]
mov edx, edi
add ecx, dword [ebp - 0x110]
call fcn.1000eb3b
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.api_ms_win_core_versionansi_l1_1_0.dll_VerQueryValueA]
test eax, eax
je 0x1000ef19
cmp dword [ebp - 0x10c], 0
je 0x1000ef19
push dword [ebp - 0x114]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x11c]
call fcn.1000ea69
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10012810
leave
ret 4
Function at 0x10012830
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001286e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10012866
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10012870
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10012856
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10012940
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10012971
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10012971
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10012971
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10017534
Capabilities:
Encode data using xor

Disassembly:
call 0x100174ad
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 0x100174dd
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 0x100174f9
xor edx, 0
jmp 0x10017504
xor edx, edx
jmp 0x1001751b
jmp 0x10017527
xor eax, eax
push 0x8427d7c0
call 0x10017534
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10017570
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 0x10017549
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 0x10017587
add eax, 0
jno 0x1001758c
add esi, 0
ret 0x10
Function at 0x100182f5
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 0x10018317
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 0x100184b9
cmp edi, dword [ebp + 0x10]
jb 0x100184b9
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.10017de1
inc edi
jmp 0x100183a0
jmp 0x100183ad
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017de1
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017de1
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 0x10018401
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 0x100183e5
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001842f
add dword [eax], 0x39
jle 0x1001840b
sub al, 0xf5
mov ch, al
call fcn.10018444
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001a11c
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 0x1001a132
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 0x1001a143
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001a184
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 0x1001c4f0
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 0x1001c439
add ebx, 0
push ecx
call 0x1001c44e
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, 0x7322b073
sub ebx, dword [0x7324a8b2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7324a8a2
call fcn.10017f18
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10017426
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001c5ac
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001c5ac
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 0x1001c563
mov eax, 1
lock xchg dword [0x7324a8ae], eax
push 0x3dd1fc71
call 0x1001c4f0
push esi
add esp, 8
cmp eax, 0
jne 0x1001c4d9
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001c4ff
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001c514
cmp ecx, edx
cmp eax, 0
je 0x1001c539
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 0x1001c523
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001c552
dec eax
loope 0x1001c555
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7324a8ae], 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 0x1001c589
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001c59e
jmp 0x1001c5a9
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001c497
Function at 0x10023611
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 0x100238e7
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73237526
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7322e4ec
push 0xffffffffffffffff
call fcn.1001a811
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 0x1002367b
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10023693
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 0x100238db
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100238af
Function at 0x100330e1
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 0x10033103
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10033103
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10033103
ret
cmp word [ebx + 4], 0x14c
jne 0x10033103
test word [ebx + 0x16], 2
je 0x10033103
test word [ebx + 0x16], 0x100
je 0x10033103
cmp word [ebx + 0x18], 0x10b
jne 0x10033103
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10033103
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003318f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10033123
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001a06e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10033103
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 0x1003318f
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 0x10033103
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10033103
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10033103
ret
cmp word [ebx + 4], 0x14c
jne 0x10033103
test word [ebx + 0x16], 2
je 0x10033103
test word [ebx + 0x16], 0x100
je 0x10033103
cmp word [ebx + 0x18], 0x10b
jne 0x10033103
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10033103
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003318f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10033123
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001a06e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10033103
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 0x10033246
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003329f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10033246
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10033255
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 0x10438ef8
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 0x100332a6
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.1001a11c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10033345
add edi, 4
add eax, 2
dec ecx
jne 0x1003328b
call 0x100332f2
loope 0x100332e8
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10033342
mov dh, pe_nt_image_headers32
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 0x10033353
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 0x10033306
cmp eax, ecx
ja 0x10033306
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10033390
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10033386
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a5fb
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10033255
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003329f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10033246
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10033255
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 0x10438ef8
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 0x100332a6
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.1001a11c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10033345
add edi, 4
add eax, 2
dec ecx
jne 0x1003328b
call 0x100332f2
loope 0x100332e8
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10033342
mov dh, pe_nt_image_headers32
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 0x10033353
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 0x10033306
cmp eax, ecx
ja 0x10033306
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10033390
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10033386
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a5fb
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40b083
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004012c0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b2ba
push esi
call fcn.00409769
cmp eax, 0x3f6
jae 0x40b2ba
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.0040948b
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40b0da
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40b0dd
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40b133
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40b105
jmp 0x40b0f5
cmp word [esi + eax*2], 0x22
je 0x40b0fe
inc eax
cmp word [esi + eax*2], bx
jne 0x40b0ee
jmp 0x40b105
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40b11f
cmp word [esi + eax*2 + 2], 0x2f
je 0x40b11f
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40b0e6
jmp 0x40b133
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40b12d
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40b148
cmp word [0x42606a], bx
je 0x40b148
mov dword [ebp - 0x2c], 0x42606a
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.0040780b
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40b174
push str..inf
push eax
call fcn.0040d524
test eax, eax
jne 0x40b174
mov dword [ebp - 0x34], 0x40e8d0
push dword [ebp - 0x30]
call fcn.00403a01
mov bl, al
test bl, bl
je 0x40b19a
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00407469
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40b1d8
test bl, bl
jne 0x40b1d8
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.00409793
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.00409800
lea eax, [ebp - 0x840]
push eax
call fcn.00403a01
test al, al
je 0x40b2b9
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40b20a
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40b2b9
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x425860], bl
jne 0x40b21f
cmp byte [ebp + 8], bl
je 0x40b255
mov eax, dword [0x425858]
test eax, eax
je 0x40b23f
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b23f
push 0
push dword [0x425858]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040a9ce
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b275
push str..exe
push dword [ebp - 4]
call fcn.0040d524
test eax, eax
je 0x40b2a5
cmp byte [0x425860], 0
je 0x40b28b
cmp byte [ebp + 8], 0
jne 0x40b28b
push 0x1b58
jmp 0x40b29f
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x40b2b9
cmp byte [ebp + 8], 0
je 0x40b2b9
push 1
push dword [0x425858]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1003a980
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp]
push esi
push 0x104
push ecx
push eax
mov esi, 0xfffff8ed
call fcn.10115660
test eax, eax
js 0x1003a9c6
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1011720d
add esp, 0x108
ret 4

Function at 0x1003ac00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [0x100040c0]
movdqu xmm0, xmmword [0x10004098]
mov dword [esp + 0x78], eax
movzx eax, word [0x100040c4]
mov word [esp + 0x7c], ax
movzx eax, word [0x100040d8]
movdqu xmmword [esp + 0x50], xmm0
mov word [esp + 0x20], ax
lea eax, [esp + 8]
movdqu xmm0, xmmword [0x100040a8]
push eax
push 1
movdqu xmmword [esp + 0x68], xmm0
lea eax, [esp + 0x58]
mov dword [esp + 0x14], 4
movq xmm0, qword [0x100040b8]
push 0
movq qword [esp + 0x7c], xmm0
movdqu xmm0, xmmword [0x100040c8]
push eax
push reloc.mswstr10.dll_Ordinal_2
movdqu xmmword [esp + 0x24], xmm0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003acc7
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], eax
sete al
test eax, eax
je 0x1003ada9
movdqu xmm0, xmmword [0x100040dc]
movzx eax, word [0x10004114]
mov word [esp + 0xb8], ax
mov al, byte [0x10004116]
movdqu xmmword [esp + 0x80], xmm0
mov byte [esp + 0xba], al
movdqu xmm0, xmmword [0x100040ec]
movzx eax, word [0x100040d8]
mov word [esp + 0x40], ax
lea eax, [esp + 8]
movdqu xmmword [esp + 0x90], xmm0
push eax
movdqu xmm0, xmmword [0x100040fc]
push 1
push 0
movdqu xmmword [esp + 0xac], xmm0
lea eax, [esp + 0x8c]
mov dword [esp + 0x10], 0
movq xmm0, qword [0x1000410c]
movq qword [esp + 0xbc], xmm0
movdqu xmm0, xmmword [0x100040c8]
push eax
push reloc.mswstr10.dll_Ordinal_2
movdqu xmmword [esp + 0x44], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003ada0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], eax
sete al
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.1011720d
mov esp, ebp
pop ebp
ret
Function at 0x10047b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ebp, ebp
push edi
lea eax, [ebx + 0x10]
mov ecx, ebx
mov edi, eax
sub edi, ebx
mov dword [esi], 0
add edi, 3
shr edi, 2
cmp ebx, eax
cmova edi, ebp
test edi, edi
je 0x10047b7c
mov edi, edi
mov eax, dword [ecx]
lea ecx, [ecx + 4]
xor dword [esi], eax
inc edx
cmp edx, edi
jb 0x10047b70
mov ebx, dword [ebx]
mov edi, dword [esp + 0x14]
or ebx, 1
mov dword [esp + 0x1c], ebx
xor ebp, ebp
mov eax, ebx
lea ecx, [ecx]
xor ebx, ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x14], ebx
cmp dword [esi], ebx
je 0x10047c37
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx*4 + 0x10139180]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10047be1
push 0x80400000
push 0x1000490c
lea eax, [esp + 0x28]
push eax
push ecx
push edi
call fcn.1003b890
test eax, eax
js 0x10047c33
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
jmp 0x10047be5
mov dword [esp + 0x20], eax
push 0x100050e0
push eax
push edi
call fcn.1003cf10
test eax, eax
js 0x10047c1e
push 1
push 4
push esi
push dword [esp + 0x2c]
push edi
call fcn.1003c740
test eax, eax
js 0x10047c1e
push 1
push dword [esp + 0x24]
push edi
call fcn.1003cd50
test eax, eax
mov eax, 1
cmovs ebx, eax
cmp dword [esp + 0x14], 0
je 0x10047c2f
push dword [esp + 0x20]
push edi
call fcn.1003bde0
test ebx, ebx
jne 0x10047c52
mov eax, dword [esp + 0x1c]
add dword [esi], eax
inc ebp
cmp ebp, 0x7fffffff
jl 0x10047b90
pop edi
pop esi
pop ebp
mov eax, 0xffffb1bc
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10