joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ebe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push eax
jmp 0x407d67
call 0x407d75
add byte [edi + 0x4c484640], dh
xor edi, dword [edx]
add esp, 4
pop eax
push ecx
xor ecx, 0x12502
xor ecx, 0xa44f
and ecx, 0x2bed
and ecx, 0xed97
pop ecx
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
push edi
add edi, 0xc392
and edi, 0x10747
pop edi
push edi
push esi
add esp, 4
call fcn.00407e0a
add byte [esi], dh
dec esp
xor eax, 0x4544333d
add esp, 4
add edi, 0xf114
pop edi
push edx
and edx, 0xa917
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407e39
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x407e93
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x407d61
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x407d61
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x407e7d
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x407e87
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x407edc
push edi
or edi, 0xeefb
pop edi
push edx
push ecx
add esp, 4
jmp 0x407eaf
call 0x407ebe
add byte [eax + 0x49], cl
xor ecx, dword [ebp + 0x3c]
inc edi
dec esp
inc esi
dec ebp
add esp, 4
sub edx, 0x6c70
and edx, 0xd573
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x407f44
push esi
xor esi, 0x155a9
pop esi
push esi
push eax
add esp, 4
xor esi, 0x5161
pop esi
push edi
push eax
add esp, 4
xor edi, 0x47c9
xor edi, 0x244f
xor edi, 0x4ed9
xor edi, 0xb469
pop edi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x407f3a
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x407d05
mov dword [ebp - 0x2fc], 0
Function at 0x425653
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00425ca6
mov edi, dword [0x50bafc]
test edi, edi
jne 0x42567a
push 0x50baf8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [0x50bafc]
mov eax, dword [ebp + 8]
xor edx, edx
div edi
xor ecx, ecx
push 4
cmp ecx, edx
sbb ecx, ecx
imul eax, edi
and ecx, edi
add ecx, eax
pop eax
push eax
push 0x1000
push ecx
xor edi, edi
push edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne 0x4256e5
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x4256dd
test byte [eax + 0x1c], 1
je 0x4256dd
cmp byte [eax + 0x19], 2
jb 0x4256dd
push 0x4c50f8
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov dword [esi + 8], edi
mov dword [esi + 4], edi
jmp 0x4256f0
push dword [esi + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
ret 4
Function at 0x4290f2
Capabilities:
Get system information on windows

Disassembly:
cmp byte [0x50bc68], 0
jne 0x429196
push esi
push edi
mov esi, 0x11c
push esi
push 0
mov edi, 0x50bb20
push edi
call fcn.0046bdb0
add esp, 0xc
mov dword [0x50bb20], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
call esi
test eax, eax
jne 0x429174
push edi
mov dword [0x50bb20], 0x114
call esi
test eax, eax
jne 0x429174
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x429174
test byte [eax + 0x1c], 1
je 0x429174
cmp byte [eax + 0x19], 2
jb 0x429174
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x50b594]
push 0x4c543c
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041e118
add esp, 0x14
push 0x24
push 0
mov esi, 0x50bc3c
push esi
call fcn.0046bdb0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
mov byte [0x50bc68], 1
pop esi
mov al, 1
ret
Function at 0x429ebd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
xor ecx, ecx
test edi, edi
je 0x429f0e
cmp dword [ebx], ecx
jne 0x429f0e
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x429f02
test byte [eax + 0x1c], 1
je 0x429f02
cmp byte [eax + 0x19], 2
jb 0x429f02
push 0x4c551c
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov dword [esi + 8], 0x57
jmp 0x429fa8
push ebx
push edi
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp + 0xc], ecx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 8], eax
test eax, eax
jne 0x429fa8
inc eax
cmp dword [ebp + 0xc], eax
je 0x429f5e
cmp dword [ebp + 0xc], 2
je 0x429f5e
cmp dword [ebp + 0xc], 7
je 0x429f5e
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x429fa1
test byte [eax + 0x1c], 1
je 0x429fa1
cmp byte [eax + 0x19], 2
jb 0x429fa1
push 0x4c551c
push 0x17
jmp 0x429f93
mov ecx, dword [ebx]
test cl, 1
jne 0x429f74
test edi, edi
je 0x429faa
shr ecx, 1
xor edx, edx
cmp word [edi + ecx*2 - 2], dx
je 0x429faa
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x429fa1
test byte [eax + 0x1c], 1
je 0x429fa1
cmp byte [eax + 0x19], 2
jb 0x429fa1
push 0x4c551c
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov dword [esi + 8], 0xd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x429fb1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x64
mov eax, 0x4b7ac2
call fcn.004701a5
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push dword [esi + 4]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 8], eax
test eax, eax
je 0x429ff7
xor eax, eax
jmp 0x42a171
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x3c], ecx
je 0x42a03a
cmp dword [ebp - 0x3c], 2
je 0x42a03a
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x42a031
test byte [eax + 0x1c], cl
je 0x42a031
cmp byte [eax + 0x19], 2
jb 0x42a031
push 0x4c551c
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov dword [esi + 8], 0xd
jmp 0x429ff0
test byte [ebp - 0x38], cl
je 0x42a05f
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x42a031
test byte [eax + 0x1c], cl
je 0x42a031
cmp byte [eax + 0x19], 2
jb 0x42a031
push 0x4c551c
push 0x1a
jmp 0x42a023
lea ecx, [ebp - 0x68]
call fcn.00426a1a
mov eax, dword [ebp - 0x38]
and dword [ebp - 4], 0
add eax, 2
mov dword [ebp - 0x38], eax
shr eax, 1
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00424985
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp - 0x44]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esi + 8], eax
call fcn.00402db7
cmp dword [esi + 8], 0
je 0x42a14c
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x42a0df
test byte [eax + 0x1c], 1
je 0x42a0df
cmp byte [eax + 0x19], 2
jb 0x42a0df
push dword [esi + 8]
push 0x4c551c
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041e118
add esp, 0x14
mov ecx, ebx
call fcn.00402f62
jmp 0x42a14c
lea ecx, [ebp - 0x68]
call fcn.00426c16
test al, al
je 0x42a15f
mov dword [esi + 8], 0xe
xor ebx, ebx
cmp dword [esi + 8], ebx
lea ecx, [ebp - 0x68]
sete bl
call fcn.00426a56
mov eax, ebx
call fcn.004700f7
ret 8

Function at 0x42a22a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 1
push edi
mov edi, ecx
je 0x42a273
cmp dword [ebp + 0x10], 2
je 0x42a273
cmp dword [ebp + 0x10], 7
je 0x42a273
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x42a26f
test byte [eax + 0x1c], 1
je 0x42a26f
cmp byte [eax + 0x19], 2
jb 0x42a26f
push 0x4c551c
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
xor eax, eax
jmp 0x42a2a4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov dword [edi + 8], eax
mov eax, ecx
pop edi
pop ebp
ret 0xc
Function at 0x42a2fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], 4
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 8], eax
test eax, eax
je 0x42a335
xor eax, eax
jmp 0x42a374
cmp dword [ebp - 4], 4
je 0x42a371
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x42a368
test byte [eax + 0x1c], 1
je 0x42a368
cmp byte [eax + 0x19], 2
jb 0x42a368
push 0x4c551c
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov dword [esi + 8], 0xd
jmp 0x42a331
xor eax, eax
inc eax
pop esi
leave
ret 8

Function at 0x42ee11
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
lea eax, [ebp - 4]
push eax
mov edi, ecx
push esi
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ee47
cmp dword [ebp - 4], esi
jne 0x42ee47
xor eax, eax
inc eax
jmp 0x42ee82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xc], eax
mov ecx, dword [0x50b594]
cmp ecx, 0x50b594
je 0x42ee80
test byte [ecx + 0x1c], 1
je 0x42ee80
cmp byte [ecx + 0x19], 2
jb 0x42ee80
push eax
push 0x4c58e0
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0041e118
add esp, 0x14
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x42eebc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
lea eax, [ebp - 4]
push eax
mov edi, ecx
push esi
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42eef2
cmp dword [ebp - 4], esi
jne 0x42eef2
xor eax, eax
inc eax
jmp 0x42ef2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xc], eax
mov ecx, dword [0x50b594]
cmp ecx, 0x50b594
je 0x42ef2b
test byte [ecx + 0x1c], 1
je 0x42ef2b
cmp byte [ecx + 0x19], 2
jb 0x42ef2b
push eax
push 0x4c58e0
push 0xf
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0041e118
add esp, 0x14
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x42f457
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [esi], 0
and dword [esi + 4], 0
mov edi, ecx
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 4]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42f4c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xc], eax
test eax, eax
je 0x42f4c6
mov ecx, dword [0x50b594]
cmp ecx, 0x50b594
je 0x42f4c2
test byte [ecx + 0x1c], 1
je 0x42f4c2
cmp byte [ecx + 0x19], 2
jb 0x42f4c2
push eax
push 0x4c58e0
push 0x11
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0041e118
add esp, 0x14
xor eax, eax
jmp 0x42f4d4
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4

Function at 0x42f500
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.0042ed81
test eax, eax
je 0x42f52f
lea ecx, [esi + 4]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42f52f
xor eax, eax
inc eax
jmp 0x42f56a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov ecx, dword [0x50b594]
cmp ecx, 0x50b594
je 0x42f568
test byte [ecx + 0x1c], 1
je 0x42f568
cmp byte [ecx + 0x19], 2
jb 0x42f568
push eax
push 0x4c58e0
push 0x12
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0041e118
add esp, 0x14
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4327d5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
or edx, 0xffffffff
cmp dword [ebp + 0xc], esi
jbe 0x432801
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [esi + edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4c5aa0]
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4327e7
pop edi
not edx
mov eax, edx
pop esi
pop ebp
ret

Function at 0x432808
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.004735e0
mov eax, dword [0x5087d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x2014], eax
or dword [esi], 0xffffffff
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x200c], edx
mov dword [ebp - 0x2010], ecx
mov dword [ebp - 0x2008], eax
mov dword [ebp - 0x2018], ebx
cmp ebx, 0x2000
jbe 0x432864
mov edi, 0x2000
jmp 0x43286e
mov edi, ebx
test ebx, ebx
je 0x43290e
push edi
lea edx, [ebp - 0x2004]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x200c]
call fcn.0042ee88
test eax, eax
je 0x4328dd
and dword [ebp - 0x201c], 0
test edi, edi
je 0x4328be
mov ebx, dword [ebp - 0x201c]
mov edx, dword [esi]
movzx ecx, byte [ebp + ebx - 0x2004]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4c5aa0]
inc ebx
mov dword [esi], edx
cmp ebx, edi
jb 0x432898
mov ebx, dword [ebp - 0x2018]
mov ecx, dword [ebp - 0x2010]
mov eax, dword [ebp - 0x2008]
sub ebx, edi
sbb dword [ebp - 0x2014], 0
add ecx, edi
adc eax, 0
jmp 0x432843
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x43290a
test byte [eax + 0x1c], 1
je 0x43290a
cmp byte [eax + 0x19], 2
jb 0x43290a
push 0x4c5ea0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
xor eax, eax
jmp 0x432913
not dword [esi]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aec6
leave
ret
Function at 0x4331fa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.00426da7
xor edi, edi
push edi
lea ecx, [esi + 4]
call fcn.0043c406
mov dword [esi + 0x38], edi
cmp dword [esi + 0x30], edi
je 0x433285
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.00433de8
test eax, eax
jne 0x43327c
push 1
push eax
push eax
push eax
push 1
push eax
mov ecx, edi
call fcn.00433b4c
test eax, eax
jne 0x43327c
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x433275
test byte [eax + 0x1c], 1
je 0x433275
cmp byte [eax + 0x19], 2
jb 0x433275
push 0x4c5ed4
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
xor eax, eax
jmp 0x433414
mov ecx, edi
call fcn.00433da9
xor edi, edi
cmp dword [esi + 0x24], edi
je 0x4332f2
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x3c]
push edi
or eax, 4
push eax
push esi
push 0x4339cb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, ebx
call fcn.00426d5d
mov ecx, ebx
call fcn.00426eb2
test al, al
jne 0x433368
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x433368
test byte [eax + 0x1c], 1
je 0x433368
cmp byte [eax + 0x19], 2
jb 0x433368
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c5ed4
push 0xd
jmp 0x433355
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
or eax, 4
push eax
push esi
push 0x4339df
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.0047073e
add esp, 0x18
mov ecx, ebx
push eax
call fcn.00426d5d
mov eax, dword [ebp - 4]
lea edi, [esi + 0x3c]
mov ecx, ebx
mov dword [edi], eax
call fcn.00426eb2
test al, al
jne 0x433368
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x433368
test byte [eax + 0x1c], 1
je 0x433368
cmp byte [eax + 0x19], 2
jb 0x433368
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c5ed4
push 0xe
mov eax, dword [0x50b594]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041e118
add esp, 0x14
mov ecx, ebx
call fcn.00426eb2
test al, al
je 0x433275
mov eax, dword [0x50b594]
mov ebx, 0x50b594
cmp eax, ebx
je 0x4333b4
test byte [eax + 0x1c], 1
je 0x4333b4
cmp byte [eax + 0x19], 4
jb 0x4333b4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x50b594]
push 0x4c5ed4
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042de03
add esp, 0x18
xor edi, edi
inc edi
test byte [ebp + 0x10], 4
jne 0x43340a
mov ecx, esi
call fcn.00433479
xor eax, eax
cmp dword [esi + 0x30], eax
je 0x43340a
push dword [esi + 0x28]
lea ecx, [esi + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi + 0x38]
test edi, edi
jne 0x43340a
mov ecx, dword [0x50b594]
cmp ecx, ebx
je 0x43340a
test byte [ecx + 0x1c], 1
je 0x43340a
cmp byte [ecx + 0x19], 2
jb 0x43340a
push 0x4c5ed4
push 0x10
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0041df22
add esp, 0x10
lea ecx, [esi + 0xc]
call fcn.00433cf0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x433479
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0043365c
test eax, eax
jne 0x4334c6
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x4334c1
test byte [eax + 0x1c], 1
je 0x4334c1
cmp byte [eax + 0x19], 2
jb 0x4334c1
lea ecx, [esi + 0x14]
call fcn.00426ec4
push dword [eax]
mov eax, dword [0x50b594]
push 0x4c5ed4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041e118
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
lea ecx, [esi + 0x14]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

Function at 0x43353e
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
inc edi
call fcn.0043365c
test eax, eax
je 0x4335ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [ebp + 8]
mov ecx, esi
call fcn.004334d7
test eax, eax
jne 0x4335ac
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x433599
test byte [eax + 0x1c], 1
je 0x433599
cmp byte [eax + 0x19], 2
jb 0x433599
push dword [esi + 0x3c]
push dword [ebp + 8]
push 0x4c5ed4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042de03
add esp, 0x18
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
call fcn.00426da3
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor edi, edi
lea ecx, [esi + 0x14]
call fcn.00426da7
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x43743e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5087d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5c
push edi
call fcn.0046f80a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43746b
mov esi, edi
jmp 0x43746e
add esi, 2
push 0x4e1c68
push esi
call fcn.0046e867
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
pop ecx
pop ecx
push 0x508688
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x25c], ebx
call fcn.00401520
test bl, bl
jne 0x4374db
push 0x2e
push esi
call fcn.0046e988
pop ecx
pop ecx
test eax, eax
jne 0x4374db
lea eax, [ebp - 0x258]
push eax
push edi
call fcn.00422d6f
pop ecx
pop ecx
test al, al
je 0x4374f0
lea eax, [ebp - 0x258]
push 0x4c6240
push eax
call fcn.00423741
pop ecx
pop ecx
test al, al
je 0x4374f0
mov edi, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4374f4
xor bl, bl
jmp 0x437531
xor bl, bl
test byte [ebp - 0x254], 0x10
je 0x437508
cmp byte [ebp - 0x25c], 0
jmp 0x437512
test dword [ebp - 0x254], 0x69a3
jne 0x437528
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4374f6
jmp 0x43752a
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.00402199
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046aec6
leave
ret
Function at 0x439d5b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5087d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x439e9d
test esi, esi
je 0x439e9d
mov edi, dword [ebp + 0x10]
cmp edi, 0x26
jb 0x439e9d
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0046bdb0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x439dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x439ea0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x439e99
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x439e99
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.0046ef87
add esp, 0xc
test eax, eax
jne 0x439e92
push 0x4c6534
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x439e92
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439dd6
lea eax, [ebp - 0x41c]
push eax
push edi
push esi
push 0x4daef0
push str.silo
push str.isolation
call fcn.0043a4bd
lea ecx, [edi - 1]
add esp, 0x18
cmp eax, ecx
jne 0x439e72
push 0x7a
jmp 0x439e9f
push esi
call fcn.0043ad78
pop ecx
test al, al
jne 0x439e82
xor eax, eax
mov word [esi], ax
xor eax, eax
xor ecx, ecx
cmp word [esi], cx
setne al
dec eax
and eax, 0xd
jmp 0x439ea0
mov eax, 0x54f
jmp 0x439ea0
push 2
jmp 0x439e9f
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aec6
leave
ret