joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1014e5f0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1014e731
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1014e727
cmp dword [ebp - 0x20], 0x10
jb 0x1014e70a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1014e70a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1014e70a
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1014e69a
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x101f0624]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1014e698
jmp 0x1014e727
jmp 0x1014e6ea
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1014e6ea
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101f0624]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1014e6d4
jmp 0x1014e727
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1014e634
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
ret
Function at 0x1014eaa0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1014eae9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1014eae9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1014eae9
xor eax, eax
jmp 0x1014eb2a
mov dword [ebp - 4], 1
jmp 0x1014eafb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1014eb25
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1014eb23
xor eax, eax
jmp 0x1014eb2a
jmp 0x1014eaf2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10165fd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
jne 0x10165fe3
xor eax, eax
jmp 0x101661bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x10166003
xor eax, eax
jmp 0x101661bc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
je 0x10166021
xor eax, eax
jmp 0x101661bc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
call fcn.1000e570
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
jmp 0x10166056
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x101661ba
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
je 0x10166132
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x101660b0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x101660b0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
sub edx, 0x30
mov dword [ebp - 0x1c], edx
jmp 0x101660c8
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x1c], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x10166107
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x10166107
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x20], eax
jmp 0x1016611f
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x1c]
shl eax, 4
or eax, dword [ebp - 0x20]
cmp edx, eax
jne 0x10166197
cmp dword [ebp - 8], 0
jne 0x1016613e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
test ecx, ecx
jne 0x10166155
mov eax, dword [ebp - 8]
jmp 0x101661bc
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x3f3f
je 0x10166176
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
jne 0x10166176
mov dword [ebp - 0x24], 2
jmp 0x1016617d
mov dword [ebp - 0x24], 3
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
test edx, edx
jne 0x10166195
mov eax, dword [ebp - 8]
jmp 0x101661bc
jmp 0x101661b5
cmp dword [ebp - 8], 0
je 0x101661b5
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.1000e570
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1016604d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1016d8e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [ebp - 4], 0
je 0x1016d91b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x5d100b
Capabilities:
Encode data using xor

Disassembly:
xor al, dh
add al, byte [esp + esi*4 + 0x10b449c1]
ror dword [ecx - 0x4c], 0x10
ror dword [ecx - 0x4c], 0x10
inc ebp
adc al, 0x8a
add eax, dword [ebx + 0x1d]
sbb ebx, dword [0x29864f5a]
popal
xor eax, edi
xchg ebp, eax
call [edi - 0xc]
jbe 0x5d1006
inc ebp
sub byte [eax + 0x639790cd], dh
pop edi
push ds
enter 0x30c0, 0xfffffffffffffffc
jns 0x5d109e
popal
add dword [esi], 0x5fbe1960
mov ch, 0xd1
sahf
loopne 0x5d105e
invalid
xchg dword [edi + 0x4f22008d], ebp
add ch, byte [edi]
dec esi
rcr edi, 0xb1
add byte [eax - 0x4f], 0xb0
stosb byte es:[edi], al
push eax
cmp eax, 0xda71bab6
dec esi
mov edx, 0xa023b73d
invalid
test dl, bl
mov word [edx], fs
xor byte [edi], cl
mov eax, 0x520196be
pushal
call 0x53da1de1
cmpsb byte [esi], byte es:[edi]
invalid
Function at 0x41e9b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x11a]
push ebx
sub esp, 0x14c
mov dword [ebp - 0x124], eax
xor eax, eax
test byte [0x8531c1], 8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], pe_nt_image_headers32
mov byte [ebp - 0x11c], 0
mov dword [ebp - 0x12c], 0x75d6e8
mov word [ebp - 0x11a], ax
je 0x41ea10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ebx, ecx
mov dword [esp + 4], 0x720cf4
mov dword [esp], 0
call sub.msvcrt.dll_setlocale
mov ecx, ebx
call fcn.0041e770
lea edi, [ebp - 0x12c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_slog.txt
mov dword [esp], edi
call fcn.00403910
mov eax, dword [ebp - 0x124]
mov ecx, 0x8554b8
mov dword [esp], eax
call fcn.0043fdb0
sub esp, 4
test eax, eax
je 0x41ead0
mov dword [esp], esi
call fcn.0043ff20
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], 0x720d5a
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__wfopen]
mov dword [ebp - 0x13c], eax
call eax
test eax, eax
mov dword [ebx + 0x2000], eax
je 0x41eb61
test byte [ebx + 0x200d], 8
je 0x41eb40
mov eax, dword [ebp - 0x128]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x41ea02
mov dword [esp], eax
call fcn.006eb310
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], str.ERROR_in_log_start__:_Write_protected__S_n
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041e920
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], 0x720d3c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub esp, 0xc
mov dword [esp + 4], str.SDI_logs
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_slog.txt
mov dword [esp], edi
call fcn.00403910
jmp 0x41ea65
mov dword [esp + 8], str.1.23.9
mov dword [esp + 4], str.start_logging_n_s_n_n
mov dword [esp], 0x835180
call fcn.0041e840
jmp 0x41eaa6
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], str.ERROR_in_log_start__:_Write_protected__S_n
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041e920
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], 0x720d3c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub esp, 0xc
mov dword [esp + 4], str.SDI_logs
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_slog.txt
mov dword [esp], edi
call fcn.00403910
mov dword [esp], esi
call fcn.0043ff20
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], 0x720d60
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
call eax
mov dword [ebx + 0x2000], eax
jmp 0x41ea99
Function at 0x4a8520
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
mov esi, edx
mov edi, ecx
sub esp, 0x5c
mov ebx, dword [0x857a04]
mov eax, dword [ebx]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], str.
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov eax, dword [ebx]
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._Memory_
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
add esi, 0xfffff
lea ebx, [esp + 0x30]
adc edi, 0
shrd esi, edi, 0x14
shr edi, 0x14
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.004ada10
cmp byte [esp + 0x30], 0
je 0x4a866e
xor edx, edx
jmp 0x4a85c2
mov edx, eax
lea eax, [edx + 1]
cmp byte [ebx + eax], 0
jne 0x4a85c0
cmp eax, 6
ja 0x4a862c
cmp edx, 5
mov byte [esp + 0x2f], 0x20
je 0x4a8682
add edx, 3
mov byte [esp + 0x2e], 0x20
cmp edx, 7
je 0x4a8688
cmp edx, 6
mov byte [esp + 0x2d], 0x20
je 0x4a868e
cmp edx, 5
mov byte [esp + 0x2c], 0x20
je 0x4a8694
cmp edx, 4
mov byte [esp + 0x2b], 0x20
je 0x4a869a
cmp edx, 3
mov byte [esp + 0x2a], 0x20
je 0x4a86a0
lea ebx, [esp + 0x29]
mov byte [esp + 0x29], 0x20
mov eax, dword [0x857a04]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov eax, dword [0x857a04]
mov eax, dword [eax]
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x7336ab
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x2e], 0x20
mov edx, 2
jmp 0x4a85ef
lea ebx, [esp + 0x2f]
jmp 0x4a862c
lea ebx, [esp + 0x2e]
jmp 0x4a862c
lea ebx, [esp + 0x2d]
jmp 0x4a862c
lea ebx, [esp + 0x2c]
jmp 0x4a862c
lea ebx, [esp + 0x2b]
jmp 0x4a862c
lea ebx, [esp + 0x2a]
jmp 0x4a862c
Function at 0x5ca850
Capabilities:
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [ebx], 0
mov byte [eax], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
sub esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x5ca925
cmp dword [eax + 8], 0x40002
jne 0x5ca8f0
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x5ca8f0
movzx esi, si
jmp 0x5ca8bc
add edi, 4
lea ebx, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
je 0x5ca8f0
mov eax, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.005ca5d0
sub esp, 0x10
test eax, eax
mov dword [ebx], eax
jne 0x5ca8b0
add esp, 0x2c
mov eax, 8
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0x400
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, dword [esp + 0x50]
mov byte [eax + 0x400], 0
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
lea edx, [eax - 0x2afa]
cmp edx, 3
mov edx, 0x2af9
cmovae eax, edx
jmp 0x5ca91b

Function at 0x5d4150
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.005d41b0
Function at 0x5d41b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x858660]
test esi, esi
jle 0x5d429d
mov edi, dword [0x858664]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x5d41e4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x5d4296
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x5d41d0
mov dword [esp], eax
mov ebx, eax
call fcn.005d4ae0
test eax, eax
mov edi, eax
je 0x5d42da
lea ebx, [esi + esi*2]
mov esi, dword [0x858664]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.005d4be0
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x858664]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x5d42ba
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x5d428f
sub eax, 0x40
and eax, 0xffffffbf
je 0x5d428f
mov eax, dword [esp + 0x20]
add ebx, dword [0x858664]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x5d42a4
add dword [0x858660], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x5d41ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.005d4150
mov eax, dword [0x858664]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.005d4150
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.005d4150
lea esi, [esi]

Function at 0x5d4750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x858678
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x858670]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x5d47a5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x5d479e
test esi, esi
je 0x5d479e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5d4780
mov dword [esp], 0x858678
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x5d4a00
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x5d4a38
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x5d4a2e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x5d4a3a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x5d4a20
xor eax, eax
pop ebx
pop esi
ret
Function at 0x42bb70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x42bb92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42bb99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42bb88
mov eax, 1
add ebx, ebx
jne 0x42bbab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42bba0
jne 0x42bbbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bba0
xor ecx, ecx
sub eax, 3
jb 0x42bbd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42bc42
mov ebp, eax
add ebx, ebx
jne 0x42bbdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42bbe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42bc0c
inc ecx
add ebx, ebx
jne 0x42bbf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42bbed
jne 0x42bc09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bbed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42bc2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42bc1d
jmp 0x42bb8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42bc2c
add edi, ecx
jmp 0x42bb8e
pop esi
mov edi, esi
mov ecx, 0x1b9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42bc4a
cmp byte [edi], 3
jne 0x42bc4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42bc4f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42bcc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d16c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d1a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42bc7c
mov ecx, edi
jns 0x42bcab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d1ac]
or eax, eax
je 0x42bcc1
mov dword [ebx], eax
add ebx, 4
jmp 0x42bc99
call dword [esi + 0x2d1b0]
popal
jmp 0x401d3c
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x710c75
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x7109ec
push 0x9bdf8e9e
pop esi
call fcn.00710cc4
add eax, 1
and esi, esi
sub eax, 0x7205e851
xor dword [edi], ebx
add eax, 0x367c566f
mov eax, eax
and eax, esi
add edi, 1
add esi, esi
add esi, esi
inc esi
cmp edi, edx
jne fcn.00710c75
and esi, esi
push esi
mov esi, dword [esp]
add esp, 4
sub esi, 0x2dde640d
ret