joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5754e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x575605
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x5755e9
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x57553b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x575519
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x57604d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x5760a4
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x5760a4
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x5760a4
xor eax, eax
inc eax
jmp 0x5760a6
xor eax, eax
leave
ret 0x10
Function at 0x5760cf
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x57613d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x84475c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x576134
cmp dword [ebp - 0xc], 4
jne 0x576134
cmp dword [ebp - 0x10], edi
je 0x576134
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x871ef0], edi
xor eax, eax
jmp 0x57617c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x871ef0], edi
jge 0x576177
lea eax, [ebp - 0x34]
push eax
mov dword [0x871ef0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x576177
cmp word [ebp - 0x14], 5
jb 0x576177
call fcn.005760aa
test eax, eax
je 0x576177
emms
mov dword [0x871ef0], 1
mov eax, dword [0x871ef0]
pop edi
leave
ret

Function at 0x5a0c8c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5a0cc4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0059ec79
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0059ec51
jmp 0x5a0cd0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5a2381
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5a23c3
call fcn.005a8438
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a23c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a23ba
xor eax, eax
jmp 0x5a23cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a23d1
pop edi
pop esi
pop ebx
ret 4

Function at 0x5a8968
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 0x5a8996
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5a89b4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005a88ce
jmp 0x5a89b4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5a89b4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005a88ce
test edi, edi
mov eax, edi
jne 0x5a899e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410b4c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0xffffffff
je 0x4011d6
mov ecx, dword [ebp - 0x45c]
and ecx, 0x10
je 0x401164
push 0x410b50
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401162
push 0x410b58
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401162
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004010b0
add esp, 8
jmp 0x4011ad
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call section..text
add esp, 8
test eax, eax
je 0x4011ad
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x180
mov eax, dword [0x413188]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401100
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016c1
mov esp, ebp
pop ebp
ret

Function at 0x4015e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x4011f0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 0x65
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x34], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], str.Window
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x410d90
push str.Window
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
push 0xa
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4016b8
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40168e
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4035a0
Capabilities:
Check for debugger via api
Check for outputdebugstring error
Check for peb ntglobalflag flag
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ddde8
push 0x4367a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x4e3180]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x403781
lea eax, [ebp - 0x24]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 0x24], 0
jne 0x403781
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403781
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40365a
push 0x2c8
push 0
lea eax, [ebp - 0x2ec]
push eax
call fcn.00437330
add esp, 0xc
mov dword [ebp - 0x2f0], 0x10010
lea eax, [ebp - 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4036c6
cmp dword [ebp - 0x2ec], 0
jne 0x403781
cmp dword [ebp - 0x2e8], 0
jne 0x403781
cmp dword [ebp - 0x2e4], 0
jne 0x403781
cmp dword [ebp - 0x2e0], 0
jne 0x403781
mov al, byte [0x7ffe02d4]
test al, 1
jne 0x403781
shr al, 1
not al
test al, 1
je 0x403781
xor esi, esi
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x30]
add edi, 0x68
mov dword [ebp - 0x20], esi
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x403722
lea eax, [ebp - 0x20]
push eax
call ebx
push eax
call dword [ebp - 0x2f4]
test eax, eax
je 0x403739
cmp dword [ebp - 0x20], esi
je 0x403739
mov eax, dword fs:[0x18]
mov esi, dword [eax - 0x1fa0]
add esi, 0xbc
test edi, edi
je 0x403749
test byte [edi], 0x70
je 0x403749
mov ecx, 1
jmp 0x40374b
xor ecx, ecx
test esi, esi
je 0x40375b
test byte [esi], 0x70
je 0x40375b
mov eax, 1
jmp 0x40375d
xor eax, eax
test ecx, ecx
jne 0x403781
test eax, eax
jne 0x403781
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00434db6
mov esp, ebp
pop ebp
ret
push 1
call fcn.0043a1ee
int3
Function at 0x403790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x4e3180]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
push str.kernel32.dll
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0xc], eax
test eax, eax
je 0x403990
mov eax, dword fs:[0x2c]
movaps xmm0, xmmword [0x4dc130]
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0xbdc44e05
mov ecx, dword [eax]
mov eax, dword [0x4e603c]
mov dword [esp + 0x2c], 0x5ac0bfd5
cmp eax, dword [ecx + 4]
jle 0x403863
push 0x4e603c
call fcn.00434e40
add esp, 4
cmp dword [0x4e603c], 0xffffffff
jne 0x403863
xorps xmm0, xmm0
mov byte [0x4e6090], 1
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
mov al, byte [esp + ecx + 0x18]
mov byte [ecx + 0x4e6078], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x403849
cmp ecx, 0x18
jb 0x403830
push 0x4bdea0
call fcn.00435110
add esp, 4
push 0x4e603c
call fcn.00434def
add esp, 4
cmp byte [0x4e6090], 0
je 0x4038b3
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
nop dword [eax]
mov ecx, esi
mov eax, 0xd39b2b69
and ecx, 7
mov edx, 0x5aa5d2b4
shl ecx, 3
call fcn.004b6740
xor byte [esi + 0x4e6078], al
add esi, 1
adc edi, 0
test edi, edi
jne 0x4038ac
cmp esi, 0x18
jb 0x403880
mov byte [0x4e6090], 0
push 0x4e6078
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x403990
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x403974
nop dword [eax + eax]
mov ebx, dword [edi]
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x30], 0x128
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40395a
mov eax, ebx
lea ecx, [esp + 0x54]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x403930
test dl, dl
je 0x40392c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x403930
add ecx, 2
add eax, 2
test dl, dl
jne 0x403910
xor eax, eax
jmp 0x403935
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40394a
push dword [esp + 0x38]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x403989
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x403906
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0
call ebx
add edi, 4
cmp edi, dword [esp + 0xc]
jne 0x4038e0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434db6
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call fcn.0043a1ee
int3
Function at 0x40e450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x40e482
jl 0x40e475
test ecx, ecx
jne 0x40e482
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40e55f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40e4b2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x40e4b4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x40e508
jg 0x40e4c5
test esi, esi
je 0x40e508
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x40e4d9
jl 0x40e4d3
cmp ecx, esi
jae 0x40e4d9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.00436db0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x40e52c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40e548
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x40e497
jl 0x40e548
test ecx, ecx
jne 0x40e497
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40e5a3
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x40e5a3
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00436db0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x40e60c
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40e5c9
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x40e5f7
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00440169
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40e60c
cmp edi, eax
ja 0x40e5d5
test edi, edi
je 0x40e60c
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00440169
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411120
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e3180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00434ea4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004337fd
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.004110c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baf8d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4e3180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.00434ea4
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x416df0
push 0
push 0
call fcn.0043a360
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x412301
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434db6
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.004322a4
int3

Function at 0x413530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x413561
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x413550
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4139d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb133
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e3180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea edx, [edi + 0x40]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], ecx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x413acf
test cl, 0x10
jne 0x413acf
mov al, 1
jmp 0x413ad1
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [edx + 4]
mov ecx, ebx
mov esi, dword [esi + 0x18]
sar ecx, 3
cmp esi, ecx
jae 0x413af5
lea ecx, [esi*8]
mov dword [edx + 4], ecx
jmp 0x413b27
jbe 0x413b27
mov eax, dword [edx + 8]
sar eax, 3
cmp esi, eax
jbe 0x413b0c
push ecx
push esi
mov ecx, edx
call fcn.004175a0
jmp 0x413b27
sub esi, ecx
je 0x413b24
shl esi, 3
push esi
push 0
push ebx
call fcn.00437330
add esp, 0xc
lea edx, [edi + 0x40]
add ebx, esi
mov dword [edx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x422590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbe25
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e3180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 4
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x4e4990
push eax
call fcn.00418640
mov esi, dword [ebp - 0x4c]
cmp byte [esi + 0xd], 0
jne 0x422653
cmp dword [esi + 0x10], 4
jg 0x422653
add esi, 0x14
mov edi, esi
cmp dword [esi + 0x14], 0xf
jbe 0x4225f2
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x422612
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x422600
push edx
push esi
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00422150
mov eax, dword [eax + 4]
test eax, eax
je 0x42264f
cmp eax, dword [ebx + 4]
je 0x42264f
cmp dword [ebx + 8], 1
jne 0x42265d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434db6
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x422633
push str.invalid_map_K__T__key
call fcn.0043252e
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004226b0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
push eax
call fcn.00411db0
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00422540
push 0x4df734
lea eax, [ebp - 0x54]
push eax
call fcn.00436c8b
int3