joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4200
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, edx
mov word [ebp - 0x30], ax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x3c00
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004d01fc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
movzx eax, word [ebp - 0x30]
lea ecx, [ebp - 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6f
jne 0x4c42d2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004d01fc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4c430c
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.GetAdaptersAddresses_failed__result:__lu_
mov dword [esp + 0xc], str.get_interface_addresses_win32
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004ca3d6
jmp 0x4c431a
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004c412e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c4349
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4c6812
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, edx
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x4c68ec
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
cmp ax, 2
jne 0x4c6886
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004c325d
jmp 0x4c68e5
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
cmp ax, 0x17
jne 0x4c68ac
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004c33fc
jmp 0x4c68e5
mov dword [esp], str.src_lib_net_resolve.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4ee463
mov dword [esp + 8], str.tor_addr_lookup_host_impl
mov dword [esp + 4], 0xa6
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
mov eax, 0
jmp 0x4c6901
cmp dword [ebp - 0x10], 0x2afa
jne 0x4c68fc
mov eax, 1
jmp 0x4c6901
mov eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c6911
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x4c711a
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c716a
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4c8253
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call eax
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x4c8286
mov eax, 0xffffffff
jmp 0x4c828b
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c829b
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x4c82f3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c83e0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c83e0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004cc874
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.Error_retrieving_thread_local_value:__s
mov dword [esp + 0xc], 0x4eee58
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp], 3
call fcn.004ca3d6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
cmp dword [ebp - 0x14], 0
sete al
movzx eax, al
test eax, eax
jne 0x4c83e0
mov dword [esp], str.src_lib_thread_compat_winthreads.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.err__0l
mov dword [esp + 8], str.tor_threadlocal_get
mov dword [esp + 4], 0x84
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c83f3
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4c83f5
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c84e5
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004cc874
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.Error_adjusting_thread_local_value:__s
mov dword [esp + 0xc], 0x4eee80
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp], 3
call fcn.004ca3d6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
cmp dword [ebp - 0x18], 0
setne al
movzx eax, al
test eax, eax
jne 0x4c84e5
mov dword [esp], str.src_lib_thread_compat_winthreads.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4eee53
mov dword [esp + 8], str.tor_threadlocal_set
mov dword [esp + 4], 0x93
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4c84f6
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x4ccfdd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x20]
add eax, 1
movzx eax, byte [eax]
test al, al
je 0x4cd038
jmp 0x4cd00c
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test al, al
je 0x4cd052
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4cd008
jmp 0x4cd052
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test al, al
je 0x4cd052
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax]
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
cmp dl, al
je 0x4cd034
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4cd065
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4cedb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x38], 0
fldz
fstp qword [ebp - 0x28]
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x3c], 0
je 0x4cee02
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4cee02
cmp dword [ebp - 0x40], 0
jne 0x4cee0c
mov eax, 0xffffffff
jmp 0x4cef6b
cmp dword [ebp - 0x44], 0
jns 0x4cee19
mov dword [ebp - 0x44], 0x270f
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
cmp al, 0x2d
jne 0x4cee70
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
jmp 0x4cee70
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x3c]
mov dword [edx], ecx
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004ceaa3
mov dword [ebp - 0x30], eax
fld qword [ebp - 0x28]
fld qword [0x4efc40]
fmulp st(1)
fild dword [ebp - 0x30]
faddp st(1)
fstp qword [ebp - 0x28]
add dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
test al, al
je 0x4cee9b
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004ce93b
test eax, eax
je 0x4cee9b
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x44]
jl 0x4cee3b
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x4cef44
fldz
fstp qword [ebp - 0x20]
fld1
fstp qword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
add dword [ebp - 0x34], 1
jmp 0x4cef0b
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x3c]
mov dword [edx], ecx
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004ceaa3
mov dword [ebp - 0x2c], eax
fld qword [ebp - 0x20]
fld qword [0x4efc40]
fmulp st(1)
fild dword [ebp - 0x2c]
faddp st(1)
fstp qword [ebp - 0x20]
fld qword [ebp - 0x18]
fld qword [0x4efc40]
fmulp st(1)
fstp qword [ebp - 0x18]
add dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
test al, al
je 0x4cef36
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004ce93b
test eax, eax
je 0x4cef36
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x44]
jl 0x4ceec8
fld qword [ebp - 0x20]
fdiv qword [ebp - 0x18]
fld qword [ebp - 0x28]
faddp st(1)
fstp qword [ebp - 0x28]
cmp dword [ebp - 0x34], 0
jne 0x4cef51
mov eax, 0xffffffff
jmp 0x4cef6b
cmp dword [ebp - 0x38], 0
je 0x4cef5e
fld qword [ebp - 0x28]
fchs
jmp 0x4cef61
fld qword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
fstp qword [eax]
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4cef7b
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4d36f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004d8fb0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004d8fb0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4d3750
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x4f76fc]
test esi, esi
jle 0x4d3850
mov eax, dword [0x4f7700]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4d3780
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4d37ff
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4d3770
mov dword [esp], ebx
call fcn.004d40c0
mov edi, eax
test eax, eax
je 0x4d3877
mov eax, dword [0x4f7700]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004d41d0
mov edx, dword [0x4f7700]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4d3857
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4d37f8
sub eax, 4
and eax, 0xfffffffb
jne 0x4d3806
add dword [0x4f76fc], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4f7700]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4d37f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004d36f0
xor esi, esi
jmp 0x4d378a
mov eax, dword [0x4f7700]
mov eax, dword [eax + ebx + 0xc]
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.004d36f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004d36f0
lea esi, [esi]
nop
Function at 0x4d3d30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4f7718
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4f7710]
sub esp, 4
test ebx, ebx
je 0x4d3d85
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
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4d3d7e
test esi, esi
je 0x4d3d7e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4d3d60
mov dword [esp], 0x4f7718
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x1000ab43
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000ab82
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ab82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000ab82
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000ab82
cmp dword [ecx + 0x74], 0xe
jbe 0x1000ab82
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000d7ff
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 0x1000d89c
push ebx
push esi
call fcn.1000d7c8
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.1000d75c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d849
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d89b
push edi
push eax
call fcn.1000e7ba
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d869
call fcn.1000c2a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d89a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000d75c
add esp, 0x20
test eax, eax
jne 0x1000d888
push edi
call fcn.1000c2a4
jmp 0x1000d890
push ebx
call fcn.1000c2a4
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 0x1000db09
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015678
push 0x10015670
push str.FlsAlloc
push 0x1f
call fcn.1000da25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000db3d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
jmp 0x1000db43
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000db87
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015688
push 0x10015680
push str.FlsGetValue
push 0x21
call fcn.1000da25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000dbbe
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000dbc6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015690
push 0x10015688
push str.FlsSetValue
push 0x22
call fcn.1000da25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000dc00
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10013280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100132ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100132ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xca4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ca41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xca407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca406a
add dl, dl
jne 0xca4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca40dc
xor eax, eax
add dl, dl
jne 0xca4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca417d
add dl, dl
jne 0xca40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xca40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xca4075
mov eax, 1
add dl, dl
jne 0xca40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca40e1
sub eax, ebx
mov ebx, 1
jne 0xca4128
mov ecx, 1
add dl, dl
jne 0xca410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xca413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca4136
cmp eax, 0x7d00
jae 0xca416d
cmp eax, 0x500
jb 0xca4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca4075
cmp eax, 0x7f
ja 0xca4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xca419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xca4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1074d0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1074d200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1074d0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074d0c2
add dl, dl
jne 0x1074d0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074d134
xor eax, eax
add dl, dl
jne 0x1074d0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074d1d5
add dl, dl
jne 0x1074d0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074d108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074d113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074d11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1074d12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1074d0cd
mov eax, 1
add dl, dl
jne 0x1074d142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074d14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074d139
sub eax, ebx
mov ebx, 1
jne 0x1074d180
mov ecx, 1
add dl, dl
jne 0x1074d166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1074d171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074d15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074d0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1074d197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1074d1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074d18e
cmp eax, 0x7d00
jae 0x1074d1c5
cmp eax, 0x500
jb 0x1074d1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074d0cd
cmp eax, 0x7f
ja 0x1074d1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074d0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1074d1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1074d0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10