joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43402b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4435e0]
jne 0x434035
repz ret
jmp fcn.0043878c

Function at 0x43c3c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4435e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00436a2d
and dword [ebp - 0x14], 0
cmp dword [0x449f58], 0
mov dword [ebp - 0x18], eax
jne 0x43c476
push 0x4052e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43c51e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4052d4
push ebx
call edi
test eax, eax
je 0x43c51e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4052c4
push ebx
mov dword [0x449f58], eax
call edi
push eax
call esi
push 0x4052b0
push ebx
mov dword [0x449f5c], eax
call edi
push eax
call esi
push 0x405294
push ebx
mov dword [0x449f60], eax
call edi
push eax
call esi
mov dword [0x449f68], eax
test eax, eax
je 0x43c476
push 0x40527c
push ebx
call edi
push eax
call esi
mov dword [0x449f64], eax
mov eax, dword [0x449f64]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43c4cf
cmp dword [0x449f68], ecx
je 0x43c4cf
push eax
call esi
push dword [0x449f68]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43c4cf
test ebx, ebx
je 0x43c4cf
call edi
test eax, eax
je 0x43c4c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43c4c6
test byte [ebp - 8], 1
jne 0x43c4cf
or dword [ebp + 0x10], 0x200000
jmp 0x43c502
mov eax, dword [0x449f5c]
cmp eax, dword [ebp - 0x18]
je 0x43c502
push eax
call esi
test eax, eax
je 0x43c502
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43c502
mov eax, dword [0x449f60]
cmp eax, dword [ebp - 0x18]
je 0x43c502
push eax
call esi
test eax, eax
je 0x43c502
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449f58]
call esi
test eax, eax
je 0x43c51e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43c520
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043402b
leave
ret
Function at 0x1b01d000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x1b01d175
cmp dword [esp + 0x54], 0x40
jne 0x1b01d175
cmp word [esp + 0x10], 0x5a4d
jne 0x1b01d175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x1b01d175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x1b023960
push esi
call ebx
test eax, eax
je 0x1b01d175
cmp dword [esp + 0x54], 0xf8
jne 0x1b01d175
cmp dword [0x1b023960], 0x4550
jne 0x1b01d175
mov eax, dword [0x1b023976]
test ah, 0x20
jne 0x1b01d175
mov edx, dword [0x1b023a80]
xor eax, eax
mov ax, word [0x1b023966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x1b023a58], eax
je 0x1b01d175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x1b023a6c], eax
xor eax, eax
mov ax, word [0x1b023966]
mov edx, dword [0x1b023a58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x1b01d175
cmp dword [esp + 0x54], edi
jne 0x1b01d175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x1b023a80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x1b0239b4]
cmp edx, eax
ja 0x1b01d175
mov edi, dword [0x1b023a58]
mov ecx, dword [0x1b023988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x1b01d175
xor eax, eax
push 2
mov ax, word [0x1b023966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x1b01d175
cmp dword [edi - 0x20], ebx
ja 0x1b01d175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x1b01f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1b023190
cmp edx, dword [eax]
je 0x1b01f78b
add eax, 8
inc ecx
cmp eax, 0x1b023220
jl 0x1b01f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1b023190]
jne 0x1b01f8b9
mov eax, dword [0x1b023bb0]
cmp eax, 1
je 0x1b01f893
test eax, eax
jne 0x1b01f7bc
cmp dword [0x1b0230e4], 1
je 0x1b01f893
cmp edx, 0xfc
je 0x1b01f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1b01f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1b020670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1b020490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1b01f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.1b020490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1b02245c
push edi
call fcn.1b020f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1b020670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1b020680
lea eax, [ebp - 0xa0]
push 0x1b02243c
push eax
call fcn.1b020680
push dword [esi + 0x1b023194]
lea eax, [ebp - 0xa0]
push eax
call fcn.1b020680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1b020e75
add esp, 0x2c
pop edi
jmp 0x1b01f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1b023194]
push 0
push eax
push dword [esi]
call fcn.1b020490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x404af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404b4b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404b4b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404b38
cmp esi, edx
jae 0x404b4b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404b26
cmp esi, edx
jae 0x404b4b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x417bb0
Capabilities:
Access peb ldr_data

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
push 0xffffffffffffffff
push 0x492c91
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4b7180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.FastObserver::EventListener.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
push 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0046de66
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.00418780
add edi, 0x24
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov byte [edi + 4], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push 0x30
push 0
lea esi, [eax + 0x30]
mov byte [eax + 0x2c], 0
push esi
call fcn.00470360
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [esi + 0xc], xmm0
lea eax, [ebp - 0x18]
add esp, 0xc
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi], 2
mov dword [esi + 0x2c], 0
call fcn.00418880
mov edx, eax
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 0x18], edx
cmp edi, edx
je 0x417d24
mov ecx, dword [edi]
test ecx, ecx
je 0x417d14
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x417d14
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x417d0b
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x417d0f
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [edx], 0
mov dword [edi], eax
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x417d47
lock xadd dword [ecx + 4], esi
dec esi
jne 0x417d47
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x417d41
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x417d45
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x417d5d
cmp byte [edi + 4], 0
je 0x417d59
cmp byte [eax + 0x6c], 0
jne 0x417d5d
mov cl, 1
jmp 0x417d5f
xor cl, cl
mov edx, dword [ebp - 0x14]
lea eax, [edx + 0x2c]
xchg byte [eax], cl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x418210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b7180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x30]
push esi
mov dword [ebp - 0x18], esi
call fcn.00457183
add esp, 4
test eax, eax
jne 0x418370
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x418377
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax + 8]
mov edx, eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 8
movzx ecx, dl
xor ecx, 0x811c9dc5
movzx eax, al
imul ecx, ecx, 0x1000193
mov dword [ebp - 0x10], edx
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 4]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418a70
mov eax, dword [eax + 4]
test eax, eax
jne 0x4182d0
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 0x14]
je 0x418353
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea ecx, [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.004186e0
xor edx, edx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
mov ecx, dword [ebx]
cmp ecx, ebx
je 0x418335
mov edx, dword [ebp + 8]
mov edi, dword [ecx]
cmp dword [ecx + 8], edx
jne 0x41832c
dec dword [eax + 4]
mov edx, dword [ecx]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, edi
cmp edi, ebx
jne 0x418304
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x418353
nop dword [eax]
mov edi, dword [edx]
push 0xc
push edx
call fcn.0046de58
add esp, 8
mov edx, edi
test edi, edi
jne 0x418340
push esi
call fcn.00457194
add esp, 4
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
push 5
call fcn.004573d5
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.004573d5
int3
Function at 0x418390
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 8]
push edi
lea edi, [ecx + 4]
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x10
movzx eax, al
sar edx, 0x18
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418a70
mov eax, dword [eax + 4]
test eax, eax
jne 0x4183f7
mov eax, dword [edi + 4]
cmp eax, esi
je 0x418439
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00418660
mov ecx, edi
mov esi, dword [eax]
lea eax, [ebp + 8]
push eax
mov esi, dword [esi]
call fcn.00418660
cmp esi, dword [eax]
je 0x418439
nop dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00418660
cmp esi, dword [eax]
jne 0x418420
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x418660
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x4186d3
mov ecx, dword [edi]
mov edx, dword [edx]
pop edi
pop esi
cmp ecx, dword [eax + 8]
je 0x4186cc
nop word [eax + eax]
cmp eax, edx
je 0x4186d3
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x4186c0
add eax, 0xc
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0045642f
int3
Function at 0x418e60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x418fba
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], 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.00418780
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 0x418f8d
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 - 8], edx
cmp edi, esi
jne 0x418f13
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x418f83
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x418f4d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x418f45
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x418f80
cmp edi, edx
je 0x418f5d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x418f96
cmp edi, edx
jne 0x418f51
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 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 - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x418ec2
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 - 0xc], 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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x418f80
push str.invalid_hash_bucket_count
call fcn.0045640f
int3
Function at 0x41b9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x41b9fb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41b9e4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret

Function at 0x41de60
Capabilities:
Initialize winhttp library

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
push 0xffffffffffffffff
push 0x4938b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
push esi
mov eax, dword [0x4b7180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
mov dword [ebp - 0x18], 0x4bcd48
mov dword [0x4bcd48], 0
mov dword [0x4bcd4c], 0
mov dword [0x4bcd50], 0
mov dword [0x4bcd54], 0
mov dword [0x4bcd58], 0
call fcn.0046de66
mov dword [eax + 4], 0
mov dword [0x4bcd48], eax
mov dword [eax], 0x4bcd48
push 0x30
push 0
push 0x4bcd5c
mov dword [ebp - 4], 0
call fcn.00470360
xorps xmm0, xmm0
mov dword [0x4bcd80], 0
movq qword [0x4bcd8c], xmm0
add esp, 0x10
movups xmmword [0x4bcd68], xmm0
mov dword [0x4bcd60], 0
movq qword [0x4bcd78], xmm0
mov dword [0x4bcd64], 0
mov dword [0x4bcd84], 0xffffffff
mov dword [0x4bcd5c], 2
mov dword [0x4bcd88], 0
mov dword [0x4bcd8c], 0
mov byte [0x4bcd90], 0
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 1
mov byte [0x4bcd94], 0
mov dword [0x4bcd98], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00404360
add eax, 0x10
mov dword [0x4bcd9c], eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00404360
add eax, 0x10
mov dword [0x4bcda0], eax
mov byte [ebp - 4], 3
call fcn.00404e10
mov ecx, eax
test ecx, ecx
je 0x41e063
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.WinHTTP_1.0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00404180
test al, al
jne 0x41dff2
push 0xb
push str.WinHTTP_1.0
lea ecx, [ebp - 0x14]
call fcn.004044b0
push 0
push 0
push 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [0x4bcd98], eax
test eax, eax
je 0x41e02c
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e044
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041e080
mov eax, 0x4bcd48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.00404bf0
int3
Function at 0x41ef40
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a7d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b7180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [eax + 0x50]
xor ebx, ebx
test edx, edx
je 0x41f06c
mov edi, dword [ebp + 8]
push ebx
push 0x1bb
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], ebx
cmove eax, dword [0x4bccb8]
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41f06c
call fcn.00404e10
mov ecx, eax
test ecx, ecx
je 0x41f0ed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov edi, dword [edi + 0x14]
mov esi, dword [0x4bccb4]
cmp dword [edi - 0xc], ebx
cmove edi, dword [0x4bccbc]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x58]
push dword [eax + 0x54]
lea eax, [ebp - 0x14]
push edi
push esi
push eax
call fcn.00404720
mov esi, dword [ebp - 0x14]
add esp, 0x2c
push 0x800000
push ebx
push ebx
push ebx
push esi
push 0x4a5694
push dword [ebp - 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x41f082
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x41f082
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x10]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f06c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f0a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x41f0d2
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, eax
test ebx, ebx
je 0x41f0cf
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
push edi
call esi
push dword [ebp - 0x10]
call esi
mov eax, ebx
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
push 0x80004005
call fcn.00404bf0
int3