joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e010
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e0c3
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x41e03c
cmp dword [eax + 4], 0
mov edi, eax
je 0x41e03c
add edi, 8
jmp 0x41e0be
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e0d2
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x41e0bc
mov esi, eax
test eax, eax
jne 0x41e092
movzx eax, byte [0x45eaa8]
mov ecx, 0xc
call fcn.0040c6e0
test eax, eax
je 0x41e0ed
mov dword [eax], 0x45e04c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e04c]
test eax, eax
je 0x41e0e1
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 0x41e0be
test ecx, ecx
je 0x41e0be
lock dec dword [ecx]
jne 0x41e0be
call fcn.0041dd10
jmp 0x41e0be
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45e04c
call fcn.004478d0
jmp 0x41e020
mov ecx, 0x45e04c
call fcn.004478d0
jmp 0x41e04a
mov ecx, 0x45e04c
call fcn.004478d0
jmp 0x41e08a
mov ecx, 4
mov edx, 0xc
call fcn.00446bc0
ud2
Function at 0x41ed30
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 0x41ed84
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x41eda7
test eax, eax
js 0x41ed93
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x41ed9f
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], 0x454080
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.0041d820
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041d950
mov ecx, 7
int 0x29
ud2
Function at 0x41f370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f403
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x41f396
cmp dword [eax + 4], 0
je 0x41f396
add eax, 8
pop esi
ret
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f412
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x41f3ff
mov esi, eax
test eax, eax
jne 0x41f3e8
movzx eax, byte [0x45eaa8]
mov ecx, 0x10
call fcn.0040c6e0
test eax, eax
je 0x41f42a
mov dword [eax], 0x45e03c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f41e
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, 0x45e03c
call fcn.004478d0
jmp 0x41f37f
mov ecx, 0x45e03c
call fcn.004478d0
jmp 0x41f3a0
mov ecx, 0x45e03c
call fcn.004478d0
jmp 0x41f3e0
mov ecx, 4
mov edx, 0x10
call fcn.00446bc0
ud2
Function at 0x421280
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], 0x437a50
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], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp esi, 0x201
jae 0x421310
jmp 0x4212fe
jbe 0x42139c
cmp esi, 0x201
jae 0x421310
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov edi, esi
jmp 0x42134b
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x42133c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, edi
push esi
call fcn.00447b60
add esp, 4
mov eax, dword [ebp - 0x3c]
mov edi, 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 0x42136b
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4213d4
cmp esi, edi
jne 0x4212f0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42140f
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4212fe
jmp 0x421310
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmp esi, edx
ja 0x42142f
lea ecx, [ebp - 0x4c]
mov edx, ebx
push esi
call fcn.00421ad0
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 0x4213e7
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov byte [ecx + 0xc], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4213fb
mov ecx, dword [ebp - 0x24]
mov edx, 2
call fcn.0040c710
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
mov edx, 0x28
push 0x4547d8
call fcn.00446e60
add esp, 4
jmp 0x42143e
mov ecx, esi
push 0x4547c8
call fcn.00446df0
add esp, 4
ud2
Function at 0x429660
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45e06c]
test eax, eax
je 0x429713
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x42968c
cmp dword [eax + 4], 0
mov edi, eax
je 0x42968c
add edi, 8
jmp 0x42970e
mov eax, dword [0x45e06c]
test eax, eax
je 0x429722
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x42970c
mov esi, eax
test eax, eax
jne 0x4296e2
movzx eax, byte [0x45eaa8]
mov ecx, 0xc
call fcn.0040c6e0
test eax, eax
je 0x42973d
mov dword [eax], 0x45e06c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e06c]
test eax, eax
je 0x429731
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 0x42970e
test ecx, ecx
je 0x42970e
lock dec dword [ecx]
jne 0x42970e
call fcn.00429750
jmp 0x42970e
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45e06c
call fcn.004478d0
jmp 0x429670
mov ecx, 0x45e06c
call fcn.004478d0
jmp 0x42969a
mov ecx, 0x45e06c
call fcn.004478d0
jmp 0x4296da
mov ecx, 4
mov edx, 0xc
call fcn.00446bc0
ud2
Function at 0x430220
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.0041fbe0
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test edx, edx
je 0x430285
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00430160
mov edi, dword [esp]
test edi, edi
je 0x430294
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4302a9
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
jmp 0x4302a1
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0
mov ecx, esp
call fcn.0041fd90
mov dword [esi], 0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [esi], 0
je 0x4302a1
mov ecx, edi
mov edx, 2
call fcn.0040c710
jmp 0x4302a1
Function at 0x4324b0
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.00438050
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x437cb0
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.00439810
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 0x42a040
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x432604
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 0x43253a
cmp dword [ebp - 0x2c], 0
jne 0x432615
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x432615
cmp esi, 0x1000
ja 0x432651
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x432637
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 0x42a040
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 0x43260c
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x4325b0
cmp dword [ebp - 0x2c], 0
jne 0x432612
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x432570
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x42a040
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 0x43253a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x432615
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 0x4542b8
call fcn.00447000
add esp, 4
jmp 0x43266c
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0x4542b8
call fcn.00446df0
add esp, 4
ud2
Function at 0x432740
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], 0x437cd0
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 0x4327a4
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], 0x4543c8
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, 0x4543f4
mov dword [esi + 0xc], fcn.00425920
mov dword [esi + 0x2c], 1
call fcn.00446ce0
ud2
Function at 0x436970
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 0x436a22
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 0x4369d0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4369e8
cmp eax, 0x103
je 0x436a33
test eax, eax
js 0x436a03
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.004204c0
cmp al, 0xb
je 0x4369f8
mov dword [esi], 0
mov dword [esi + 4], edi
jmp 0x4369fb
mov ecx, edi
push 0x4521b4
call fcn.00446d10
add esp, 4
ud2
mov eax, esp
mov dword [esp + 0x1c], 0x454080
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.0041d820
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041d950
mov ecx, 7
int 0x29
ud2

Function at 0x436aa0
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.0041fbe0
add esp, 4
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
test ecx, ecx
je 0x436b04
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov edx, esp
push 1
call fcn.00426b80
add esp, 4
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x436b00
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x436b0b
mov byte [esi], 4
test ebx, ebx
jne 0x436b1b
jmp 0x436b27
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], eax
jmp 0x436b27
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x436b27
mov ecx, edi
mov edx, 2
call fcn.0040c710
add esp, 0x18
pop esi
pop edi
pop ebx
ret

Function at 0x4386b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x4386f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4386f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4386f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4386f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4386f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x440043
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 0x4400e0
push ebx
push esi
call fcn.0044000c
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.0043ffa0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44008d
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4400df
push edi
push eax
call fcn.00440c60
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4400ad
call fcn.0043eb01
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4400de
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043ffa0
add esp, 0x20
test eax, eax
jne 0x4400cc
push edi
call fcn.0043eb01
jmp 0x4400d4
push ebx
call fcn.0043eb01
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 0x4413dd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457058
push 0x457050
push str.FlsAlloc
push 0x1f
call fcn.0044129c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x441411
push dword [ebp + 8]
mov ecx, esi
call dword [0x4491e8]
call esi
jmp 0x441417
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44145b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457068
push 0x457060
push str.FlsGetValue
push 0x21
call fcn.0044129c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x441492
push dword [ebp + 8]
mov ecx, esi
call dword [0x4491e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]

Function at 0x44149a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457070
push 0x457068
push str.FlsSetValue
push 0x22
call fcn.0044129c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4414d4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4491e8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsSetValue]
Function at 0x446930
Capabilities:
Parse pe header

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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x447941
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 0x44797c
cmp dword [esp + 4], 0
je 0x447963
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x447991
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45ea5c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45ea5c], esi
jne 0x447920
mov byte [0x45ea58], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x447973
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4479d4
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x447967
mov edi, dword [esp]
jmp 0x447973
mov edi, dword [esi]
jmp 0x447972
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.00447a10
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x4546e8
mov dword [esp + 8], 0x4546b0
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x454ea0
mov dword [esp + 0x14], 0
call fcn.00446ce0
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x4546b0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x454ea0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00447a50
ud2
Function at 0x401087
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push edi
lea eax, [ebp - 0x21c]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 8]
call fcn.004013f9
call fcn.0040e28e
test eax, eax
je 0x4010d6
push 0x10
push 0x46ad86
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4012b0
cmp dword [0x48a7e0], 0
push ebx
push esi
mov ebx, 0x48a7f4
jne 0x401106
push 0xffffffffffffffff
push dword [0x48a7e8]
mov esi, 0x48c898
push 1
call fcn.004064c8
mov al, byte [0x4785bc]
mov byte [0x48c89a], al
jmp 0x401154
lea eax, [ebp - 2]
push eax
push 0x48a7e0
mov esi, ebx
mov eax, 0x48c898
call fcn.00406b22
test al, al
jne 0x40112e
mov dword [0x4785d4], 1
jmp 0x4012a1
mov al, byte [0x48c898]
mov byte [0x48a7e4], al
mov al, byte [0x48c899]
push 0x48a7dc
mov byte [ebp - 1], al
lea eax, [ebp - 0x428]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [0x48a7e0]
push ebx
call fcn.004192cb
test eax, eax
je 0x40118a
mov edi, 0x48c898
call fcn.00406694
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4785d4], 1
jmp 0x4012ae
cmp byte [ebp - 1], 1
jne 0x40123c
cmp byte [0x48a7b5], 1
jne 0x40123c
call fcn.0040d978
test al, al
jne 0x40123c
push edi
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x401215
mov edi, 0x46adf0
push edi
lea esi, [ebp - 0x10]
call fcn.0040e2e3
push ebx
mov eax, esi
call fcn.0040e4de
push edi
mov eax, esi
call fcn.0040e4de
push 1
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x428]
push eax
push 0x46adf4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call fcn.0044e346
pop ecx
jmp 0x401297
push 1
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x428]
push eax
push 0x46adf4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401297
call fcn.004012b5
call fcn.00401388
cmp byte [0x48a7e4], 0
jne 0x401259
mov edi, 0x48b240
call fcn.00409f2f
push 1
mov eax, 0x48aa00
call fcn.0041942d
cmp byte [0x48a7e4], 0
jne 0x401297
mov edi, 0x48c064
mov esi, dword [edi]
test esi, esi
je 0x40128c
push dword [esi + 8]
call fcn.0044e346
push esi
call fcn.0044e346
and dword [edi], 0
pop ecx
pop ecx
add edi, 4
cmp edi, 0x48c880
jl 0x401273
mov edi, 0x48c898
call fcn.00406694
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x401e77
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push edi
push 1
push dword [esi]
call fcn.004035f3
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebp, ebp
push ebp
push 0x25
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x10], ebp
push eax
jge 0x401ec7
push 0x25
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x401ee9
push 0x27
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push dword [esi]
call fcn.004035f3
pop edi
pop ebp
mov al, 1
pop ebx
ret 4

Function at 0x402347
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [ebx]
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x402374
xor al, al
jmp 0x402388
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
jne 0x40238e
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 0x101]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044e2dc
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x4023eb
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4023ca
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp + 8]
call fcn.0040e446
mov bl, 1
push dword [ebp - 4]
call fcn.0044e346
pop ecx
mov al, bl
jmp 0x402387
xor bl, bl
jmp 0x4023de