joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c750
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443560
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4720c8]
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 esi, ecx
cmp dword [esi], 0
je 0x40c8b8
push dword [ebp + 0x10]
call fcn.0040cb50
test al, al
je 0x40c8b8
push 0xb0
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x14], 0
push 0
push eax
call fcn.00426340
add esp, 0xc
lea ecx, [ebp - 0x4c4]
push 1
push 0x40
push 0x28
push dword [ebp + 8]
call fcn.0040a770
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4b8], 6
jne 0x40c8a7
cmp dword [ebp - 0x474], 0
je 0x40c8a7
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x14]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [esi]
call edi
test eax, eax
je 0x40c84e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40c84e
push 0
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00411880
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [esi]
call edi
test eax, eax
jne 0x40c813
lea ecx, [ebp - 0x4c0]
call fcn.0040fb50
test eax, eax
jne 0x40c896
mov eax, dword [ebp - 0x4c4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ebp + ecx - 0x48c], edx
cmovne eax, edx
or eax, dword [ebp + ecx - 0x4b8]
and eax, 0x15
or eax, 2
mov dword [ebp + ecx - 0x4b8], eax
mov ecx, dword [ebp + ecx - 0x4b4]
and ecx, eax
jne 0x40c8d8
lea ecx, [ebp - 0x4c4]
mov bl, 1
call fcn.0040c200
mov al, bl
jmp 0x40c8ba
lea ecx, [ebp - 0x4c4]
xor bl, bl
call fcn.0040c200
mov al, bl
jmp 0x40c8ba
xor al, al
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.00424555
mov esp, ebp
pop ebp
ret 0xc
test cl, 4
je 0x40c8e4
mov esi, str.ios_base::badbit_set
jmp 0x40c8f4
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x4cc]
push 1
push eax
call fcn.00410500
add esp, 8
lea ecx, [ebp - 0x4e0]
push eax
push esi
call fcn.0040af60
push 0x46f2a8
lea eax, [ebp - 0x4e0]
push eax
call fcn.00425994
int3
Function at 0x40c930
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4435ca
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4720c8]
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, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b4], 0
cmp dword [edi], 0
mov dword [ebp - 0x2b0], esi
je 0x40cb0c
push 0
call fcn.0040cb50
test al, al
je 0x40cb0c
push 0x98
lea eax, [ebp - 0xac]
mov dword [ebp - 0x14], 0
push 0
push eax
call fcn.00426340
add esp, 0xc
mov dword [ebp - 0xac], 0x447ab4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2b4], 2
mov dword [ebp - 0x5c], 0x447a34
mov dword [ebp - 0x60], 0x48
call fcn.00410370
mov eax, dword [ebp - 0xac]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xac], 0x447ab0
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xb0], eax
mov dword [ebp - 0xa8], 0x447a38
call fcn.00424512
add esp, 4
mov dword [ebp - 0x2b0], eax
test eax, eax
je 0x40ca69
xorps xmm0, xmm0
movq qword [eax], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.00422971
mov ecx, dword [ebp - 0x2b0]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x40ca6b
xor ecx, ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0xa8]
call fcn.0040d360
mov dword [ebp - 0xa8], 0x447a74
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push eax
push 0x200
lea eax, [ebp - 0x2ac]
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40caf3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40caf3
push 0
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0xac]
call fcn.00411880
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x200
lea eax, [ebp - 0x2ac]
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40cab4
push esi
lea ecx, [ebp - 0xa8]
call fcn.00411200
lea ecx, [ebp - 0xac]
call fcn.0040c290
jmp 0x40cb2e
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x4452ad
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004011d0
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.00424555
mov esp, ebp
pop ebp
ret 4
Function at 0x40ce90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4720c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40cf4c
cmp byte [esi + 0x3d], 0
je 0x40cf4c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40cf3a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40cf02
sub eax, 1
je 0x40cf06
sub eax, 2
jne 0x40cf3a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424555
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40cf23
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0042a92b
add esp, 0x10
cmp edi, eax
jne 0x40cf3a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424555
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424555
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00424555
mov esp, ebp
pop ebp
ret
Function at 0x410370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44370d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4720c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00424512
mov edi, eax
add esp, 4
test edi, edi
je 0x410414
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00422971
add esp, 4
mov dword [edi + 4], eax
jmp 0x410416
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00409b40
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x10]
mov bl, al
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x410470
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x410470
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x41048c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4104af
cmp byte [ebp + 0xc], 0
je 0x41049b
push esi
call fcn.00422e79
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 8
test cl, 4
je 0x4104bb
mov esi, str.ios_base::badbit_set
jmp 0x4104cb
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00410500
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0040af60
push 0x46f2a8
lea eax, [ebp - 0x28]
push eax
call fcn.00425994
int3
Function at 0x412210
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4720c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov byte [esi], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
call fcn.00413970
cmp byte [esi], 0
jne 0x412323
xor edx, edx
lea ecx, [esi + 0x46]
nop dword [eax]
movzx eax, byte [ecx - 2]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 5]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x412270
mov edx, dword [esi + 0x44]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
push edi
cmovae eax, ecx
mov ecx, esi
push eax
push 0x472008
call fcn.00413970
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00413970
lea edx, [esi + 0x5e]
mov edi, 4
lea eax, [esi + 0x4e]
nop
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [edx - 2], cl
lea edx, [edx + 4]
movzx ecx, byte [eax - 5]
mov byte [edx - 5], cl
movzx ecx, byte [eax - 4]
mov byte [edx - 4], cl
movzx ecx, byte [eax - 3]
mov byte [edx - 3], cl
sub edi, 1
jne 0x4122e0
pop edi
push 0x40
lea ecx, [esi + 1]
push 0
push ecx
call fcn.00426340
xorps xmm0, xmm0
add esp, 0xc
movq qword [esi + 0x44], xmm0
mov byte [esi], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00424555
mov esp, ebp
pop ebp
ret 8
Function at 0x4194e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443e03
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4720c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x18], 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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
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
mov byte [ebp - 4], 2
je 0x4195df
test cl, 0x10
jne 0x4195df
mov al, 1
jmp 0x4195e1
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 0x419605
lea ecx, [esi*8]
mov dword [edx + 4], ecx
jmp 0x41963a
jbe 0x41963a
mov eax, dword [edx + 8]
sar eax, 3
cmp esi, eax
jbe 0x41961f
lea eax, [ebp - 0xd]
mov ecx, edx
push eax
push esi
call fcn.004184b0
jmp 0x41963a
sub esi, ecx
je 0x419637
shl esi, 3
push esi
push 0
push ebx
call fcn.00426340
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 0x41b380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1398
call fcn.00424a20
mov eax, dword [0x4720c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.004231b6
mov dword [ebp - 0x1398], eax
mov ebx, edx
lea eax, [ebp - 0x1394]
push eax
call fcn.00421e90
add esp, 4
mov edi, dword [eax]
mov esi, dword [eax + 4]
call fcn.00423f46
push 0
push 0x3e8
push esi
push edi
mov dword [ebp - 0x1390], eax
call fcn.00424850
push 0
push 0x989680
push ebx
push dword [ebp - 0x1398]
mov esi, eax
call fcn.00424850
mov edx, dword [ebp - 0x1390]
add esi, eax
pop edi
xor edx, esi
mov dword [ebp - 8], 0xffffffff
pop esi
mov dword [ebp - 0x1388], edx
mov eax, 1
pop ebx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [ebp + eax*4 - 0x1388], edx
inc eax
cmp eax, 0x270
jb 0x41b408
lea eax, [ebp - 0x138c]
mov dword [ebp - 0x138c], 0x270
lea ecx, [ebp - 0x1390]
mov dword [ebp - 0x1390], eax
call fcn.0041e9d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424555
mov esp, ebp
pop ebp
ret
Function at 0x41e860
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
ja 0x41e9ba
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
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.0041cd50
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 0x41e98d
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 0x41e913
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x41e983
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x41e94d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x41e945
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 0x41e980
cmp edi, edx
je 0x41e95d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x41e996
cmp edi, edx
jne 0x41e951
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 0x41e8c2
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 0x41e980
push str.invalid_hash_bucket_count
call fcn.0042273e
int3
Function at 0x41e9d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x41ea2d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41e9f0
mov eax, dword [esi]
jmp 0x41eb07
cmp eax, 0x4e0
jb 0x41eb07
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x41ea46
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x41ea90
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.00415250
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x42076e
add eax, 0xc
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0042275e
int3

Function at 0x4218a0
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 0x4218d1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4218c0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x423201
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004231dd
pop esi
leave
ret 8

Function at 0x4255d9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425618
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425618
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425618
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425618
cmp dword [ecx + 0x74], 0xe
jbe 0x425618
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4363e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00436256

Function at 0x442c60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x442c8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442c8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4038b0
Capabilities:
Compare security identifiers
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x42a01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x6b
cmp eax, 0x195
jl 0x4038ce
call 0xe844a31e
and al, byte cs:[eax]
add byte [ebx - 0x3f7afb3c], al
push 4
call fcn.00405b03
add esp, 4
test eax, eax
je 0x4038e4
mov dword [eax], 0x401f40
jmp 0x4038e6
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push 0x401500
push 0
push 0
call fcn.0040a7b3
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x403971
cmp dword [ebp - 0x30], 0
je 0x40397f
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
je 0x403986
push 0
push ecx
push dword [ebp - 0x34]
call fcn.00403b5a
add esp, 0xc
test eax, eax
jne 0x40398d
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x28], xmm0
push eax
movlpd qword [ebp - 0x34], xmm0
movq xmm0, qword [str.UIZhbiuAHujws]
mov byte [ebp - 0x28], al
push eax
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
cmp dword [ebp - 0x30], 0
pop esi
jne 0x403994
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00405b41
mov esp, ebp
pop ebp
ret 0x10
push 6
mov dword [ebp - 0x30], 0
call fcn.00403c9a
push 1
call fcn.00403c9a
push 5
call fcn.00403c9a
push 2
call fcn.00403c9a
call fcn.0040a61b
int3

Function at 0x40676a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4067a9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4067a9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4067a9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4067a9
cmp dword [ecx + 0x74], 0xe
jbe 0x4067a9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x410aba
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4204fc
push 0x4204f4
push str.FlsAlloc
push 0x1e
call fcn.00410963
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410aee
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d158]
call esi
jmp 0x410af4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410b38
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42050c
push 0x420504
push str.FlsGetValue
push 0x20
call fcn.00410963
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410b6f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4127b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412452

Function at 0x4127bb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004125e1