joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
push edi
mov edi, edx
test ebx, ebx
je 0x419bcb
cmp dword [0x58bf34], 0
jne 0x419bb8
push 0x4c
call fcn.00469ca4
add esp, 4
mov ecx, eax
call fcn.0041d180
mov esi, eax
mov edx, 0x58bf34
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x419bb8
test esi, esi
je 0x419bb8
lea ecx, [esi + 0x34]
call fcn.00402090
push esi
call fcn.0048ac22
add esp, 4
mov eax, dword [0x58bf34]
cmp dword [eax], 1
jl 0x419bcb
mov dword [ebp - 4], 0x10000
jmp 0x419bcd
xor ebx, ebx
push 0xc
call fcn.00469ca4
add esp, 4
mov esi, eax
push 0
push dword [ebp - 4]
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
push esi
push 0x419aa0
setne cl
push ebx
mov byte [esi + 4], cl
mov ecx, dword [ebp + 0xc]
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x419c16
push esi
call fcn.0048ac22
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x419c25
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b3f0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movsd xmm0, qword [0x58bd00]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lahf
test ah, 0x44
jp 0x41b52f
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [ebp - 4], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x58bf20]
test cl, 1
jne 0x41b457
rdtsc
or ecx, 1
mov dword [0x58bf18], eax
mov dword [0x58bf20], ecx
mov dword [0x58bf1c], edx
test cl, 2
jne 0x41b487
lea eax, [ebp - 0x10]
or ecx, 2
xorps xmm0, xmm0
mov dword [0x58bf20], ecx
push eax
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
mov dword [0x58bf28], eax
mov eax, dword [ebp - 0xc]
mov dword [0x58bf2c], eax
rdtsc
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [ebp - 4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x58bf28]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x58bf2c]
call fcn.004d50b0
mov edx, dword [ebp - 0x14]
movaps xmm1, xmm0
mov ecx, dword [ebp - 0x18]
movsd qword [ebp - 0x10], xmm1
call fcn.004d50f0
movsd xmm2, qword [ebp - 0x10]
divsd xmm2, xmm0
movsd xmm1, qword [0x568e60]
comisd xmm1, xmm2
movsd qword [ebp - 0x10], xmm2
jbe 0x41b50d
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub edi, dword [0x58bf18]
mov ecx, edi
sbb ebx, dword [0x58bf1c]
mov edx, ebx
call fcn.004d50b0
divsd xmm0, qword [ebp - 0x10]
movsd qword [0x58bd00], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
test ebx, ebx
je 0x41e677
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x41e672
mov eax, dword [ebx]
jmp 0x41e674
mov eax, ebx
mov byte [eax], 0
call fcn.004130c0
test al, al
je 0x41e689
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00411240
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x41e680
push 0x10000
call fcn.0046a114
add esp, 4
mov dword [ebp - 8], 0
mov esi, eax
push edi
push 0x10000
push 1
push esi
call fcn.004b5e85
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41e716
mov eax, dword [ebp + 8]
nop dword [eax]
test ebx, ebx
je 0x41e6ec
mov ecx, eax
mov eax, edi
sub ecx, dword [ebp - 8]
cmp ecx, edi
cmovb eax, ecx
mov ecx, ebx
push eax
push esi
call fcn.004031b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
sub eax, ecx
cmp eax, edi
jb 0x41e72c
push dword [ebp - 0xc]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp - 8], ecx
call fcn.004b5e85
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 8]
test edi, edi
jne 0x41e6d0
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004b5a07
add esp, 4
test eax, eax
jne 0x41e72f
mov byte [ebp - 1], 1
jmp 0x41e733
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
push ebx
call fcn.004b5aa8
add esp, 4
test esi, esi
je 0x41e749
push esi
call fcn.00469c9f
add esp, 4
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420170
Capabilities:
Get thread local storage value

Disassembly:
push edi
mov edi, ecx
call fcn.004204b0
mov eax, dword [0x576d9c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
jne 0x420191
call fcn.00428ba0
mov edx, eax
mov eax, dword [0x58bd70]
cmp dword [edx + eax*4], 0
jne 0x4201d2
push 0x70
call fcn.00469ca4
add esp, 4
mov ecx, eax
push edi
call fcn.0041ff60
mov ecx, dword [0x576d9c]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x4201ca
call fcn.00428ba0
mov ecx, eax
mov eax, dword [0x58bd70]
mov dword [ecx + eax*4], edi
pop edi
ret
Function at 0x4201e0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x58bd6c]
push ebx
push esi
push edi
test eax, eax
jne 0x4201f0
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x576d9c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x420209
call fcn.00428ba0
mov ecx, eax
mov eax, dword [0x58bd70]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x420299
mov ecx, 0x58bd30
xor edi, edi
xor ebx, ebx
call fcn.0041b540
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x58bd54]
test ecx, ecx
je 0x420249
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x58bd54], eax
mov dword [ecx + 4], ebx
jmp 0x420256
mov ebx, dword [0x58bd74]
inc ebx
mov dword [0x58bd74], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x420275
push 0x70
call fcn.00469ca4
add esp, 4
mov ecx, eax
push ebx
call fcn.00420010
mov edi, eax
mov ecx, dword [0x576d9c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x42028f
call fcn.00428ba0
mov ecx, eax
mov eax, dword [0x58bd70]
mov dword [ecx + eax*4], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4255c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x4255d2
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x4255e9
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push ebx
call fcn.004af5fa
mov esi, eax
add esp, 8
test esi, esi
je 0x4256a3
push esi
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42569a
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.VarFileInfoTranslation
push esi
call ebx
test eax, eax
je 0x42569a
cmp dword [ebp - 4], 0
je 0x42569a
push 0x10
call fcn.00469ca4
mov ecx, dword [ebp - 4]
mov edi, eax
add esp, 4
movzx edx, word [ecx + 2]
movzx ecx, word [ecx]
mov dword [edi], 0x564b8c
mov dword [edi + 4], 0
mov word [edi + 8], cx
mov word [edi + 0xa], dx
mov eax, dword [edi + 4]
mov dword [edi + 4], esi
test eax, eax
je 0x425678
push eax
call fcn.004b2c40
add esp, 4
lea ecx, [ebp - 0x10]
mov dword [edi + 0xc], 0
push ecx
lea eax, [edi + 0xc]
push eax
push 0x5641cc
push dword [edi + 4]
call ebx
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004b2c40
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425de0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x228], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x18], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x16], ax
call esi
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x12], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x10], ax
mov eax, 0x4e4
mov word [ebp - 0xe], ax
call esi
mov word [ebp - 0xc], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 0xa], ax
nop word [eax + eax]
movzx eax, word [ebp + esi*2 - 0x16]
movzx ecx, word [ebp + esi*2 - 0x18]
add esi, 2
push ebx
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.00425440
add esp, 0x1c
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x425eb4
mov edx, dword [ebp - 0x224]
test edx, edx
jne 0x425ece
cmp esi, 8
jb 0x425e50
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x425ef8
mov ecx, dword [ebp - 0x228]
xor eax, eax
push eax
push edx
call fcn.004077d0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425f00
mov ecx, dword [ebp - 0x228]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.004077d0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 8

Function at 0x425f40
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
nop
push 0x22c
push 0
push edi
call fcn.004ac860
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x425f78
mov byte [esi + 8], 1
call ebx
jmp 0x425f7e
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x425f9a
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x425f50
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x426930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp], 0
call fcn.004279b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov ecx, eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
call fcn.004328d0
lea ecx, [esp + 0x18]
call fcn.004329b0
mov esp, ebp
pop ebp
ret

Function at 0x428930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push ecx
push ecx
xor ebx, ebx
mov byte [ebp - 0x266], 1
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x26c], ebx
call fcn.00426090
lea ecx, [ebp - 0x264]
call fcn.00425f40
test eax, eax
je 0x428a84
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [eax + eax]
push dword [eax + 8]
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov byte [ebp - 0x270], 0
push esi
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0
call fcn.00411740
call edi
cmp esi, eax
jne 0x4289c3
cmp byte [0x58bd78], 0
jne 0x428ac3
int3
test bl, 1
je 0x4289d6
lea ecx, [ebp - 0x324]
and ebx, 0xfffffffe
call fcn.0040f4c0
test bl, 2
je 0x4289e9
lea ecx, [ebp - 0x324]
and ebx, 0xfffffffd
call fcn.0040f4c0
cmp byte [ebp - 0x270], 0
je 0x4289f6
call edi
jmp 0x4289fc
mov eax, dword [ebp - 0x26c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
mov byte [ebp - 0x265], al
test al, al
je 0x428a47
cmp byte [ebp - 0x270], 0
je 0x428a21
call edi
jmp 0x428a27
mov eax, dword [ebp - 0x26c]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x428a5a
test bl, 4
je 0x428a5a
and ebx, 0xfffffffb
lea ecx, [ebp - 0x3dc]
jmp 0x428a55
test bl, 8
je 0x428a60
and ebx, 0xfffffff7
lea ecx, [ebp - 0x494]
call fcn.0040fb10
mov al, byte [ebp - 0x265]
and byte [ebp - 0x266], al
lea ecx, [ebp - 0x26c]
call fcn.004116d0
lea ecx, [ebp - 0x264]
call fcn.00425f40
test eax, eax
jne 0x428980
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x264], 0x564c14
call fcn.00401fe0
push dword [ebp - 0x260]
mov dword [ebp - 0x264], 0x5652b0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x266]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b50b4
int3
Function at 0x428ba0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x576d9c]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x428c40
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x428bed
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x428c1e
cmp byte [0x58bd78], 0
jne 0x428cb7
int3
mov ecx, ebx
mov edx, 0x576d9c
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x428c40
push ebx
call esi
mov ebx, dword [0x576d9c]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x428c55
cmp byte [0x58bd78], 0
jne 0x428cc5
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004ac860
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.0046a114
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b50b4
push 1
call fcn.004b50b4
push 1
call fcn.004b50b4
int3

Function at 0x428cd0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x57506c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x576d9c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00469c9f
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x58bdd0]
xor dl, dl
test esi, esi
jle 0x428d68
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x428d63
mov eax, dword [esi*4 + 0x58b4f8]
test eax, eax
je 0x428d63
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x428d40
dec edi
test edi, edi
jle 0x428d71
test dl, dl
jne 0x428d30
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
Function at 0x428da0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x576d9c]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x428dc5
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x428dca
call fcn.00428ba0
mov eax, 1
mov ecx, 0x58bdd0
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x428ded
cmp byte [0x58bd78], 0
jne 0x428e06
int3
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x58b4f8], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.004b50b4
int3

Function at 0x429e80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x429e9b
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
call fcn.00433500
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.00433620
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.00429de0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret

Function at 0x42c770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x42c7de
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x564e70]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x564e70]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x564e70]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x564e70]
sub ebx, 1
jne 0x42c787
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d400
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push edx
xor ebx, ebx
push ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42d495
cmp dword [0x58bc40], 3
jg 0x42d487
push 1
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 3
call fcn.00404d90
mov dword [esp + 0xac], str.d:codes3rd_party_base_threading_thread_local_win.cc
mov dword [esp + 0xb0], 0x23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.d:codes3rd_party_base_threading_thread_local_win.cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], eax
call fcn.0040f670
lea eax, [esp + 0x10]
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00403aa0
add esp, 8
mov ebx, 1
test bl, 1
je 0x42d495
lea ecx, [esp + 8]
call fcn.0040f4c0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d610
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 4], 0x565514
mov dword [edi], 0x56550c
mov dword [edi + 4], 0x56552c
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x240]
mov dword [edi + 0x14], eax
call fcn.004279b0
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], edi
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x42d683
cmp dword [eax], edi
je 0x42d67f
add eax, 4
cmp eax, edx
jne 0x42d674
cmp eax, edx
jne 0x42d68c
lea eax, [ebp + 8]
push eax
call fcn.00428330
call fcn.00431880
push dword [eax]
call esi
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x42d6aa
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov eax, dword [0x58bef0]
test eax, eax
jne 0x42d6b8
call fcn.00437fd0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
push str.ThreadLocalEventBuffer
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.00437800
test esi, esi
je 0x42d6f8
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
sub eax, 1
jne 0x42d6f8
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x204]
call fcn.004308e0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
lea esi, [ebx + 4]
mov dword [esi], 0x56552c
push edi
mov dword [ebx], 0x56550c
call fcn.004279b0
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call edi
push ebx
lea ecx, [eax + 0x54]
call fcn.00428080
mov eax, dword [0x58bef0]
test eax, eax
jne 0x42d7ab
call fcn.00437fd0
push ecx
push esi
mov ecx, eax
call fcn.004378c0
mov esi, dword [ebx + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xc], 0
je 0x42d7f2
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x240]
cmp dword [ebx + 0x14], eax
jne 0x42d7f2
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebx + 0xc]
push ecx
mov edx, esp
mov dword [ebx + 0xc], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [ebx + 0x10]
call dword [eax + 8]
call fcn.004279b0
push dword [eax]
call edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov eax, dword [ebx + 8]
push ecx
add eax, 0x204
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004300b0
mov edi, dword [esp + 0x18]
mov eax, edi
mov edx, dword [esp + 0x1c]
cmp edi, edx
je 0x42d836
nop word [eax + eax]
mov eax, dword [eax]
cmp eax, edx
jne 0x42d830
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push eax
call fcn.00430180
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 8]
xor edx, edx
mov ecx, dword [ecx + 0x1f8]
call fcn.0042d400
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x42d87b
mov ecx, esi
call fcn.00435ca0
push esi
call fcn.0048ac22
add esp, 4
pop edi
pop esi
mov dword [ebx], method.std::_Facet_base.virtual_4
mov dword [ebx + 4], 0x565514
pop ebx
mov esp, ebp
pop ebp
ret