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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x44a084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x44a07c]
sub esp, 4
test ebx, ebx
je 0x40d905
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x40d8fe
test eax, eax
jne 0x40d8fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40d8e0
mov dword [esp], 0x44a084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40dc40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x40dc65
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x40dc70
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x40dc65
push esi
push ebx
mov ebx, dword [esp + 0xc]
movzx eax, word [ecx + 0x400014]
movzx esi, word [ecx + 0x400006]
sub ebx, 0x400000
lea eax, [edx + eax + 0x18]
test si, si
je 0x40dcb8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40dcae
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40dcba
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x40dca0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x412c90
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov dword [esp + 8], 0x2d
mov dword [esp + 4], str._buffer_overflow_detected_:_terminated_n
mov dword [esp], 2
call sub.msvcrt.dll__write
mov dword [esp], 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
sub esp, 4
test eax, eax
je 0x412cc9
mov ecx, 8
int 0x29
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 4], 0xc0000409
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push eax
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x412cf0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov dword [esp + 8], 0x2c
mov dword [esp + 4], str._stack_smashing_detected_:_terminated_n
mov dword [esp], 2
call sub.msvcrt.dll__write
mov dword [esp], 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
sub esp, 4
test eax, eax
je 0x412d29
mov ecx, 2
int 0x29
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 4], 0xc0000409
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push eax
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x419960
Capabilities:
Print debug messages

Disassembly:
push edi
pxor xmm0, xmm0
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push ebx
lea ebx, [ebp - 0x41]
sub esp, 0x50
movups xmmword [ebp - 0x21], xmm0
mov eax, dword [0x44a0e8]
mov dword [ebp - 0xc], eax
xor eax, eax
movups xmmword [ebp - 0x41], xmm0
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], str.Error_cleaning_up_spin_keys_for_thread__lu._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x35
mov dword [esp], ebx
call fcn.0041eed0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 4
call sub.msvcrt.dll_abort
lea esi, cs:[esi]
lea esi, [esi]

Function at 0x419d50
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x44aaf4], 1
je 0x419df0
push edi
mov eax, 0x44aaf4
push esi
push ebx
sub esp, 0x10
call fcn.00419750
lea esi, [eax + 4]
mov ebx, eax
mov dword [esp], esi
call fcn.00419040
mov edi, dword [0x44aaf4]
test edi, edi
jne 0x419dc0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x432074], eax
cmp eax, 0xffffffff
je 0x430af5
mov dword [0x44aaf4], 1
mov dword [esp], esi
call fcn.00419370
add esp, 0x10
mov eax, ebx
pop ebx
pop esi
pop edi
jmp fcn.004199e0
cmp edi, 1
je 0x419da2
mov dword [esp], 2
call dword [0x43205c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x44aaf4
mov dword [esp + 4], str._once__p_is__ld_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x419da2
ret
call sub.msvcrt.dll_abort
call sub.msvcrt.dll_abort
mov eax, dword [0x14]
ud2

Function at 0x419f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x419f58
add esp, 0x1c
ret
add esp, 0x1c
jmp fcn.00419e00
Function at 0x41a230
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41a258
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41a350
add esp, 0x14
pop ebx
pop esi
ret 0xc
cmp eax, 1
je 0x41a320
cmp eax, 3
jne 0x41a249
mov eax, dword [0x432074]
cmp eax, 0xffffffff
je 0x41a249
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41a249
test byte [eax + 0x20], 0x30
je 0x41a380
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41a29b
call fcn.00419f60
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41a2cd
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x41a2bf
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.00419510
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.0041d570
cmp eax, 1
je 0x41a44e
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test eax, eax
je 0x41a442
mov eax, dword [0x432074]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41a249
mov eax, dword [0x44aacc]
test eax, eax
je 0x41a36c
mov dword [esp + 4], 0x4196c0
mov dword [esp], 1
call eax
mov dword [0x44aad0], eax
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov eax, dword [0x44aad0]
test eax, eax
je 0x41a249
mov edx, dword [0x44aac8]
test edx, edx
je 0x41a36c
mov dword [esp], eax
call edx
mov dword [0x44aad0], 0
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41a3f4
test eax, eax
je 0x41a39a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41a3b7
call fcn.00419f60
test byte [ebx + 0x24], 4
je 0x41a432
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41a2cd
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x1c]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], eax
call fcn.00419510
lea eax, [ebx + 0x38]
jmp 0x41a2db
test eax, eax
je 0x41a432
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x1c]
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call fcn.00419510
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.0041d570
cmp eax, 1
je 0x41a44e
mov dword [ebx + 0x38], 0xffffffff
jmp 0x41a249
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.00419510
lea eax, [ebx + 0x38]
jmp 0x41a419
mov eax, ebx
call fcn.00419b90
jmp 0x41a301
call fcn.00419960
lea esi, cs:[esi]
lea esi, cs:[esi]
Function at 0x41a720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [0x44a0e8]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx]
test esi, esi
je 0x41a860
cmp eax, 1
je 0x41a77e
mov eax, ebx
call fcn.00419750
lea edi, [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp], edi
call fcn.00419040
mov ebp, dword [ebx]
test ebp, ebp
je 0x41a7a0
cmp ebp, 1
jne 0x41a830
mov dword [esp], edi
call fcn.00419370
mov eax, dword [esp + 0x1c]
call fcn.004199e0
xor eax, eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0x44a0e8]
jne 0x41a8aa
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x419aa0
mov dword [esp + 0x24], eax
call fcn.00419d50
mov eax, dword [0x432074]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41a898
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
lock or dword [esp], 0
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41a880
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], ecx
lock or dword [esp], 0
call esi
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41a870
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x41a76d
mov dword [esp], 2
call dword [0x43205c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__ld_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41a76d
mov eax, 0x16
jmp 0x41a780
call fcn.00419e00
test eax, eax
jne 0x41a81a
jmp 0x430b1f
call fcn.00419e00
test eax, eax
jne 0x41a7f6
jmp 0x430b14
call fcn.00419e00
test eax, eax
jne 0x41a7d0
jmp 0x430b0d
call fcn.00412cf0
nop
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x20]
mov dword [0], eax
ud2
mov eax, dword [esp + 0x28]
mov dword [0], eax
ud2

Function at 0x41aaf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41ab68
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.0041d580
mov eax, dword [ebx + 0x28]
cmp dword [esp + 0x30], eax
jae 0x41ab44
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x41ab44
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.0041d5d0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00419e00
mov ebx, eax
jmp 0x41ab1b
Function at 0x41ab80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41ac98
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.0041d580
mov edx, dword [ebx + 0x2c]
cmp esi, dword [ebx + 0x28]
jb 0x41ac64
lea ebp, [esi + 1]
mov dword [esp], edx
lea eax, [ebp*4]
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x41aca4
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x41aca4
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 4], 0
sub ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.0041d5d0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00419e00
mov ebx, eax
jmp 0x41abb5
mov dword [esp], edi
call fcn.0041d5d0
mov eax, 0xc
jmp 0x41ac8c

Function at 0x41ad40
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41ad68
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.00419e00
test eax, eax
jne 0x41ad5d
add esp, 0x1c
ret

Function at 0x41add0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41adf8
add eax, 0xc
add esp, 0x1c
ret
call fcn.00419e00
test eax, eax
jne 0x41aded
jmp 0x41adf0
Function at 0x41ae30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.00419f30
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41ae52
call fcn.00419f60
test byte [ebx + 0x20], 0x30
jne 0x41ae6c
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41aead
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41aeed
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41aea2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x41aeb6
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.00419d30
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41aead
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41af01
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x41aece

Function at 0x41af10
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x44aafc]
test eax, eax
jne 0x41af20
xor eax, eax
ret
sub esp, 0x1c
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41af60
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x41af50
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x41af44
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x41af46
call fcn.00419e00
test eax, eax
je 0x41af44
jmp 0x41af3d

Function at 0x41af70
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41afb0
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41afa0
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.00419e00
test eax, eax
jne 0x41af8d
add esp, 0x1c
ret
Function at 0x41b0b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41b120
test byte [ebx + 0x20], 0xc
jne 0x41b0e0
mov eax, dword [0x44aafc]
test eax, eax
jne 0x41b0f0
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.00419040
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x41b112
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x41b112
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x41b131
mov dword [esp], esi
call fcn.00419370
add esp, 0x14
pop ebx
pop esi
ret
call fcn.00419e00
mov ebx, eax
test eax, eax
jne 0x41b0d1
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41b151
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.00419370
call fcn.0041afc0
nop
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41b1d0
mov dword [esp], eax
call fcn.0041c4e0
xor ecx, ecx
mov ebx, edx
mov edx, 0xffffffff
cmp edx, eax
sbb ecx, ebx
cmovae edx, eax
mov ebx, edx
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x41b220
test ebx, ebx
je 0x41b1ea
call fcn.0041b0b0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41b210
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041c5f0
call fcn.0041b0b0
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.00419d50
mov eax, dword [0x432074]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41b230
call fcn.0041b0b0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.0041b0b0
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x41b1bf
call fcn.00419e00
mov esi, eax
jmp 0x41b1a3
call fcn.00419e00
jmp 0x41b1ea
Function at 0x42f650
Capabilities:
Query environment variable

Disassembly:
push edi
sub esp, 0x18
mov eax, dword [esp + 0x20]
lea edi, [eax + 0x60]
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
je 0x42eaf2
mov edx, eax
lea edi, [edx + 4]
mov ecx, edx
xor eax, eax
mov dword [edx], 0
and edi, 0xfffffffc
mov dword [edx + 0x5c], 0
sub ecx, edi
add ecx, 0x60
shr ecx, 2
rep stosd dword es:[edi], eax
add esp, 0x18
lea eax, [edx + 0x60]
pop edi
ret
mov eax, edi
call fcn.00420920
mov edx, eax
test eax, eax
je 0x42f638
jmp 0x42eac9
call fcn.0042f9b4
nop
nop
nop
call fcn.0042f9b4
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x44a0e8]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0x4320d8
call fcn.004194c0
mov dword [esp], str.GLIBCXX_TUNABLES
mov dword [0x4320dc], 0
mov dword [0x4320e0], 0
mov dword [0x4320e4], 0
call sub.msvcrt.dll_getenv
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], str.obj_size
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], str.obj_count
mov dword [esp + 0x28], 0x40
test eax, eax
jne 0x42f6f6
jmp 0x42f7c7
mov dword [esp], ebx
mov dword [esp + 4], 0x3a
call sub.msvcrt.dll_strchr
mov ebx, eax
test eax, eax
je 0x42f770
xor eax, eax
cmp byte [ebx], 0x3a
sete al
add ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, 0x62696c67
xor edx, 0x2e787863
or eax, edx
jne 0x42f6e0
mov eax, dword [ebx + 7]
mov edx, dword [ebx + 0xb]
xor eax, 0x5f68652e
xor edx, 0x6c6f6f70
or eax, edx
jne 0x42f6e0
cmp byte [ebx + 0xf], 0x2e
jne 0x42f6e0
add ebx, 0x10
lea esi, [esp + 0x14]
lea ebp, [esp + 0x2c]
mov edi, dword [esi]
test edi, edi
je 0x42f757
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x42f761
cmp byte [ebx + edi], 0x3d
je 0x42f7f5
add esi, 0xc
cmp ebp, esi
jne 0x42f73a
jmp 0x42f6e0
mov eax, dword [esp + 0x28]
mov edx, 0x100
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
cmove eax, ecx
add eax, 0x2c
imul eax, edx
lea ebx, [eax*4]
mov dword [0x4320e4], ebx
test ebx, ebx
jne 0x42f7d6
mov dword [esp], 0x42f5c0
call fcn.00401400
mov eax, dword [esp + 0x2c]
sub eax, dword [0x44a0e8]
jne 0x42f840
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4320e4], 0x3200
mov ebx, 0x3200
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [0x4320e0], eax
test eax, eax
je 0x42f833
xor edx, edx
mov dword [0x4320dc], eax
mov dword [eax], ebx
mov dword [eax + 4], edx
jmp 0x42f7a3
lea eax, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
lea eax, [ebx + edi + 1]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
mov ebx, dword [esp + 0x10]
movzx edx, byte [ebx]
cmp dl, 0x3a
je 0x42f823
test dl, dl
jne 0x42f6e0
test eax, eax
js 0x42f6e0
mov dword [esi + 8], eax
jmp 0x42f6e0
xor ecx, ecx
mov dword [0x4320e4], ecx
jmp 0x42f7a3
call fcn.00412cf0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.0042f9b4
nop
nop
nop
call fcn.0042f9b4
nop
nop
nop
Function at 0x42ec30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9b01b8]
xor edx, edx
cmp eax, edx
jne 0x42ec56
xor eax, eax
mov byte [eax + 0x9b00b8], al
inc eax
cmp eax, 0x100
jl 0x42ec3e
mov dword [0x9b01b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9b00b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ece7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42ecba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42ec88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42ed60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42edb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42ed9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret