joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41387e
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x4139a5
push 4
pop edi
sub edi, 1
jb 0x41388d
cmp edx, 0xf
jbe 0x4139b5
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x44d31c]
xor ebp, dword [esi*4 + 0x44cf1c]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x44d71c]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x44db1c]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x44df1c]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x44e31c]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x44e71c]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x44eb1c]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x44ef1c]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x44f31c]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x44f71c]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x44fb1c]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x44ff1c]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x45031c]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x45071c]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x450b1c]
push 0x44cf0c
call fcn.00413e09
pop ecx
mov ebx, ebp
jmp 0x413899
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x44cf1c]
test edx, edx
jne 0x413992
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x44cefc
call fcn.00448810
Function at 0x420100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45f08c]
test eax, eax
je 0x4201b8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x42012c
cmp dword [eax + 4], 0
mov edi, eax
je 0x42012c
add edi, 8
jmp 0x4201b3
mov eax, dword [0x45f08c]
test eax, eax
je 0x4201c7
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4201b1
mov esi, eax
test eax, eax
jne 0x420187
movzx eax, byte [0x45fae8]
mov ecx, 0xc
mov edx, 4
call fcn.004396a0
test eax, eax
je 0x4201e2
mov dword [eax], 0x45f08c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45f08c]
test eax, eax
je 0x4201d6
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x4201b3
test ecx, ecx
je 0x4201b3
lock dec dword [ecx]
jne 0x4201b3
call fcn.0041fe00
jmp 0x4201b3
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45f08c
call fcn.00449400
jmp 0x420110
mov ecx, 0x45f08c
call fcn.00449400
jmp 0x42013a
mov ecx, 0x45f08c
call fcn.00449400
jmp 0x42017f
mov ecx, 4
mov edx, 0xc
call fcn.00448670
int3
Function at 0x420e80
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x420ed4
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x420ef7
test eax, eax
js 0x420ee3
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x420eef
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
add esp, 0x34
pop esi
pop edi
ret
mov eax, esp
mov dword [esp + 0x1c], 0x4551e4
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.0041f8b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f9e0
mov ecx, 7
int 0x29
ud2
Function at 0x4216b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x45f07c]
test eax, eax
je 0x421748
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4216d6
cmp dword [eax + 4], 0
je 0x4216d6
add eax, 8
pop esi
ret
mov eax, dword [0x45f07c]
test eax, eax
je 0x421757
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x421744
mov esi, eax
test eax, eax
jne 0x42172d
movzx eax, byte [0x45fae8]
mov ecx, 0x10
mov edx, 4
call fcn.004396a0
test eax, eax
je 0x421772
mov dword [eax], 0x45f07c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45f07c]
test eax, eax
je 0x421766
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x45f07c
call fcn.00449400
jmp 0x4216bf
mov ecx, 0x45f07c
call fcn.00449400
jmp 0x4216e0
mov ecx, 0x45f07c
call fcn.00449400
jmp 0x421725
mov ecx, 4
mov edx, 0x10
call fcn.00448670
int3
Function at 0x4233e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x439c70
mov dword [ebp - 0x28], ecx
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x30], 0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 0
cmp esi, 0x201
jae 0x423470
jmp 0x42345e
jbe 0x4234fc
cmp esi, 0x201
jae 0x423470
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov edi, esi
jmp 0x4234ab
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x42349c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, edi
push esi
call fcn.00449660
add esp, 4
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x4234cb
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x423534
cmp esi, edi
jne 0x423450
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x423572
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x42345e
jmp 0x423470
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmp esi, edx
ja 0x423592
lea ecx, [ebp - 0x4c]
mov edx, ebx
push esi
call fcn.00423c40
add esp, 4
movsd xmm0, qword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x44]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x42354a
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 0x80000000
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42355e
mov ecx, dword [ebp - 0x24]
mov edx, 2
call fcn.00439700
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x440
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, str.internal_error:_entered_unreachable_code_b6E
mov edx, 0x28
push 0x455940
call fcn.004488d0
add esp, 4
jmp 0x4235a1
mov ecx, esi
push 0x455930
call fcn.00448870
add esp, 4
ud2
Function at 0x42b770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b828
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x42b79c
cmp dword [eax + 4], 0
mov edi, eax
je 0x42b79c
add edi, 8
jmp 0x42b823
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b837
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x42b821
mov esi, eax
test eax, eax
jne 0x42b7f7
movzx eax, byte [0x45fae8]
mov ecx, 0xc
mov edx, 4
call fcn.004396a0
test eax, eax
je 0x42b852
mov dword [eax], 0x45f0ac
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b846
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x42b823
test ecx, ecx
je 0x42b823
lock dec dword [ecx]
jne 0x42b823
call fcn.0042b870
jmp 0x42b823
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45f0ac
call fcn.00449400
jmp 0x42b780
mov ecx, 0x45f0ac
call fcn.00449400
jmp 0x42b7aa
mov ecx, 0x45f0ac
call fcn.00449400
jmp 0x42b7ef
mov ecx, 4
mov edx, 0xc
call fcn.00448670
int3
Function at 0x431ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [esp + 0xc]
push dword [esp + 0x38]
call fcn.00421d60
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp edx, 0x80000000
jne 0x431ede
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0x80000000
jmp 0x431f00
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00431dd0
mov ebx, dword [esp]
cmp ebx, 0x80000000
jne 0x431f15
mov ecx, esp
call fcn.00421f10
mov dword [esi], 0x80000000
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 4]
mov ebp, dword [esp + 8]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x431f33
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
jmp 0x431f0d
test ebx, ebx
mov dword [esi], 0x80000000
je 0x431f0d
mov ecx, edi
mov edx, 2
call fcn.00439700
jmp 0x431f0d
Function at 0x434200
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call fcn.0043a260
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x439ed0
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
lea esi, [ebp - 0x1044]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1000
push 0
push esi
call fcn.0043b2c0
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x42c1c0
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x434354
mov ebx, dword [sym.imp.kernel32.dll_SleepEx]
mov dword [ebp - 0x20], edi
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x43428a
cmp dword [ebp - 0x2c], 0
jne 0x434365
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x434365
cmp esi, 0x1000
ja 0x4343a1
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x434387
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
lea ecx, [ebp + edi - 0x1044]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x42c1c0
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_WriteFileEx]
test eax, eax
je 0x43435c
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x434300
cmp dword [ebp - 0x2c], 0
jne 0x434362
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x4342c0
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x42c1c0
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1044]
push eax
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x43428a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x434365
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x20]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, edi
mov edx, esi
push 0x45541c
call fcn.00448a60
add esp, 4
jmp 0x4343bc
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0x45541c
call fcn.00448870
add esp, 4
ud2
Function at 0x434490
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], esp
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0x439ef0
lea eax, [esi + 0x40]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x40], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x10], xmm0
lea eax, [esi + 0x10]
push 0x10
push eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x4344f4
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, esi
lea ecx, [esi + 8]
mov dword [esi + 0x20], 0x455530
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov byte [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 0x48], 0
mov dword [esi + 8], edx
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x20]
mov edx, 0x45555c
mov dword [esi + 0xc], fcn.00427a40
mov dword [esi + 0x2c], 1
call fcn.00448780
ud2
Function at 0x4387e0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebp, dword [esp + 0x48]
mov ebx, edx
mov edx, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov eax, edx
sub eax, edi
jb 0x438892
mov esi, ecx
mov ecx, dword [ebp]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
add ecx, edi
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x438840
push 0xffffffffffffffff
push ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, 0xc0000011
je 0x438858
cmp eax, 0x103
je 0x43889e
test eax, eax
js 0x438873
mov ecx, dword [esp + 8]
add ecx, edi
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
cmp eax, ecx
cmova ecx, eax
mov dword [ebp + 0xc], ecx
mov byte [esi], 4
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
mov edi, eax
call fcn.00422620
cmp al, 0xb
je 0x438868
mov dword [esi], 0
mov dword [esi + 4], edi
jmp 0x43886b
mov ecx, edi
push 0x4531a4
call fcn.004487b0
mov eax, esp
mov dword [esp + 0x1c], 0x4551e4
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.0041f8b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f9e0
mov ecx, 7
int 0x29
ud2

Function at 0x438900
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
push dword [esp + 0x28]
call fcn.00421d60
add esp, 4
mov ecx, dword [esp]
mov edi, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, 0x80000000
je 0x438958
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov edx, esp
push 1
call fcn.00428c90
add esp, 4
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
cmp ebx, 0x80000000
jne 0x438964
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi], edi
add esp, 0x18
pop esi
pop edi
pop ebx
ret
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x438978
mov byte [esi], 4
test ebx, ebx
jne 0x438988
jmp 0x43895d
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x43895d
mov ecx, edi
mov edx, 2
call fcn.00439700
jmp 0x43895d

Function at 0x43a8c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x43a908
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43a908
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a908
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43a908
cmp dword [ecx + 0x74], 0xe
jbe 0x43a908
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x441ae3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x441b80
push ebx
push esi
call fcn.00441aac
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00441a40
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x441b2d
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x441b7f
push edi
push eax
call fcn.00442700
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x441b4d
call fcn.004405a1
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x441b7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00441a40
add esp, 0x20
test eax, eax
jne 0x441b6c
push edi
call fcn.004405a1
jmp 0x441b74
push ebx
call fcn.004405a1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x442e7d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458140
push 0x458138
push str.FlsAlloc
push 0x1f
call fcn.00442d3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442eb1
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a1ec]
call esi
jmp 0x442eb7
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x442efb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458150
push 0x458148
push str.FlsGetValue
push 0x21
call fcn.00442d3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442f32
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a1ec]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]

Function at 0x442f3a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458158
push 0x458150
push str.FlsSetValue
push 0x22
call fcn.00442d3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442f74
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44a1ec]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsSetValue]
Function at 0x4483e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44840d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44840d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x449400
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x449471
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x4494a8
cmp dword [esp + 4], 0
je 0x44948f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4494bb
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45fa9c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45fa9c], esi
jne 0x449450
mov byte [0x45fa98], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x44949f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4494fc
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x449493
mov edi, dword [esp]
jmp 0x44949f
mov edi, dword [esi]
jmp 0x44949e
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00449530
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x455850
mov dword [esp + 8], 0x455818
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x456008
mov dword [esp + 0x14], 0
call fcn.00448780
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x455818
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x456008
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00449560
int3
Function at 0x1c9bc8c
Capabilities:
Encode data using xor

Disassembly:
add bl, ch
or byte [eax], al
push es
add byte [eax], al
add byte [eax], al
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0x1c9bc96
pushal
call 0x1c9bc9c
pop ebp
sub ebp, 0x10
sub ebp, 0x189bc8c
jmp 0x1c9bcb2
mov eax, 0x189bc8c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b1
mov edx, 0x29d88a91
xor byte [eax], dl
inc eax
dec ecx
jne 0x1c9bcc9
invalid
jmp 0x1c9bcdc
sbb bl, byte [edx + ebx + 0x18]
lodsd eax, dword [esi]
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
adc byte [eax + 0x69], dl
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
pop esp
sub dword [esi + 0x2b919191], edx
mov ecx, 0x66919191
jae 0x1c9bc8b
pop ecx
sbb dl, byte [eax]
popfd
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
push esp
rcr dword [esi*8 - 0x6ae7924b], 0xb5
stc
sbb dword [edx - 0x6d066e4d], esp
sbb dh, dh
nop
nop
mov ebp, 0x24dbf9b5
and edx, dword [eax - 0x6e6e6b87]
xchg ecx, eax
js 0x1c9bce2
invalid
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
les ebx, [edx]
jge 0x1c9bd44
adc al, 0x99
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
sbb al, byte [ebx*4 + 0x1a919191]
sbb al, 0x81
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
push eax
js 0x1c9bcd1
mov al, byte [0x95531293]
fcomp dword [esi + 0x6e6e6514]
sahf
adc al, 0x65
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
sbb bh, byte [ebp - 0x4a0ae34b]
xchg ebp, eax
push ebx
popfd
xchg ecx, eax
sbb bl, byte [0x919195b5]
xchg ecx, eax
stc
sbb dword [edx - 0x6d066e4d], esp
sbb dh, dh
nop
nop
mov ebp, 0x9479c0b5
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
js 0x1c9bd18
xchg ebx, eax
xchg ecx, eax
xchg ecx, eax
invalid