joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x445368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
push edi
mov eax, dword [esi + 0x14]
mov dword [esp + 8], 0
shl eax, 5
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0041b0a0
add esi, 0xc
mov dword [esp + 0x28], 0
push esi
mov esi, dword [esp + 0x34]
push eax
push esi
call fcn.00418120
mov edi, dword [esp + 0x24]
add esp, 0xc
test edi, edi
mov edx, edi
je 0x41b07e
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x41b0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00413d70
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 0
push ecx
mov ecx, eax
call fcn.00418260
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x41b107
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x41d990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x445798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00413cd0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
push 1
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call dword [eax + 0x54]
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x41da08
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x41f4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4458ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
xor eax, eax
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esi], 0x449d28
lea edi, [esi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
mov dword [edi], 0x449d28
lea ebx, [edi + 4]
mov dword [esp + 0x14], ebx
mov dword [ebx], 0x449d28
mov dword [ebx + 4], 0x449c50
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebx + 0xc]
mov byte [esp + 0x24], 3
mov dword [ebx + 8], eax
call fcn.00413d70
mov dword [ebx], 0x44ad90
mov edx, dword [ebp + 0x24]
add ebp, 0x28
push ebp
lea ecx, [edi + 0x28]
mov byte [esp + 0x24], 4
mov dword [edi + 0x24], edx
call fcn.00413d70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], 0x44ad98
mov dword [esi + 0x40], eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x44], edx
mov dword [esi], 0x44ada0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x41f820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445901
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor eax, eax
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [edi], 0x449d28
lea ebx, [edi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
mov dword [ebx], 0x449d28
lea ebp, [ebx + 4]
mov dword [esp + 0x18], ebp
mov dword [ebp], 0x449d28
lea eax, [ebp + 4]
mov dword [esp + 0x10], eax
mov dword [eax], 0x449d28
mov dword [eax + 4], 0x449c50
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x14]
mov dword [eax + 8], ecx
push edx
lea ecx, [eax + 0xc]
mov byte [esp + 0x28], 4
call fcn.00413d70
mov eax, dword [esp + 0x10]
mov dword [eax], 0x44ad90
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x2c]
mov dword [ebp + 0x24], ecx
push edx
lea ecx, [ebp + 0x28]
mov byte [esp + 0x28], 5
call fcn.00413d70
mov dword [ebp], 0x44ad98
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [ebx + 0x44], ecx
mov dword [ebx], 0x44ada0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [edi + 0x50]
mov byte [esp + 0x28], 6
mov dword [edi + 0x4c], edx
call fcn.00413d70
mov ecx, dword [esp + 0x1c]
mov dword [edi], 0x44ada8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x41fba0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x445964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [edi], 0x449d28
lea ebx, [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [ebx], 0x449d28
lea ebp, [ebx + 4]
mov dword [esp + 0x1c], ebp
mov dword [ebp], 0x449d28
lea eax, [ebp + 4]
mov dword [esp + 0x10], eax
mov dword [eax], 0x449d28
add eax, 4
mov dword [esp + 0x14], eax
mov dword [eax], 0x449d28
mov dword [eax + 4], 0x449c50
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [eax + 8], ecx
push edx
lea ecx, [eax + 0xc]
mov byte [esp + 0x2c], 5
call fcn.00413d70
mov eax, dword [esp + 0x14]
mov dword [eax], 0x44ad90
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x30]
mov byte [esp + 0x28], 6
mov dword [eax + 0x24], ecx
push edx
lea ecx, [eax + 0x28]
call fcn.00413d70
mov eax, dword [esp + 0x10]
mov dword [eax], 0x44ad98
mov ecx, dword [esi + 0x44]
mov dword [ebp + 0x40], ecx
mov edx, dword [esi + 0x48]
mov dword [ebp + 0x44], edx
mov dword [ebp], 0x44ada0
mov eax, dword [esi + 0x4c]
add esi, 0x50
push esi
lea ecx, [ebx + 0x50]
mov byte [esp + 0x2c], 7
mov dword [ebx + 0x4c], eax
call fcn.00413d70
mov dword [ebx], 0x44ada8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [edi + 0x68], ecx
push edx
lea ecx, [edi + 0x6c]
mov byte [esp + 0x2c], 8
call fcn.00413d70
mov ecx, dword [esp + 0x20]
mov dword [edi], 0x44adb0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x422b70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
push esi
mov esi, dword [esp + 0x10]
or edx, ecx
or edx, esi
test dl, 3
jne 0x422ba4
mov edx, esi
shr edx, 2
je 0x422bb9
push edi
sub ecx, eax
mov esi, dword [ecx + eax]
mov edi, dword [eax]
xor edi, esi
mov dword [eax], edi
add eax, 4
dec edx
jne 0x422b92
pop edi
pop esi
ret
test esi, esi
jbe 0x422bb9
push ebx
sub ecx, eax
mov dl, byte [eax + ecx]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x422bab
pop ebx
pop esi
ret
Function at 0x42f580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
call fcn.00406fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x449d68
mov dword [esp + 8], 0x449d60
mov edx, dword [esi]
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x2c]
push 0x460e70
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x42fd38
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4479f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
call fcn.00406fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x449d68
mov dword [esp + 8], 0x449d60
mov edx, dword [esi]
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x2c]
push 0x460e70
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x436ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447afa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x24]
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
mov byte [esp + 0x18], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [eax]
lea eax, [esp + 0x24]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov dword [esi], 0x449374
mov edi, dword [esp + 0x34]
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 2
mov dl, byte [edi]
mov dword [ecx + 4], ebx
mov byte [ecx], dl
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [eax]
push edx
push ebx
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
cmp ecx, ebx
mov dword [esi + 0x30], eax
mov dword [esi], 0x44bb20
je 0x436b6d
mov al, byte [ecx - 1]
cmp al, bl
je 0x436b63
cmp al, 0xff
je 0x436b63
dec al
mov byte [ecx - 1], al
jmp 0x436b6d
dec ecx
push ecx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x43fb80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push ecx
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x43fbc3
mov dl, byte [esp + 0x118]
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x43fbab
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.0043f4a0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0043f480
push esi
mov ecx, edi
call fcn.0043f470
mov edx, dword [esp + 0x120]
mov ecx, edi
push edx
call fcn.0043f4d0
mov eax, dword [esp + 0x124]
mov ecx, edi
push eax
call fcn.0043f4e0
mov ecx, dword [esp + 0x128]
push ecx
mov ecx, edi
call fcn.0043f4f0
pop edi
pop esi
ret 0x120
Function at 0x1000f721
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000f730
pop dword [ebp - 0x1c]
mov eax, 0x1000f730
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x8fbe2e4e
add dword [ebp - 0x2c], 0xbe9416fd
mov dword [ebp - 0x28], 0xe07415af
sub dword [ebp - 0x28], 0xae40c96a
mov dword [ebp - 0x24], 0x9175e467
add dword [ebp - 0x24], 0xbad65fc7
mov dword [ebp - 0x20], 0x2406b22e
add dword [ebp - 0x20], 0xdbf94dd2
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x334675b4
add eax, 0xdcbaca3c
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xe9a778b6
sub dword [ebp - 0x2c], 0x75350f60
mov dword [ebp - 0x28], 0xedc13172
add dword [ebp - 0x28], 0x53ab3003
mov dword [ebp - 0x24], 0xf78621c3
add dword [ebp - 0x24], 0x6be94aa9
mov dword [ebp - 0x20], 0x74954ce1
sub dword [ebp - 0x20], 0x74954ce1
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x74301089
add eax, 0x9bd12f6f
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x350fa
push 0
call eax
mov ecx, 0x4948c60a
sub ecx, 0x4948840e
xor edi, edi
add edi, eax
mov ebx, 0x283fc43c
add ebx, 0xe7c1d5c4
add ebx, dword [ebp - 0x1c]
mov edx, 0x9b44bb83
add edx, 0x15c35f79
add dword [ebp - 0x18], edx
mov esi, dword [ebx]
sub dword [ebp - 0x14], eax
xor esi, edx
add dword [ebp - 0xc], edx
mov dword [edi], esi
mov dword [ebp - 0x14], 0xf885b5b1
add edi, 0x35bf8016
sub edi, 0x35bf8012
add ebx, 4
loop 0x1000f84f
add eax, 0x5557c9a4
add eax, 0xaaa9311f
xor ebx, ebx
add ebx, eax
add eax, 0xe0066cfc
sub eax, 0xe0066cf7
mov ecx, sym.clearkey.dll_Ordinal_0
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40b220
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0xa9904c
call sym._EnterCriticalSection_4
mov ebx, dword [0xa99044]
sub esp, 4
test ebx, ebx
je 0x40b26b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x40b264
test esi, esi
je 0x40b264
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40b240
mov dword [esp], 0xa9904c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40b450
Capabilities:
Persist via application shimming
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40b4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40b578
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40b4de
cmp eax, 4
jne 0x40b500
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40b4ee
cmp edx, 4
je 0x40b4ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040b450

Function at 0x40baf0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
sub esp, 4
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x40bb20
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x40bb44
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x41d530
Capabilities:
Persist via application shimming
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4a3abc], 0
jne 0x41d604
mov byte [0x4a3abc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41d69e
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x41d5fa
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0xa554c1
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x41d631
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x41d5cb
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x41d5f5
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x41d699
Function at 0x1000d50f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x100156af
call fcn.10013e2a
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x1000d730
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.1000ff05
add esp, 0x10
test eax, eax
js 0x1000d72a
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x1000d5b3
push edi
call fcn.10008238
pop ecx
test al, al
je 0x1000d5b3
mov eax, edi
call fcn.10014020
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000d5c5
push edi
lea ecx, [ebp - 0x424]
call fcn.1000ff05
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.1000ff05
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000d72a
push 0x60
push ebx
push eax
call fcn.1000eab1
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x1000d61d
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.1000eab1
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x1000d61d
call fcn.10003821
mov ebx, eax
jmp 0x1000d6f9
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x1000d644
call fcn.10003821
jmp 0x1000d6ec
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x1000d63a
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x1000d677
mov ebx, 0x8007000e
jmp 0x1000d6ee
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000ff05
jmp 0x1000d69d
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000d670
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.1000ff05
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.1000ff05
mov ebx, eax
test edi, edi
je 0x1000d6f9
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000d712
lea ecx, [ebp - 0x418]
call fcn.1000ccf9
or dword [ebp - 4], 0xffffffff
jmp 0x1000d722
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1000d718
mov eax, ebx
jmp 0x1000d75e
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1000d745
lea ecx, [ebp - 0x418]
call fcn.1000ccf9
or dword [ebp - 4], 0xffffffff
jmp 0x1000d755
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1000d74b
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.10013d77
ret 0x10
Function at 0x1000f2f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x3c
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [ebp + 0x10]
add esi, 0x568
push 0x10018bc0
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push str.file:__
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x1000f37f
mov eax, dword [ebp - 0x30]
sub eax, 1
je 0x1000f378
dec eax
sub eax, 1
je 0x1000f378
sub eax, 1
jne 0x1000f37f
mov esi, edi
jmp 0x1000f37f
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.1000ff05
add esp, 0x10
pop edi
pop esi
leave
ret 0x20
Function at 0x1000ff05
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000ff14
pop dword [ebp - 0x20]
mov eax, 0xa7c3bc5
add eax, 0x584c34f
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x38bf7
push 0
mov eax, 0xcc5e79b
sub eax, 0xfcc4765b
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x4307
xor edx, edx
add edx, eax
mov ebx, 0x10025400
add ebx, dword [ebp - 0x20]
mov esi, 0x8b47f50c
mov edi, dword [ebx]
add dword [ebp - 0x1c], 0x8f99066
add edi, esi
sub dword [ebp - 0x14], esi
mov dword [edx], edi
xor dword [ebp - 0x14], ebx
add edx, 4
add ebx, 0x1d85e5e0
add ebx, 0xe27a1a24
loop 0x1000ff63
add eax, 0xaaece419
sub eax, 0xaaebe52a
xor ebx, ebx
add ebx, eax
add eax, 0x9992427e
sub eax, 0x99924279
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret