joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003609f
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 0x100360c1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100360c1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100360c1
ret
cmp word [ebx + 4], 0x14c
jne 0x100360c1
test word [ebx + 0x16], 2
je 0x100360c1
test word [ebx + 0x16], 0x100
je 0x100360c1
cmp word [ebx + 0x18], 0x10b
jne 0x100360c1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100360c1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003614d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100360e1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001d02c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100360c1
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 0x1003614d
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 0x100360c1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100360c1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100360c1
ret
cmp word [ebx + 4], 0x14c
jne 0x100360c1
test word [ebx + 0x16], 2
je 0x100360c1
test word [ebx + 0x16], 0x100
je 0x100360c1
cmp word [ebx + 0x18], 0x10b
jne 0x100360c1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100360c1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003614d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100360e1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001d02c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100360c1
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 0x10036204
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003625d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036204
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036213
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 0x1043beb6
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 0x10036264
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.1001d0da
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10036303
add edi, 4
add eax, 2
dec ecx
jne 0x10036249
call 0x100362b0
loope 0x100362a6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10036300
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 0x10036311
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 0x100362c4
cmp eax, ecx
ja 0x100362c4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003634e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10036344
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001d5b9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10036213
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003625d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036204
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036213
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 0x1043beb6
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 0x10036264
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.1001d0da
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10036303
add edi, 4
add eax, 2
dec ecx
jne 0x10036249
call 0x100362b0
loope 0x100362a6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10036300
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 0x10036311
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 0x100362c4
cmp eax, ecx
ja 0x100362c4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003634e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10036344
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001d5b9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441090]
jne 0x401abf
repz ret
jmp fcn.00402d08

Function at 0x40b28e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403feb
and dword [ebp - 4], 0
cmp dword [0x444fcc], 0
mov ebx, eax
jne 0x40b33f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b3f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b3f0
push eax
call fcn.00403f79
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444fcc], eax
call esi
push eax
call fcn.00403f79
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444fd0], eax
call esi
push eax
call fcn.00403f79
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444fd4], eax
call esi
push eax
call fcn.00403f79
pop ecx
mov dword [0x444fdc], eax
test eax, eax
je 0x40b33f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403f79
pop ecx
mov dword [0x444fd8], eax
mov eax, dword [0x444fd8]
cmp eax, ebx
je 0x40b397
cmp dword [0x444fdc], ebx
je 0x40b397
push eax
call fcn.00403ff4
push dword [0x444fdc]
mov esi, eax
call fcn.00403ff4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b397
test edi, edi
je 0x40b397
call esi
test eax, eax
je 0x40b38e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b38e
test byte [ebp - 0xc], 1
jne 0x40b397
or dword [ebp + 0x10], 0x200000
jmp 0x40b3d0
mov eax, dword [0x444fd0]
cmp eax, ebx
je 0x40b3d0
push eax
call fcn.00403ff4
pop ecx
test eax, eax
je 0x40b3d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b3d0
mov eax, dword [0x444fd4]
cmp eax, ebx
je 0x40b3d0
push eax
call fcn.00403ff4
pop ecx
test eax, eax
je 0x40b3d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444fcc]
call fcn.00403ff4
pop ecx
test eax, eax
je 0x40b3f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b3f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x712058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007121a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x71207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x71206a
add dl, dl
jne 0x712089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7120dc
xor eax, eax
add dl, dl
jne 0x712096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x71217d
add dl, dl
jne 0x7120a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7120b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7120bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7120c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7120d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x712075
mov eax, 1
add dl, dl
jne 0x7120ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7120f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7120e1
sub eax, ebx
mov ebx, 1
jne 0x712128
mov ecx, 1
add dl, dl
jne 0x71210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x712119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x712105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x712075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x71213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x71214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x712136
cmp eax, 0x7d00
jae 0x71216d
cmp eax, 0x500
jb 0x712168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x712075
cmp eax, 0x7f
ja 0x712170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x712075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x71219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x712075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x29a01815
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x29a169b8]
jne 0x29a0181f
repz ret
jmp fcn.29a0e56f

Function at 0x29a0317a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x29a03189
pop dword [ebp - 0x44]
mov eax, 0x91a845f8
sub eax, 0x6808146f
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xe017a82f
add dword [ebp - 0x54], 0x6e3a9d1c
mov dword [ebp - 0x50], 0x2444e894
add dword [ebp - 0x50], 0xdee63b1
mov dword [ebp - 0x4c], 0x96b3cd6e
add dword [ebp - 0x4c], 0xb59876c0
mov dword [ebp - 0x48], 0xf42b43bd
add dword [ebp - 0x48], 0xbd4bc43
lea eax, [ebp - 0x54]
push eax
mov eax, 0x376f3458
sub eax, 0xdce33b4
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x7f99e239
sub dword [ebp - 0x54], 0xb2778e3
mov dword [ebp - 0x50], 0x66bb1ef
sub dword [ebp - 0x50], 0xc4ff507a
mov dword [ebp - 0x4c], 0x636d7e81
add dword [ebp - 0x4c], 0x1edeb
mov dword [ebp - 0x48], 0xfdce7258
add dword [ebp - 0x48], 0x2318da8
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x6abb7878
add eax, 0xbee58824
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x38220
push 0
call eax
mov ecx, 0xda4e4326
sub ecx, 0xda4e004f
mov esi, eax
mov edx, 0x758eea60
add edx, 0xb41303a0
add edx, dword [ebp - 0x44]
mov ebx, 0x77c5b9da
add ebx, 0x2e887453
xor dword [ebp - 0x14], 0x4464fa26
mov edi, dword [edx]
add dword [ebp - 0x10], ecx
xor edi, ebx
sub dword [ebp - 0x18], 0x20d10ad9
mov dword [esi], edi
add esi, 0x26b0becb
sub esi, 0x26b0bec7
add edx, 0x9cc5069b
sub edx, 0x9cc50697
loop 0x29a032ab
add eax, 0xfe2f
xor ebx, ebx
add ebx, eax
add eax, 0xb7c90f55
sub eax, 0xb7c90f50
mov ecx, 0x29a00000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5347e2
Capabilities:
Encode data using xor

Disassembly:
cmp ebx, 2
push esp
mov word [esp], 0x3951
call int.0053349e
lea esp, [esp + 0x38]
je 0x53448b
push 0x4114b420
jmp 0x53348f

Function at 0x658e26
Capabilities:
Check http status code

Disassembly:
lea esp, [esp + 0xc]
jae 0x535779
bsr di, si
shr bh, cl
shr ch, cl
movsx bx, dl
mov ebx, eax
btr edi, 0x13
mov edi, eax
and cx, 0x985c
cmc
bt bx, cx
setns ch
mov ecx, 0x104
call fcn.00538568
Function at 0x10008c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10008c4f
pop dword [ebp - 0x24]
mov eax, 0x80c95a79
sub eax, 0x70c8ce2a
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x34007
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x2137f6a7
add ecx, 0xdec844ce
mov ebx, eax
mov esi, 0x10019800
add esi, dword [ebp - 0x24]
mov edi, 0x346324b0
sub edi, 0x3f35000d
xor dword [ebp - 0x14], edi
mov edx, dword [esi]
add dword [ebp - 8], ecx
xor edx, edi
add dword [ebp - 0x1c], eax
mov dword [ebx], edx
add ebx, 4
add esi, 0xc5c54982
add esi, 0x3a3ab682
loop 0x10008ca3
add eax, 0x5c6792a8
add eax, 0xa3994dff
xor ebx, ebx
add ebx, eax
add eax, 0x284f6be9
add eax, 0xd7b0941c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x38c04a98
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x38c04bd3
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x38c04ba8
test eax, eax
jne 0x38c04ba8
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x38c04ae8
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x38c04bd3
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x38c04ba8
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc
Function at 0x38c0b968
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edx, edx
mov edi, ecx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x41c], edx
mov ebx, 0x104
cmp dword [edi + 0xc], edx
jne 0x38c0ba25
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x424]
movzx eax, word [eax]
push 0x5c
pop edx
cmp dx, ax
je 0x38c0b9cc
mov word [ecx], ax
inc ecx
inc ecx
xor edx, edx
cmp dx, ax
je 0x38c0b9e8
add dword [ebp - 0x424], 2
inc dword [ebp - 0x420]
cmp dword [ebp - 0x420], ebx
jl 0x38c0b9b6
xor eax, eax
mov word [ebp - 0x20e], ax
lea eax, [ebp - 0x414]
push eax
push 0x38c0bb20
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.38c06580
add esp, 0x10
test eax, eax
jl 0x38c0ba25
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x38c0baf7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x38c0ba49
mov dword [ebp - 0x41c], 1
jmp 0x38c0babe
mov eax, dword [esi]
push 0x20
push 2
push esi
call dword [eax + 0xc]
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
call fcn.38c1668d
mov eax, dword [esi]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 2
push esi
call dword [eax + 0x14]
jmp 0x38c0ba8c
push 0x5dc
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x38c0ba98
push esi
call fcn.38c15c6b
test eax, eax
jne 0x38c0baa2
jmp 0x38c0ba7a
mov dword [ebp - 0x41c], 1
mov eax, dword [esi]
push ebx
push 0x38c0552c
push 2
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
cmp dword [ebp - 0x41c], ebx
je 0x38c0baf7
mov eax, dword [edi]
mov ecx, dword [eax]
lea esi, [edi + 4]
push esi
push 0x38c0bb10
push eax
call dword [ecx]
test eax, eax
jl 0x38c0baf7
mov eax, dword [esi]
push 1
lea edx, [ebp - 0x415]
push edx
push dword [edi + 8]
mov byte [ebp - 0x415], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x38c0baf7
push esi
call fcn.38c02959
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 8
Function at 0x38c0df51
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov dword [ebp - 0x214], ecx
push 4
lea edi, [ebx + 0x52]
pop ecx
mov esi, 0x38c05840
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
je 0x38c0dfb0
push eax
push dword [ebp - 0x218]
lea eax, [ebx + 0x52]
push eax
call fcn.38c0d154
jmp 0x38c0dfe0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.38c0dc31
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call fcn.38c0c6e0
cmp eax, 0x8001010d
jne 0x38c0e079
push ebx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x22c]
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 0x80004005
call fcn.38c0c534
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x22c]
push eax
push 0x38c0c9c2
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x38c0e068
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x210], esi
jl 0x38c0e061
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
call fcn.38c0c5a4
mov dword [ebp - 0x210], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x22c]
call fcn.38c0c563
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0xc

Function at 0x38c0e6ba
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x2b4
push esi
push 0
push ebx
mov dword [ebp - 0x210], ecx
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0xa]
add esp, 0xc
or ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
push esi
and eax, 8
push ebx
add eax, eax
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.38c0dc31
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0xc