joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a6110
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.101a5fc0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x101a61ae
mov dword [ebp - 4], 0
jmp 0x101a6159
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x101a61ae
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101a61ac
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.101a5e30
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x101a6150
mov esp, ebp
pop ebp
ret

Function at 0x101a61c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x101a6236
mov dword [ebp - 4], 0
jmp 0x101a61e0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x101a6221
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101a621f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x101a61d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1036053c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov esp, ebp
pop ebp
ret
Function at 0x101a6240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x103625c0]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101a6284
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x101a62a6
mov eax, 0xa
jmp 0x101a638d
cmp dword [ebp + 0xc], 0
je 0x101a62f2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 8]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x101a62f0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xf9
jmp 0x101a632e
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101a6319
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x101a632e
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x101a6ae0
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 0x101a6b29
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x101a6b29
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x101a6b29
xor eax, eax
jmp 0x101a6b6a
mov dword [ebp - 4], 1
jmp 0x101a6b3b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x101a6b65
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 0x101a6b63
xor eax, eax
jmp 0x101a6b6a
jmp 0x101a6b32
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x101d8360
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x10358f40]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xac]
call fcn.100774d0
lea ecx, [ebp - 0x94]
call fcn.100774d0
nop
push 0x10360c78
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x101d8474
mov ecx, 0x10360c6c
call fcn.101cece0
nop
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xad]
call fcn.101d84a0
mov ecx, eax
call fcn.100737d0
mov dword [ebp - 0xb4], eax
push 0x10360c78
lea ecx, [ebp - 0x34]
call fcn.100838e0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.1008a2e0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.10073110
lea ecx, [ebp - 0x4c]
call fcn.10073110
nop
push 0
lea ecx, [ebp - 0x1c]
call fcn.100737d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
push 0
push 0x101d8310
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0xae]
call fcn.101d84c0
mov ecx, eax
call fcn.100737d0
push eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.101f7cf0
add esp, 0xc
mov ecx, eax
call fcn.100737d0
push eax
call fcn.101d7f10
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.10073110
lea ecx, [ebp - 0x7c]
call fcn.10073110
nop
lea ecx, [ebp - 0x1c]
call fcn.10073110
nop
lea ecx, [ebp - 0x94]
call fcn.10073110
lea ecx, [ebp - 0xac]
call fcn.10073110
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102390e8
mov esp, ebp
pop ebp
ret
Function at 0x101f6fa0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10358f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x1c]
call fcn.100774d0
nop
push 0x10360d88
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x101f702f
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x65]
call fcn.101f7080
mov ecx, eax
call fcn.100737d0
mov dword [ebp - 0x6c], eax
push 0x10360d88
lea ecx, [ebp - 0x4c]
call fcn.100838e0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.1008a2e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.1007c780
lea ecx, [ebp - 0x34]
call fcn.10073110
lea ecx, [ebp - 0x4c]
call fcn.10073110
lea ecx, [ebp - 0x64]
call fcn.10073110
nop
push 1
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.100737d0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x1c]
call fcn.10073110
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102390e8
mov esp, ebp
pop ebp
ret
Function at 0x10224e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x10224ea0
jl 0x10224e97
cmp dword [ebp + 0xc], 0
ja 0x10224ea0
xor eax, eax
xor edx, edx
jmp 0x10224fe8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x10224ec3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x10224fe8
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10224f36
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.1006f2f0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100700e0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x10224fd9
mov ecx, dword [ebp - 8]
call fcn.102242a0
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x10224fa7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x10224fa5
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
sbb edx, eax
mov eax, ecx
jmp 0x10224fe8
jmp 0x10224f52
cmp dword [ebp - 4], 0
jbe 0x10224fd9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10224ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1022501c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10225103
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x102250b4
jg 0x10225045
cmp dword [ebp + 0xc], 0
jbe 0x102250b4
cmp dword [ebp - 8], 0
jl 0x102250b4
jg 0x10225053
cmp dword [ebp - 0xc], 0
jbe 0x102250b4
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x10225071
jl 0x10225065
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x10225071
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.100700e0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
nop
cmp dword [ebp + 0x10], 0
jl 0x102250f7
jg 0x102250c2
cmp dword [ebp + 0xc], 0
jbe 0x102250f7
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x102250f7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a1d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47ccd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ebp, [ebx + ebx + 2]
cmp ebp, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ebx
jge 0x43a2b8
lea esp, [esp]
mov esi, dword [esp + 0x28]
mov eax, ebp
imul eax, eax, 0x1c
mov ecx, dword [eax + esi - 4]
mov edi, dword [eax + esi - 8]
add eax, esi
cmp ecx, 0x10
mov dword [esp + 0x10], edi
jb 0x43a235
mov ecx, dword [eax - 0x18]
mov dword [esp + 0x2c], ecx
jmp 0x43a23c
lea edx, [eax - 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x14]
mov ecx, edx
cmp ecx, edx
jae 0x43a245
test edx, edx
je 0x43a27c
cmp edx, edi
mov ecx, edx
jb 0x43a251
mov ecx, edi
cmp dword [eax + 0x18], 0x10
jb 0x43a25c
mov eax, dword [eax + 4]
jmp 0x43a25f
add eax, 4
mov edi, dword [esp + 0x2c]
mov esi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x43a270
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [esp + 0x28]
jne 0x43a289
mov edi, dword [esp + 0x10]
cmp edx, edi
jb 0x43a28b
xor eax, eax
cmp edx, edi
setne al
test eax, eax
jge 0x43a28c
dec ebp
mov eax, ebp
imul eax, eax, 0x1c
mov ecx, ebx
imul ecx, ecx, 0x1c
push 0xffffffffffffffff
add eax, esi
push 0
add ecx, esi
push eax
call fcn.004014e0
mov eax, dword [esp + 0x30]
mov ebx, ebp
lea ebp, [ebp + ebp + 2]
cmp ebp, eax
jl 0x43a210
jmp 0x43a2bc
mov esi, dword [esp + 0x28]
cmp ebp, eax
jne 0x43a2df
imul eax, eax, 0x1c
mov ecx, ebx
imul ecx, ecx, 0x1c
push 0xffffffffffffffff
lea eax, [eax + esi - 0x1c]
push 0
add ecx, esi
push eax
call fcn.004014e0
mov eax, dword [esp + 0x30]
lea ebx, [eax - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.004014e0
mov eax, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.00439f00
mov eax, dword [esp + 0x74]
add esp, 0x28
cmp eax, 0x10
jb 0x43a32d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret

Function at 0x43cca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x43ccca
push 0x4bb0c0
lea ecx, [esp + 8]
call fcn.0044efe4
push 0x4b3ed8
lea eax, [esp + 8]
push eax
call fcn.0044ea69
mov eax, dword [edi + 0x3cc]
xor edx, edx
test eax, eax
jle 0x43ccf7
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
mov cl, byte [esi]
mov bl, byte [eax]
xor bl, cl
inc esi
mov byte [eax], bl
mov ecx, dword [edi + 0x3cc]
inc eax
inc edx
cmp edx, ecx
jl 0x43cce0
pop esi
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x476001
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47602f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47604d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475f6b
jmp 0x47604d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47604d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00475f6b
test edi, edi
mov eax, edi
jne 0x476037
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4c1a7c]
test ecx, ecx
je 0x476100
jmp 0x476000
ret 8

Function at 0x47f000
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
lodsd eax, dword [esi]
jns 0x47f01e
daa
xchg dword [eax + 0x7b73ef74], eax
cmp dword [esi - 0x47], ecx
adc edx, dword [ebp - 0x43]
call [ebx]
aam 0x97
jno 0x47efd4
jmp 0xe2e7e461
push ds
dec edi
xor byte [ecx + 0x6886098e], bh
invalid
Function at 0x1005f7c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1005f9ad
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
or ebp, 0xffffffff
jmp 0x1005f7ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1005f7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005f7e0
mov eax, 1
add ebx, ebx
jne 0x1005f803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1005f814
jne 0x1005f833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005f833
dec eax
add ebx, ebx
jne 0x1005f820
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1005f7f8
add ebx, ebx
jne 0x1005f82f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1005f885
xor ecx, ecx
sub eax, 3
jb 0x1005f84b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1005f8ba
sar eax, 1
mov ebp, eax
jmp 0x1005f856
add ebx, ebx
jne 0x1005f856
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005f824
inc ecx
add ebx, ebx
jne 0x1005f864
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005f824
add ebx, ebx
jne 0x1005f871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1005f866
jne 0x1005f882
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1005f866
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1005f8a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1005f896
jmp 0x1005f7e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1005f8a4
add edi, ecx
jmp 0x1005f7e6
pop esi
mov edi, esi
mov ecx, 0x15f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1005f8c2
cmp byte [edi], 0xa
jne 0x1005f8c2
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 al, bl
loop 0x1005f8c7
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x1005f93f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5f844]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5f934]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1005f8f4
mov ecx, edi
jns 0x1005f923
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 + 0x5f938]
or eax, eax
je 0x1005f939
mov dword [ebx], eax
add ebx, 4
jmp 0x1005f911
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1005f970
cmp al, 0xef
ja 0x1005f963
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1005f945
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1005f952
mov ebp, dword [esi + 0x5f93c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1005f9a4
sub esp, 0xffffff80
jmp 0x1003122e
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219