joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537b00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x649600]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x537b52
mov eax, dword [0x6495fc]
mov esi, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x649600
call fcn.00562fa8
add esp, 4
cmp dword [0x649600], 0xffffffff
jne 0x537b33
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.005679e0
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.00562f65
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x649648]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x537bfb
mov ecx, esi
push ebx
push 0x649624
push edi
call fcn.0040cb30
mov dword [0x6495fc], esi
push 0x649600
call fcn.00562ff7
add esp, 4
jmp 0x537b33
push 0x649648
call fcn.00562fa8
add esp, 4
cmp dword [0x649648], 0xffffffff
jne 0x537bd5
xorps xmm0, xmm0
movups xmmword [0x649634], xmm0
movups xmmword [0x649624], xmm0
mov dword [0x649644], 0
push 0x649624
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x649648
call fcn.00562ff7
add esp, 4
jmp 0x537bd5
Function at 0x538ad0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x649600]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x538b21
mov eax, dword [0x6495fc]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x649600
call fcn.00562fa8
add esp, 4
cmp dword [0x649600], 0xffffffff
jne 0x538b03
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.005679e0
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.00562f65
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x649648]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x538bca
mov ecx, esi
push ebx
push 0x649624
push edi
call fcn.0040cb30
mov dword [0x6495fc], esi
push 0x649600
call fcn.00562ff7
add esp, 4
jmp 0x538b03
push 0x649648
call fcn.00562fa8
add esp, 4
cmp dword [0x649648], 0xffffffff
jne 0x538ba4
xorps xmm0, xmm0
movups xmmword [0x649634], xmm0
movups xmmword [0x649624], xmm0
mov dword [0x649644], 0
push 0x649624
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x649648
call fcn.00562ff7
add esp, 4
jmp 0x538ba4
Function at 0x538c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x4f14b0
mov edx, dword fs:[0]
mov dword [ecx], edx
mov dword fs:[0], ecx
mov dword [esi + 0x18], eax
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x10], ecx
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x1002
mov dword [esi + 0xc], eax
mov dword [esi + 8], 6
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm0
xorps xmm0, xmm0
movsd qword [esi + 0x40], xmm0
mov eax, dword [0x648e40]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x538ccb
mov eax, dword [0x648e3c]
mov dword [esi + 0x1c], eax
cmp eax, 0x648d98
jne 0x538d8a
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x648e40
call fcn.00562fa8
add esp, 4
cmp dword [0x648e40], 0xffffffff
jne 0x538ca5
mov eax, dword [0x648e38]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x538d32
mov eax, dword [0x648e34]
mov dword [0x648e3c], eax
cmp eax, 0x648d98
jne 0x538d93
push fcn.00592870
call fcn.00564c05
add esp, 4
push 0x648e40
call fcn.00562ff7
add esp, 4
jmp 0x538ca5
push 0x648e38
call fcn.00562fa8
add esp, 4
cmp dword [0x648e38], 0xffffffff
jne 0x538cfe
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
mov ecx, 0x648d98
push 1
call fcn.00409690
mov dword [0x648e34], 0x648d98
push fcn.00592870
call fcn.00564c05
add esp, 4
push 0x648e38
call fcn.00562ff7
add esp, 4
mov esi, dword [ebp - 0x20]
jmp 0x538cfe
lock inc dword [eax + 4]
jmp 0x538cb8
lock inc dword [eax + 4]
jmp 0x538d13
Function at 0x544c20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x448], eax
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x240]
push 0x1f9
push str.file_util_win.cc
push 0x62e3e6
push ebx
call fcn.0050b5e0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.005224f0
mov dword [esp + 0x30], 0xa
mov al, byte [0x649456]
test al, al
jne 0x544db8
push 0x208
push 0xff
mov esi, ebx
push ebx
call fcn.005679e0
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x544cb2
mov eax, dword [edi]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
movzx edx, word [eax + ecx*2]
mov word [esp + ecx*2 + 0x240], dx
test dx, dx
je 0x544cdb
inc ecx
cmp ecx, 0x104
jne 0x544cb7
mov word [esp + 0x446], 0
push esi
call fcn.005017e0
add esp, 4
lea esi, [esp + 0x38]
push 0x208
push 0xff
push esi
call fcn.005679e0
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x544d05
mov eax, dword [ebx]
xor ecx, ecx
movzx edx, word [eax + ecx*2]
mov word [esp + ecx*2 + 0x38], dx
test dx, dx
je 0x544d28
inc ecx
cmp ecx, 0x104
jne 0x544d07
mov word [esp + 0x23e], 0
push esi
call fcn.005017e0
add esp, 4
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x544d3b
mov eax, dword [edi]
cmp byte [ebx + 0xb], 0
mov ecx, ebx
jns 0x544d45
mov ecx, dword [ebx]
sub esp, 0x18
movsd xmm0, qword [0x62e380]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x544d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [ebx + 0xb], 0
jns 0x544d76
mov ebx, dword [ebx]
cmp byte [edi + 0xb], 0
jns 0x544d7e
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
cmp dword [ebp + 0x10], 0
je 0x544d99
test eax, eax
jne 0x544d99
jmp 0x544dde
mov bl, 1
mov ecx, esp
call fcn.005403a0
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.00566245
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, al
lea eax, [esp + 0x38]
mov dword [eax], ebx
lea esi, [esp + 0x34]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x30]
push eax
push esi
call fcn.005b5f10
add esp, 8
jmp 0x544c93
push esi
call fcn.00407710
add esp, 4
cmp eax, 0xfffffffc
jne 0x544df1
call fcn.005b5900
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor ebx, ebx
jmp 0x544d99
Function at 0x544e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x544f88
mov esi, dword [ecx + 4]
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx + 0x74], 0
je 0x544f88
add ecx, esi
xor eax, eax
cmp word [ecx + 0x14], 0x68
jb 0x544f80
add ecx, 0x78
je 0x544f80
mov ecx, dword [ecx]
test ecx, ecx
je 0x544f88
add ecx, esi
je 0x544f88
cmp edx, 0xffff
jbe 0x544f78
mov eax, dword [ecx + 0x20]
lea edi, [esi + eax]
test eax, eax
cmove edi, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x18]
lea eax, [edi + eax*4]
lea ecx, [edx + 1]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x544f23
xor ecx, ecx
lea ebx, [edi + ebx*2]
movzx edx, cl
mov dword [ebp - 0x24], edx
movzx edx, byte [esi]
cmp dword [ebp - 0x24], edx
lea esi, [ebx + 4]
cmovg edi, esi
cmovs eax, ebx
cmp cl, dl
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
je 0x544f5e
cmp edi, eax
je 0x544f88
mov ebx, eax
sub ebx, edi
mov ecx, ebx
sar ecx, 2
shr ebx, 0x1f
add ebx, ecx
and ebx, 0xfffffffe
mov ecx, dword [edi + ebx*2]
add esi, ecx
test ecx, ecx
cmove esi, ecx
mov cl, byte [edx]
test cl, cl
je 0x544eff
mov edx, dword [ebp - 0x18]
nop dword [eax + eax]
cmp cl, byte [esi]
jne 0x544f01
inc esi
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x544f50
jmp 0x544eff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24]
add esi, eax
test eax, eax
cmove esi, eax
sub ebx, dword [ebp - 0x10]
sar ebx, 1
movzx edx, word [esi + ebx]
add dx, word [ecx + 0x10]
mov eax, dword [ebp + 8]
mov word [eax], dx
mov al, 1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x544f80

Function at 0x5450a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x5450af
pop ebp
jmp fcn.005450d0
cmp dword [ebp + 0x10], 0
jne 0x5450c9
xor eax, eax
push eax
push eax
push 0x4f3670
push 0x6566c8
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
pop ebp
ret
Function at 0x545640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jae 0x545762
movq xmm4, qword [0x625cd0]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x625d10]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x5456f9
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x5456d2
pmovzxdq xmm1, qword [0x625d10]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm2, xmm2
pxor xmm1, xmm1
pblendw xmm1, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm1, xmmword [0x625ce0], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x625cf0], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x625d00], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
movq xmm4, qword [0x625cb0]
movdqa xmm5, xmmword [0x625cc0]
nop word cs:[eax + eax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm1, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x545780
jmp 0x545674
Function at 0x546040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov dword [ebx], 0
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
cmp eax, 2
jb 0x546066
call fcn.005018d0
mov dword [esi], 0
test edi, edi
je 0x546097
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x5460dc
cmp dword [ebp - 0x20], 2
jb 0x54608e
mov dword [esi], edi
call fcn.005018d0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
cmp byte [ebx + 0xf], 0
jns 0x5460c9
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00543180
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [ebx + 0x18]
mov byte [esi + 0x18], al
mov al, byte [ebx + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebx + 4]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x5460ab
call fcn.005018d0
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x546118
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e19c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x546081
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x631a0d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x546154
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x54614e
call dword [0x63e19c]
call ecx
push 0
push eax
call fcn.0042a0c0
add esp, 8
jmp 0x5460ef
push 1
push 0
jmp 0x546144
xor eax, eax
push eax
jmp 0x546143
Function at 0x54d9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x54da18
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x54da22
lea eax, [ebx + 1]
cmp eax, 2
jb 0x54da11
mov dword [esi], ebx
call fcn.005018d0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005018d0
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x54da5b
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e19c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x54da02
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x631a0d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54da97
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x54da91
call dword [0x63e19c]
call ecx
push 0
push eax
call fcn.0042a0c0
add esp, 8
jmp 0x54da35
push 1
push 0
jmp 0x54da87
xor eax, eax
push eax
jmp 0x54da86
Function at 0x54fa30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x649600]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x54fa80
mov esi, dword [0x6495fc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x649600
call fcn.00562fa8
add esp, 4
cmp dword [0x649600], 0xffffffff
jne 0x54fa63
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.005679e0
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.00562f65
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x649648]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x54fb29
mov ecx, esi
push ebx
push 0x649624
push edi
call fcn.0040cb30
mov dword [0x6495fc], esi
push 0x649600
call fcn.00562ff7
add esp, 4
jmp 0x54fa63
push 0x649648
call fcn.00562fa8
add esp, 4
cmp dword [0x649648], 0xffffffff
jne 0x54fb03
xorps xmm0, xmm0
movups xmmword [0x649634], xmm0
movups xmmword [0x649624], xmm0
mov dword [0x649644], 0
push 0x649624
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x649648
call fcn.00562ff7
add esp, 4
jmp 0x54fb03
Function at 0x552190
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x200c
call fcn.00566670
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x6460b0]
cmp eax, 0xffffffff
jne 0x5521d9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
add esp, 0x200c
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x5521b4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x5521b4
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00567460
add esp, 0xc
mov ecx, dword [0x6460b0]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x2018], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x552226
push ebx
call fcn.0056477d
add esp, 4
mov edi, 0x101
lea esi, [ebp - 0x2010]
mov eax, dword [0x64a718]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x552366
mov ebx, dword [0x64a714]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5523bc
push 0x1000
push 0x649710
lea eax, [ebp - 0x1810]
push eax
call fcn.00567460
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push 0x800
push 0xff
push esi
call fcn.005679e0
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x1804]
mov edx, dword [ecx]
mov dword [ebp + eax*8 - 0x2010], edx
mov word [ebp + eax*8 - 0x200c], ax
inc eax
add ecx, 0x10
cmp eax, 0x100
jne 0x5522a2
mov ecx, esi
lea edx, [ebp - 0x1810]
push 1
push 0x10
call fcn.005523d0
add esp, 8
mov ebx, 4
xor eax, eax
movzx edx, word [ebp + ebx - 0x2010]
mov esi, dword [ebp + edx*8 - 0x810]
test esi, esi
jne 0x552311
add ebx, 8
cmp ebx, 0x804
jne 0x5522d9
dec edi
je 0x5523a7
test al, 1
lea esi, [ebp - 0x2010]
je 0x5521c9
jmp 0x552231
mov dword [ebp - 0x2014], eax
mov ecx, edx
shl ecx, 4
cmp dword [ebp + ecx - 0x1810], 0
je 0x5523b1
add ecx, ebp
add ecx, 0xffffe7f0
mov eax, dword [ebp + edx*8 - 0x80c]
cmp eax, dword [ecx + 8]
jne 0x5523b1
mov ecx, dword [ecx + 4]
test ecx, ecx
mov eax, dword [ebp - 0x2014]
je 0x5522ec
mov dword [ebp + edx*8 - 0x810], 0
call dword [0x63e19c]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x5522ec
push 0x64a718
call fcn.00562fa8
add esp, 4
cmp dword [0x64a718], 0xffffffff
jne 0x552252
push 4
call fcn.00562f65
add esp, 4
mov dword [eax], 0
mov dword [0x64a714], eax
push 0x64a718
call fcn.00562ff7
add esp, 4
jmp 0x552252
call fcn.00592520
jmp 0x5521c9
mov eax, dword [ebp - 0x2014]
jmp 0x5522ec
mov ecx, ebx
call fcn.0050aab0
jmp 0x552267
Function at 0x55f800
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x55f838
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x55f812
cmp edx, 2
je 0x55f86a
cmp edx, 3
je 0x55f861
cmp edx, 1
je 0x55f873
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x55f847

Function at 0x566025
Capabilities:
Parse pe header

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

Function at 0x575232
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x615990
push esi
call fcn.005839ff
pop ecx
pop ecx
test eax, eax
jne 0x575260
xor al, al
jmp 0x5752dd
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00574fc1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x57529a
push dword [ebp - 0x210]
call fcn.005551f0
xor al, al
jmp 0x5752db
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x5752a0
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x5752c0
push edx
call fcn.00575184
pop ecx
test al, al
je 0x57528b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x5752ce
mov bl, 1
push dword [ebp - 0x210]
call fcn.005551f0
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00566245
leave
ret

Function at 0x575a2a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x575a6d
call fcn.00574e98
mov dword [eax], 0xf
call fcn.00562f95
mov dword [eax], 0xd
call fcn.0057646e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566245
leave
ret
test eax, eax
jne 0x575a74
inc eax
jmp 0x575a61
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x575a5f
xor eax, eax
cmp ecx, 1
setne al
jmp 0x575a61