joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x2325266c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6c2277fc
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x7df1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x293000]
push edi
jmp 0x7df1ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7df1c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7df1b0
mov eax, 1
add ebx, ebx
jne 0x7df1d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7df1e4
jne 0x7df203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7df203
dec eax
add ebx, ebx
jne 0x7df1f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7df1c8
add ebx, ebx
jne 0x7df1ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7df255
xor ecx, ecx
sub eax, 3
jb 0x7df21b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7df28a
sar eax, 1
mov ebp, eax
jmp 0x7df226
add ebx, ebx
jne 0x7df226
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7df1f4
inc ecx
add ebx, ebx
jne 0x7df234
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7df1f4
add ebx, ebx
jne 0x7df241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7df236
jne 0x7df252
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7df236
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7df274
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7df266
jmp 0x7df1b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7df274
add edi, ecx
jmp 0x7df1b6
pop esi
mov edi, esi
mov ecx, 0x17179
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7df292
cmp byte [edi], 0x8e
jne 0x7df292
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 0x7df297
lea edi, [esi + 0x3c2000]
mov eax, dword [edi]
or eax, eax
je 0x7df30f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e6b08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e6cc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7df2c4
mov ecx, edi
jns 0x7df2f3
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 + 0x3e6cc4]
or eax, eax
je 0x7df309
mov dword [ebx], eax
add ebx, 4
jmp 0x7df2e1
call dword [esi + 0x3e6cd4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7df340
cmp al, 0xef
ja 0x7df333
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7df315
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7df322
mov ebp, dword [esi + 0x3e6cc8]
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 0x7df374
sub esp, 0xffffff80
jmp 0x5bf297
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x54f04fb2
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x17696917
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10003ef6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001bbf0]
jne 0x10003f00
repz ret
jmp fcn.1000507d

Function at 0x10004d12
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001bbf0]
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.10001296
and dword [ebp - 0x14], 0
cmp dword [0x1001c5fc], 0
mov dword [ebp - 0x18], eax
jne 0x10004dc5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004e6d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004e6d
mov esi, dword [0x1001bca0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001c5fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001c600], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001c604], eax
call edi
push eax
call esi
mov dword [0x1001c60c], eax
test eax, eax
je 0x10004dc5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001c608], eax
mov eax, dword [0x1001c608]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x1001bca4]
cmp eax, ecx
je 0x10004e1e
cmp dword [0x1001c60c], ecx
je 0x10004e1e
push eax
call esi
push dword [0x1001c60c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004e1e
test ebx, ebx
je 0x10004e1e
call edi
test eax, eax
je 0x10004e15
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10004e15
test byte [ebp - 8], 1
jne 0x10004e1e
or dword [ebp + 0x10], 0x200000
jmp 0x10004e51
mov eax, dword [0x1001c600]
cmp eax, dword [ebp - 0x18]
je 0x10004e51
push eax
call esi
test eax, eax
je 0x10004e51
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004e51
mov eax, dword [0x1001c604]
cmp eax, dword [ebp - 0x18]
je 0x10004e51
push eax
call esi
test eax, eax
je 0x10004e51
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001c5fc]
call esi
test eax, eax
je 0x10004e6d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004e6f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003ef6
leave
ret

Function at 0x10005502
Capabilities:
Encode data using xor

Disassembly:
test ecx, 0xffffffff
je 0x1000551f
push eax
mov al, byte [edx + 0x10006110]
xor byte [edi + esi], al
inc edx
and edx, 0xfff
inc edi
loop 0x1000550b
pop eax
ret
Function at 0x10005520
Capabilities:
Encode data using xor

Disassembly:
pushfd
push eax
push edx
mov edx, edi
and edx, 0xfff
mov eax, 4
sub eax, edi
and eax, 3
cmp eax, ecx
jb 0x1000553b
mov eax, ecx
sub ecx, eax
push ecx
mov ecx, eax
call fcn.10005502
pop ecx
mov eax, ecx
shr eax, 2
and ecx, 3
push ecx
mov ecx, eax
test ecx, 0xffffffff
je 0x10005570
mov eax, dword [edx + 0x10006110]
xor dword [edi + esi], eax
add edx, 4
and edx, 0xfff
add edi, 4
loop 0x10005559
pop ecx
call fcn.10005502
pop edx
pop eax
popfd
ret

Function at 0x438c91
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ecx
mov ebx, ebx
dec ebx
call fcn.00438cd1
sub esi, 0x7f1f7bed
xor dword [edi], ecx
sub esi, 0xda00041e
add edi, 1
add esi, ebx
inc ebx
and esi, ebx
cmp edi, edx
jne fcn.00438c91
sub ebx, ebx
sub ebx, ebx
sub ebx, ebx
ret
Function at 0x403e90
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed25
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x450040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x403fbf
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x404093
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004040c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40403e
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x403f0d
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004044a0
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.004041d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x403fde
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x403f3f
cmp dword [ebp - 0x14], 0xf
push edx
cmova eax, dword [ebp - 0x28]
push eax
call fcn.004045b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x403f73
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b2
push ecx
push edx
call fcn.0041cdc8
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 7
jbe 0x403fbf
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403fb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b2
push ecx
push edx
call fcn.0041cdc8
add esp, 8
mov al, 1
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.0041cb34
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x19
push 0x449168
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
call fcn.004045b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40402a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404020
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b2
push ecx
push edx
call fcn.0041cdc8
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x404056
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push 0x449154
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
call fcn.004045b0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40408c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040b2
push ecx
push edx
call fcn.0041cdc8
add esp, 8
xor al, al
jmp 0x403fc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x16
push 0x449184
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
call fcn.004045b0
xor al, al
jmp 0x403fc1
call fcn.004217fa
int3
Function at 0x4040c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ecee
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x450040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
test eax, eax
je 0x4041b2
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push 0
push 0
push 0x16
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4041b2
mov eax, dword [ebp - 0x10]
lea eax, [eax*2 + 2]
push eax
call fcn.0042184b
mov edi, eax
add esp, 4
test edi, edi
je 0x4041b2
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0x16
push dword [ebp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4041a9
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [edi + eax*2], cx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404191
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004044a0
push edi
call fcn.004214c3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4041d0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed6e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x450040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test eax, eax
je 0x40439a
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x40439a
mov edx, dword [edi + 0x10]
test edx, edx
jne 0x4042db
mov ecx, dword [edi + 0x14]
cmp ecx, eax
je 0x4042db
jae 0x404288
mov byte [ebp - 0x24], dl
mov ecx, edi
push dword [ebp - 0x24]
push eax
call fcn.004046e0
mov dword [edi + 0x10], 0
jmp 0x4042d8
cmp eax, 0xf
ja 0x4042db
cmp ecx, 0xf
jbe 0x4042db
mov esi, dword [edi]
lea eax, [edx + 1]
push eax
push esi
push edi
call fcn.0041e1c0
mov ecx, dword [edi + 0x14]
add esp, 0xc
inc ecx
cmp ecx, 0x1000
jb 0x4042c4
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4043af
mov esi, edx
push ecx
push esi
call fcn.0041cdc8
mov esi, dword [ebp - 0x18]
add esp, 8
mov dword [edi + 0x14], 0xf
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x40439a
inc eax
push eax
call fcn.0042184b
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x404376
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40436d
mov eax, dword [ebp - 0x14]
xor esi, esi
mov byte [eax + ecx], 0
cmp dword [ebp - 0x14], esi
jbe 0x40436d
mov al, byte [ecx + esi]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x1c], al
cmp ecx, edx
jae 0x404351
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x404344
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404364
push dword [ebp - 0x1c]
mov byte [ebp - 0x28], 0
mov ecx, edi
push dword [ebp - 0x28]
push 1
call fcn.00404800
mov ecx, dword [ebp - 0x18]
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x404325
push ecx
call fcn.004214c3
add esp, 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov esi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x404261
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 8
call fcn.004217fa
int3
Function at 0x406e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x406fc3
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x14], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 8], eax
mov esi, edx
jbe 0x406e89
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x406eb4
mov ecx, eax
nop word [eax + eax]
movzx eax, byte [ebx + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x406ea0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040ba00
push 0x38
push edi
call fcn.0041cdc8
mov edi, dword [ebp - 4]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x406f1d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x406ed0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x406fb8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x406f2f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x406f32
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x406fb8
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
jbe 0x406f4c
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x406f74
mov edi, eax
nop
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x406f60
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040ba00
push 0x38
push edi
call fcn.0041cdc8
mov edi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x406fc9
cmp esi, eax
jne 0x406f88
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x406f40
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x407da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f1d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x450040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edx, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x407dd5
mov edx, dword [ebx]
mov edi, dword [ebx + 0x10]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x407df4
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x407de3
push esi
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0040aa80
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x407e23
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [0x4525ac], 0x7ffffff
je 0x407f8b
mov dword [ebp - 0x20], 0x4525a8
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x1c], 0
call fcn.0041cb47
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
lea ecx, [edi + 8]
push ebx
call fcn.00402bf0
mov dword [ebp - 4], 1
mov ecx, dword [0x4525ac]
mov ebx, dword [0x4525c0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x44ac40]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x44ac40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4525a4]
comiss xmm1, xmm0
jbe 0x407f27
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.0043cdf0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0043e870
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x407f09
cmp ebx, 0x200
jae 0x407f07
shl ebx, 3
cmp ebx, ecx
jae 0x407f09
mov ebx, ecx
push ebx
call fcn.00409cd0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040aa80
mov ecx, dword [0x4525ac]
mov edx, dword [eax]
jmp 0x407f2a
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x4525ac], ecx
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x4525bc]
mov ecx, dword [0x4525b0]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x4525a8]
jne 0x407f5b
mov dword [ecx + eax*8], edi
jmp 0x407f6a
cmp esi, edx
jne 0x407f64
mov dword [ecx + eax*8], edi
jmp 0x407f6e
cmp dword [ecx + eax*8 + 4], ebx
jne 0x407f6e
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.0041948a
int3