joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4307c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4e6418]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.0042b320
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x430918
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x4d7d7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x43094a
push 0x4d7dcc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430849
mov ecx, eax
call dword [0x4e097c]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test esi, esi
je 0x4308bb
mov dword [ebp - 0x30], ebx
cmp esi, 0x15555556
jae 0x430942
shl esi, 2
lea edi, [esi + esi*2]
push edi
call fcn.00456ffd
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
add ecx, edi
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov edi, eax
test edi, edi
je 0x430933
mov ecx, edi
mov eax, dword [ebp - 0x24]
push dword [eax + ebx]
call fcn.0048c410
add edi, 0xc
add ebx, 4
cmp esi, ebx
jne 0x430896
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00430540
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4308e4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x430918
cmp edi, esi
je 0x43090f
add edi, 0xfffffff4
test edi, edi
je 0x43092c
cmp byte [edi + 0xb], 0
jns 0x430906
push dword [edi]
call fcn.0045702d
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x4308f2
push esi
call fcn.0045702d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x430938
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x4d143c
call fcn.0048e9c0
lea ecx, [ebp - 0x20]
call fcn.0048e190
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x430846
Function at 0x432dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x432e15
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x432dff
cmp dword [ebp - 0x18], 4
jne 0x432dff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
jmp 0x432dff

Function at 0x432e40
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0045dd50
mov esi, ecx
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.00460af0
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x432eb9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x432ed3
mov ecx, esi
push ebx
call fcn.00429e50
xor edi, edi
jmp 0x432ea0
mov edi, 0x3f4
cmp eax, 2
jne 0x432ea0
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x432ea0
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x432eca
Function at 0x433d40
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + 0xb]
test bl, bl
jns 0x433d59
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov eax, ebx
mov dword [ebp - 0x14], edx
mov esi, ebx
cmp ebx, 4
mov dword [ebp - 0x28], ebx
jb 0x433d95
mov esi, ebx
mov edx, dword [ebp - 0x14]
mov eax, ebx
imul edi, dword [edx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add edx, 4
add esi, 0xfffffffc
cmp esi, 3
ja 0x433d6f
test esi, esi
jne 0x433e78
mov esi, dword [ecx + 4]
xor ebx, ebx
test esi, esi
je 0x433e69
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov eax, esi
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
jbe 0x433f01
mov edx, edi
cmp edi, esi
jb 0x433e0c
mov eax, edi
xor edx, edx
div esi
mov eax, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x433efa
mov ebx, dword [eax]
test ebx, ebx
je 0x433efa
lea eax, [esi - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x433ed6
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, dword [ebx + 0xc]
mov edx, eax
cmovs edx, ecx
cmp edx, dword [ebp - 0x28]
jne 0x433ef0
test al, al
jns 0x433ea6
push ecx
push dword [ebp - 0x14]
push dword [ebx + 8]
call fcn.0045eeed
add esp, 0xc
test eax, eax
jne 0x433ef0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp esi, 3
je 0x433e84
cmp esi, 1
je 0x433e96
jmp 0x433e8d
movzx esi, byte [edx + 2]
shl esi, 0x10
xor eax, esi
movzx esi, byte [edx + 1]
shl esi, 8
xor eax, esi
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
jmp 0x433d9d
mov dword [ebp - 0x18], esi
test eax, eax
je 0x433e69
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebx + ecx + 8]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp dl, byte [ecx + esi]
mov esi, dword [ebp - 0x18]
jne 0x433ef0
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp eax, ecx
jne 0x433eb4
jmp 0x433e69
cmp dword [ebp - 0x24], 1
jbe 0x433ee8
cmp eax, esi
jb 0x433eeb
xor edx, edx
div esi
mov eax, edx
jmp 0x433eeb
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x433efa
mov ebx, dword [ebx]
test ebx, ebx
jne 0x433e2c
xor ebx, ebx
jmp 0x433e69
lea edx, [esi - 1]
and edx, edi
jmp 0x433e0c
Function at 0x4359e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax], edx
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*2]
add edx, 0x67452301
mov dword [eax + 8], edx
imul edx, ecx, 0x47
add edx, 0xefcdab89
mov dword [eax + 0xc], edx
lea edx, [ecx + ecx*8]
lea edx, [ecx + edx*4]
add edx, 0x98badcfe
mov dword [eax + 0x10], edx
imul ecx, ecx, 0x61
add ecx, 0x10325476
mov dword [eax + 0x14], ecx
pop ebp
ret
Function at 0x439d60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
call fcn.00448290
mov ecx, eax
push str.enable_low_end_device_mode
call fcn.004482a0
test al, al
jne 0x439d87
cmp byte [0x4fb768], 0
jne 0x439da2
pop ebp
jmp fcn.0043aab0
call fcn.0043aab0
mov ecx, 0x20000000
cmp eax, 0x20000000
cmovae eax, ecx
test edx, edx
cmovne eax, ecx
xor edx, edx
jmp 0x439db4
mov eax, dword [0x4fb760]
mov edx, dword [0x4fb764]
shld edx, eax, 0x14
shl eax, 0x14
pop ebp
ret

Function at 0x43aab0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esp + 0x4c], eax
pcmpeqd xmm0, xmm0
mov eax, esp
movdqa xmmword [eax], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
mov dword [eax], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x43ab0e
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
call fcn.004b36f0
xor esi, esi
xor edi, edi
jmp 0x43aaf8

Function at 0x43ad80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.0042e590
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x43adae
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x43adcc
push dword [ebp - 0x1c]
call fcn.0045702d
add esp, 4
cmp dword [ebp + 8], 0
je 0x43add6
test esi, esi
jne 0x43adef
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.00457063
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push ebx
mov edi, eax
push eax
call fcn.0042e590
add esp, 0xc
mov eax, edi
cmp byte [edi + 0xb], 0
jns 0x43ae21
mov eax, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x43ae3d
push dword [ebp - 0x1c]
call fcn.0045702d
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x43ae92
mov edi, dword [ebp - 0x20]
push edi
call fcn.0047b6dc
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00446bb0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x43ae70
push dword [eax]
call fcn.0045702d
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push dword [ebp - 0x20]
call fcn.0045706c
add esp, 4
jmp 0x43add6
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x4d143c
call fcn.0048e9c0
int3
Function at 0x43aed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4e6418]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x43af25
lea eax, [ebp - 0x14]
mov dword [eax], 0x43b000
push 0
push eax
push 0x43aeb0
push 0x4fb82c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x43af39
cmp dword [0x4fb830], 0
jne 0x43af25
push dword [0x4fb834]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43af3e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.004733ae
mov esi, eax
mov eax, 0x4fb838
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x4fb83c]
mov ebx, dword [0x4fb840]
mov eax, dword [0x4fb844]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4fb848]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4fb84c]
mov dword [ebp - 0x20], eax
mov eax, 0x4fb838
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x43af95
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov ecx, edi
call dword [0x4e097c]
push dword [ebp - 0x24]
call edi
add esp, 4
test ebx, ebx
je 0x43afaa
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x4e097c]
push edi
call ebx
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x43afc2
mov edi, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
call dword [0x4e097c]
push edi
call ecx
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x43afda
mov edi, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
call dword [0x4e097c]
push edi
call ecx
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x43aff2
mov edi, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
call dword [0x4e097c]
push edi
call ecx
add esp, 4
push esi
call fcn.004491f0
add esp, 4
jmp 0x43af25

Function at 0x43bc30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x43bc47
test eax, eax
je 0x43bc47
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x43bc55
mov ecx, dword [0x4fb874]
test ecx, ecx
jne 0x43bc9a
cmp dword [0x4fb86c], 0
je 0x43bc41
mov esi, dword [0x4fb870]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x43bc91
test esi, esi
je 0x43bc41
mov ecx, dword [0x4fb86c]
call dword [0x4e097c]
push esi
call ecx
add esp, 4
jmp 0x43bc41
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43bc79
call dword [0x4e097c]
call ecx
jmp 0x43bc55
Function at 0x43d420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2010
call fcn.0045dd50
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e95c0]
cmp eax, 0xffffffff
je 0x43d452
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
jne 0x43d467
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x2010
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00460570
add esp, 0xc
mov ecx, dword [0x4e95c0]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x2014], ecx
push ecx
call fcn.0043fac0
add esp, 8
test ebx, ebx
je 0x43d4a8
push ebx
call fcn.0045706c
add esp, 4
mov ecx, 0x101
mov dword [ebp - 0x2018], ecx
mov eax, dword [0x4fdcfc]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43d64f
mov ebx, dword [0x4fdcf8]
mov esi, ebx
shr esi, 0xe
mov edi, ebx
shr edi, 0x13
mov eax, dword [edi*4 + 0x4f0fec]
bt eax, esi
jb 0x43d641
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x4f8fec], 1
test ebx, ebx
je 0x43d6aa
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43d694
push 0x1000
push 0x4fccf4
lea eax, [ebp - 0x1810]
push eax
call fcn.00460570
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [edi*4 + 0x4f0fec]
bt eax, esi
jb 0x43d5eb
push 0x800
push 0xff
lea eax, [ebp - 0x2010]
push eax
call fcn.00460af0
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 0x43d568
lea ecx, [ebp - 0x2010]
lea edx, [ebp - 0x1810]
push 1
push 0x10
call fcn.0043da30
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 0x43d5f9
add ebx, 8
cmp ebx, 0x804
jne 0x43d5a3
mov ecx, dword [ebp - 0x2018]
dec ecx
je 0x43d6a0
test al, 1
jne 0x43d4ad
push 2
push dword [ebp - 0x2014]
call fcn.0043fac0
add esp, 8
jmp 0x43d452
push ebx
call fcn.00448cd0
add esp, 4
jmp 0x43d547
mov ecx, edx
shl ecx, 4
cmp dword [ebp + ecx - 0x1810], 0
je 0x43d5b6
mov edi, dword [ebp + edx*8 - 0x80c]
cmp edi, dword [ebp + ecx - 0x1808]
jne 0x43d5b6
mov ecx, dword [ebp + ecx - 0x180c]
test ecx, ecx
je 0x43d5b6
mov dword [ebp + edx*8 - 0x810], 0
call dword [0x4e097c]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x43d5b6
push ebx
call fcn.00448830
add esp, 4
jmp 0x43d500
push 0x4fdcfc
call fcn.004570a7
add esp, 4
cmp dword [0x4fdcfc], 0xffffffff
jne 0x43d4d4
push 4
call fcn.00456ffd
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.00444fb0
mov dword [0x4fdcf8], ebx
push 0x4fdcfc
call fcn.0045711d
add esp, 4
jmp 0x43d4d4
mov ecx, ebx
call fcn.00444fc0
jmp 0x43d517
call fcn.004b36f0
jmp 0x43d5d6
int3
Function at 0x43d6b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x10], ecx
mov eax, dword [0x4e95c0]
cmp eax, 0xffffffff
je 0x43d7dd
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x43d7dd
mov eax, dword [0x4fdcfc]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43d7e7
mov edi, dword [0x4fdcf8]
mov ebx, edi
shr ebx, 0xe
mov esi, edi
shr esi, 0x13
mov eax, dword [esi*4 + 0x4f0fec]
bt eax, ebx
jb 0x43d7c4
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x4f8fec], 1
test edi, edi
je 0x43d838
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43d82c
mov dword [ebp - 0x14], ebx
mov ecx, dword [0x4fccf0]
inc ecx
xor eax, eax
mov ebx, eax
add eax, ecx
movzx edx, al
mov eax, edx
shl eax, 4
cmp dword [eax + 0x4fccf4], 0
jne 0x43d83e
lea eax, [eax + 0x4fccf4]
mov dword [eax], 1
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [0x4fdcf4]
inc ecx
mov dword [0x4fdcf4], ecx
mov dword [eax + 0xc], ecx
mov dword [0x4fccf0], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 8]
mov dword [ecx + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi*4 + 0x4f0fec]
mov ecx, dword [ebp - 0x14]
bt eax, ecx
jb 0x43d7d2
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x100
jae 0x43d83b
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
push edi
call fcn.00448830
add esp, 4
jmp 0x43d726
push edi
call fcn.00448cd0
add esp, 4
jmp 0x43d7ab
call fcn.0043d860
jmp 0x43d6d9
push 0x4fdcfc
call fcn.004570a7
add esp, 4
cmp dword [0x4fdcfc], 0xffffffff
jne 0x43d6fa
push 4
call fcn.00456ffd
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00444fb0
mov dword [0x4fdcf8], edi
push 0x4fdcfc
call fcn.0045711d
add esp, 4
jmp 0x43d6fa
mov ecx, edi
call fcn.00444fc0
jmp 0x43d73d
int3
int3
mov eax, ebx
inc eax
cmp eax, 0x100
jne 0x43d749
jmp 0x43d795
Function at 0x43d860
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x4e95c0]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x43d90d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x43d956
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.00460af0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0043fac0
add esp, 8
push edi
call fcn.00457063
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00460570
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0043fac0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.0043faa0
add esp, 4
test al, al
je 0x43d959
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x43d95c
xor eax, eax
dec eax
lock cmpxchg dword [0x4e95c0], ecx
je 0x43d891
push ecx
call fcn.004c72c0
add esp, 4
mov ecx, dword [0x4e95c0]
mov dword [ebp - 0x814], ecx
jmp 0x43d891
int3
int3
push esi
call fcn.0043faa0
add esp, 4
test al, al
je 0x43d984
cmp dword [ebp - 0x814], 0xffffffff
je 0x43d984
push 0xffffffffffffffff
call fcn.004c72c0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x43d92b
int3
Function at 0x440e70
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 0x440ea8
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 0x440e82
test edx, edx
jne 0x440ec6
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
cmp edx, 3
je 0x440ed2
cmp edx, 1
je 0x440ee4
jmp 0x440edb
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 0x440eac
Function at 0x445150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x44518b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4451a2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x445184
mov dword [esi], ebx
call fcn.00447a10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x4451b9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00447a10
push dword [esi]
call fcn.00444b70
add esp, 4
mov dword [esi], 0
jmp 0x445175
int3

Function at 0x4451f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x445225
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x44522c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x44521e
mov dword [esi], ebx
call fcn.00447a10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00447a10
push dword [esi]
call fcn.00444b70
add esp, 4
mov dword [esi], 0
jmp 0x44520f
Function at 0x44a500
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453720