joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420df0
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 0x420e44
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x420e67
test eax, eax
js 0x420e53
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x420e5f
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], 0x4551a4
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.0041f820
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f950
mov ecx, 7
int 0x29
ud2
Function at 0x421620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x45f07c]
test eax, eax
je 0x4216b8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x421646
cmp dword [eax + 4], 0
je 0x421646
add eax, 8
pop esi
ret
mov eax, dword [0x45f07c]
test eax, eax
je 0x4216c7
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4216b4
mov esi, eax
test eax, eax
jne 0x42169d
movzx eax, byte [0x45fae8]
mov ecx, 0x10
mov edx, 4
call fcn.00439610
test eax, eax
je 0x4216e2
mov dword [eax], 0x45f07c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45f07c]
test eax, eax
je 0x4216d6
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.00449360
jmp 0x42162f
mov ecx, 0x45f07c
call fcn.00449360
jmp 0x421650
mov ecx, 0x45f07c
call fcn.00449360
jmp 0x421695
mov ecx, 4
mov edx, 0x10
call fcn.004485d0
int3
Function at 0x423350
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], 0x439be0
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 0x4233e0
jmp 0x4233ce
jbe 0x42346c
cmp esi, 0x201
jae 0x4233e0
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov edi, esi
jmp 0x42341b
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x42340c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, edi
push esi
call fcn.004495c0
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 0x42343b
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4234a4
cmp esi, edi
jne 0x4233c0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4234e2
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4233ce
jmp 0x4233e0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmp esi, edx
ja 0x423502
lea ecx, [ebp - 0x4c]
mov edx, ebx
push esi
call fcn.00423bb0
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 0x4234ba
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 0x4234ce
mov ecx, dword [ebp - 0x24]
mov edx, 2
call fcn.00439670
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 0x455900
call fcn.00448830
add esp, 4
jmp 0x423511
mov ecx, esi
push 0x4558f0
call fcn.004487d0
add esp, 4
ud2
Function at 0x42b6e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b798
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x42b70c
cmp dword [eax + 4], 0
mov edi, eax
je 0x42b70c
add edi, 8
jmp 0x42b793
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b7a7
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x42b791
mov esi, eax
test eax, eax
jne 0x42b767
movzx eax, byte [0x45fae8]
mov ecx, 0xc
mov edx, 4
call fcn.00439610
test eax, eax
je 0x42b7c2
mov dword [eax], 0x45f0ac
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45f0ac]
test eax, eax
je 0x42b7b6
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 0x42b793
test ecx, ecx
je 0x42b793
lock dec dword [ecx]
jne 0x42b793
call fcn.0042b7e0
jmp 0x42b793
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45f0ac
call fcn.00449360
jmp 0x42b6f0
mov ecx, 0x45f0ac
call fcn.00449360
jmp 0x42b71a
mov ecx, 0x45f0ac
call fcn.00449360
jmp 0x42b75f
mov ecx, 4
mov edx, 0xc
call fcn.004485d0
int3
Function at 0x431e10
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.00421cd0
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp edx, 0x80000000
jne 0x431e4e
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0x80000000
jmp 0x431e70
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00431d40
mov ebx, dword [esp]
cmp ebx, 0x80000000
jne 0x431e85
mov ecx, esp
call fcn.00421e80
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 0x431ea3
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
jmp 0x431e7d
test ebx, ebx
mov dword [esi], 0x80000000
je 0x431e7d
mov ecx, edi
mov edx, 2
call fcn.00439670
jmp 0x431e7d
Function at 0x434180
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.0043a1d0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x439e40
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.0043b230
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 0x42c130
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x4342d4
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 0x43420a
cmp dword [ebp - 0x2c], 0
jne 0x4342e5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4342e5
cmp esi, 0x1000
ja 0x434321
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x434307
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 0x42c130
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 0x4342dc
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x434280
cmp dword [ebp - 0x2c], 0
jne 0x4342e2
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x434240
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x42c130
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 0x43420a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x4342e5
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 0x4553dc
call fcn.004489c0
add esp, 4
jmp 0x43433c
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0x4553dc
call fcn.004487d0
add esp, 4
ud2
Function at 0x434410
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], 0x439e60
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 0x434474
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], 0x4554f0
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, 0x45551c
mov dword [esi + 0xc], fcn.004279b0
mov dword [esi + 0x2c], 1
call fcn.004486e0
ud2
Function at 0x438750
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 0x438802
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 0x4387b0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4387c8
cmp eax, 0x103
je 0x43880e
test eax, eax
js 0x4387e3
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.00422590
cmp al, 0xb
je 0x4387d8
mov dword [esi], 0
mov dword [esi + 4], edi
jmp 0x4387db
mov ecx, edi
push 0x453164
call fcn.00448710
mov eax, esp
mov dword [esp + 0x1c], 0x4551a4
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.0041f820
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f950
mov ecx, 7
int 0x29
ud2

Function at 0x438870
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.00421cd0
add esp, 4
mov ecx, dword [esp]
mov edi, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, 0x80000000
je 0x4388c8
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.00428c00
add esp, 4
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
cmp ebx, 0x80000000
jne 0x4388d4
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 0x4388e8
mov byte [esi], 4
test ebx, ebx
jne 0x4388f8
jmp 0x4388cd
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x4388cd
mov ecx, edi
mov edx, 2
call fcn.00439670
jmp 0x4388cd

Function at 0x43a839
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x43a878
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43a878
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a878
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43a878
cmp dword [ecx + 0x74], 0xe
jbe 0x43a878
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x441a54
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 0x441af1
push ebx
push esi
call fcn.00441a1d
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.004419b1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x441a9e
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x441af0
push edi
push eax
call fcn.00442671
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x441abe
call fcn.00440511
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x441aef
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004419b1
add esp, 0x20
test eax, eax
jne 0x441add
push edi
call fcn.00440511
jmp 0x441ae5
push ebx
call fcn.00440511
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 0x442dee
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458100
push 0x4580f8
push str.FlsAlloc
push 0x1f
call fcn.00442cad
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442e22
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a1ec]
call esi
jmp 0x442e28
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x442e6c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458110
push 0x458108
push str.FlsGetValue
push 0x21
call fcn.00442cad
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442ea3
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 0x442eab
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458118
push 0x458110
push str.FlsSetValue
push 0x22
call fcn.00442cad
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442ee5
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 0x448340
Capabilities:
Parse pe header

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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x4493d1
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 0x449408
cmp dword [esp + 4], 0
je 0x4493ef
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x44941b
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 0x4493b0
mov byte [0x45fa98], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x4493ff
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x44945c
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x4493f3
mov edi, dword [esp]
jmp 0x4493ff
mov edi, dword [esi]
jmp 0x4493fe
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.00449490
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x455810
mov dword [esp + 8], 0x4557d8
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x455fc8
mov dword [esp + 0x14], 0
call fcn.004486e0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x4557d8
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x455fc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004494c0
int3
Function at 0x4070de
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040682f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004067e4
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040682f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004067e4
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0040681f
hlt
Function at 0x41a877
Capabilities:
Print debug messages
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x3c], 0
je 0x41a8a3
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x3c], 0xffffffff
jne 0x41a8aa
xor eax, eax
jmp 0x41a984
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0054d0e0
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
cmp dword [0x5cfd70], 0
je 0x41a8f7
cmp dword [ebp - 4], 0x2710
jle 0x41a8e4
xor eax, eax
jmp 0x41a984
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x41a8cb
mov dword [0x5cfd70], 1
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41a92a
mov eax, dword [ebp - 0x18]
jmp 0x41a984
cmp dword [ebp + 0xc], 0
je 0x41a977
mov dword [ebp - 0x10], 0
jmp 0x41a942
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 3
jge 0x41a977
push 0
lea eax, [ebp - 8]
push eax
push 0x7d
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x41a975
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
jmp 0x41a977
jmp 0x41a939
mov dword [0x5cfd70], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8

Function at 0x41a98a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0x50], eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
add edx, 0x44
push edx
push 0x41aa6d
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x40], eax
push 0xf
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esp, ebp
pop ebp
ret 4