joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498210
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x63a1e8]
mov esi, dword [ebp + 8]
mov edi, esp
xor eax, ebp
mov dword [esp + 0x5c], eax
push 0x59
push str..._.._base_system_sys_info_win.cc
push str.AmountOfFreeDiskSpace
push edi
call fcn.004820c0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.004d05f0
cmp byte [esi + 0xb], 0
jns 0x498254
mov esi, dword [esi]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x49828e
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov esi, SysReAllocString
mov edi, 0xffffffff
cmp eax, 0xffffffff
mov edx, ecx
sbb edx, 0x7fffffff
cmovb esi, ecx
cmovb edi, eax
jmp 0x498298
mov edi, 0xffffffff
mov esi, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004d06e0
mov ecx, dword [esp + 0x5c]
xor ecx, ebp
call fcn.005909f1
mov eax, edi
mov edx, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x498d20
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x63a1e8]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x63cbd0]
ucomisd xmm1, xmm0
jne 0x498ea4
jp 0x498ea4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63cbe0]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x498ec9
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63cbf0]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x498f02
rdtsc
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x63cbe8]
movsd xmm2, qword [0x5c8070]
sbb ebx, dword [0x63cbec]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x5c1bc0]
subpd xmm1, xmmword [0x5c1bd0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x498ea4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x63cbd8]
sbb ecx, dword [0x63cbdc]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x5c1bc0]
subpd xmm2, xmmword [0x5c1bd0]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x63cbd0], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.005909f1
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x63cbe0
call fcn.00590a37
add esp, 4
cmp dword [0x63cbe0], 0xffffffff
jne 0x498d92
rdtsc
mov dword [0x63cbd8], eax
mov dword [0x63cbdc], edx
push 0x63cbe0
call fcn.00590aad
add esp, 4
jmp 0x498d92
push 0x63cbf0
call fcn.00590a37
add esp, 4
cmp dword [0x63cbf0], 0xffffffff
jne 0x498db3
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x63cbec], ecx
mov dword [0x63cbe8], eax
push 0x63cbf0
call fcn.00590aad
add esp, 4
jmp 0x498db3
Function at 0x49a240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x49a2e3
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.00590936
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.0049a150
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.004991a0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x49a2cd
mov ecx, edi
call fcn.004991f0
push edi
call fcn.005909b6
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x49a2e0
push dword [esp + 8]
call fcn.005909b6
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.005909f1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x49f350
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
movzx edx, byte [esi + 0xb]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], ecx
test dl, dl
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
lea ecx, [eax + ecx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x49f3bd
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add edx, 0xfffffffc
add ecx, 4
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
xor eax, edi
cmp edx, 3
ja 0x49f390
cmp edx, 1
jne 0x49f3c6
jmp 0x49f3e2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x49f3e2
cmp edx, 2
je 0x49f3d9
cmp edx, 3
jne 0x49f3ed
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
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x49f548
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edx, ebx
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, ebx
shr eax, 1
and eax, 0x55555555
sub edx, eax
mov eax, edx
shr edx, 2
and eax, 0x33333333
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
cmp eax, 1
mov dword [ebp - 0x24], eax
jbe 0x49f45b
cmp edi, ebx
mov edx, edi
jb 0x49f460
mov eax, edi
xor edx, edx
div ebx
jmp 0x49f460
lea edx, [ebx - 1]
and edx, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x49f548
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x49f548
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
test cl, cl
lea eax, [eax - 1]
cmovns edx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edx
jmp 0x49f4b6
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x49f546
mov ebx, dword [ebx]
test ebx, ebx
je 0x49f546
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x49f510
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, eax
jns 0x49f4ca
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x49f4ac
lea ecx, [ebx + 8]
test al, al
mov edx, dword [ecx]
cmovs ecx, edx
js 0x49f528
cmp dword [ebp - 0x10], 0
je 0x49f542
cmp byte [esi], dl
jne 0x49f4ac
dec eax
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x49f542
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [esi + ecx + 1]
lea ecx, [ecx + 1]
je 0x49f4f0
jmp 0x49f4ac
cmp dword [ebp - 0x24], 1
jbe 0x49f4a0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x49f4a3
xor edx, edx
div ecx
mov eax, edx
jmp 0x49f4a3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49f542
push eax
push esi
push ecx
call fcn.0059334d
add esp, 0xc
test eax, eax
jne 0x49f4ac
mov ecx, ebx
jmp 0x49f548
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4a7ac0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a77d0
Function at 0x4a7da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a7ad0
Function at 0x4bb15d
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00484240
mov dword [ebp - 0x34], eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp - 0x34]
push esi
push eax
push str..pipemojo._lu._lu._I64u
push edi
call fcn.00489c60
add esp, 0x18
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4bb1b3
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.0048a430
add esp, 0xc
cmp byte [ebp - 0x1d], 0
jns 0x4bb1d2
push dword [ebp - 0x28]
call fcn.005909b6
add esp, 4
mov dword [ebp - 0x34], esp
push eax
cmp byte [ebp - 0x11], 0
mov edi, esp
jns 0x4bb1e1
mov ebx, dword [ebp - 0x1c]
xor esi, esi
mov eax, 0x1000
push esi
push 0x1388
push eax
push eax
push 1
push esi
push 0x40080003
push ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.00408a4a
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.004bb722
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push ebx
call fcn.004bb6f2
mov ecx, ebx
call fcn.004bb760
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x4bb24f
push 0x48
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.004fff90
add esp, 0xc
mov ecx, ebx
call fcn.004fff60
mov ecx, ebx
call fcn.004fff70
mov eax, dword [0x5cd4e8]
movsd xmm0, qword [0x5cd4e0]
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x20], eax
movsd qword [ebp - 0x28], xmm0
push eax
cmp byte [ebp - 0x11], 0
mov edi, esp
jns 0x4bb275
mov eax, dword [ebp - 0x1c]
jmp 0x4bb278
lea eax, [ebp - 0x1c]
xor esi, esi
push esi
push 0x40100000
push 3
push ebx
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.00408a4a
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.004bb722
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.004bb6f2
mov ecx, ebx
call fcn.004bb760
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x4bb2e0
push 0x55
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.004fff90
add esp, 0xc
mov ecx, ebx
call fcn.004fff60
mov ecx, ebx
call fcn.004fff70
push 0
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x4bb342
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x4bb322
cmp byte [ebp - 0x11], 0
jns 0x4bb310
push dword [ebp - 0x1c]
call fcn.005909b6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.004fff90
add esp, 0xc
mov ecx, ebx
call fcn.004fff60
mov ecx, ebx
call fcn.004fff70
jmp 0x4bb2ff
int3
Function at 0x4bdcdd
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [0x63a1e8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x4bdcff
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x4bdde2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4bdd3a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004bddf9
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x4bdde0
call fcn.00482ea0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x244
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00482fd0
lea eax, [ebp - 0xb4]
push 0x10
push str.CreateDirectory
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4bdd8e
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048a840
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4bddb3
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4bddd5
push dword [ebp - 0xc8]
call fcn.005909b6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00483090
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4bddf9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [0x63a1e8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x4bde1b
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bdeea
mov bl, 1
test al, 0x10
jne 0x4bdf92
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x4bdf90
lea ecx, [ebp - 0xbc]
push 2
push 0x232
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00482590
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4bde83
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048a840
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4bdea8
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4bdeda
push dword [ebp - 0xc8]
call fcn.005909b6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00482940
jmp 0x4bdf90
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x4bdf90
call fcn.00482ea0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x22e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00482fd0
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4bdf3e
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048a840
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4bdf63
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4bdf85
push dword [ebp - 0xc8]
call fcn.005909b6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00483090
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4bfeee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x4bff03
cmp byte [ecx + 0x1b], 0
jns 0x4bff11
mov ecx, dword [ecx + 0x10]
jmp 0x4bff14
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2 + 1]
jmp 0x4bff2e
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
mov ecx, eax
shr edx, 3
and edx, 2
xor eax, eax
inc eax
cmp ecx, 0xffffffff
cmovne eax, edx
pop ebp
ret
Function at 0x4cffb0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x63a1e8]
mov esi, ecx
mov edi, esp
xor eax, ebp
mov dword [esp + 0x48], eax
push 0x1b
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.004820c0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.004d05f0
mov ecx, esi
call fcn.004557a0
test al, al
je 0x4d0028
mov ecx, esi
lea edi, [esi + 0x24]
call fcn.0042c680
push 0
push 0
push 0
push 0x11000002
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00408a4a
mov eax, dword [esi + 0x24]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x4d004a
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.004d06e0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x4d0028
mov ecx, esp
mov dword [esp], 0x5c9834
mov dword [esp + 4], eax
call fcn.004e8da4
mov eax, dword [eax + 0x50]
mov bl, 1
mov dword [esi + 0x20], eax
jmp 0x4d002a
Function at 0x4d1f90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63e388]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x4d1fbb
mov ecx, 0x63e380
pop ebp
jmp fcn.0048ca50
push 0x63e388
call fcn.00590a37
add esp, 4
cmp dword [0x63e388], 0xffffffff
jne 0x4d1fb0
mov dword [0x63e384], 0
mov dword [0x63e380], 0
mov ecx, 0x63e380
push 0
call fcn.0048cac0
push 0x63e388
call fcn.00590aad
add esp, 4
jmp 0x4d1fb0
Function at 0x4e66f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
movzx edx, byte [esi + 0xb]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], ecx
test dl, dl
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
lea ecx, [eax + ecx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x4e675d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add edx, 0xfffffffc
add ecx, 4
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
xor eax, edi
cmp edx, 3
ja 0x4e6730
cmp edx, 1
jne 0x4e6766
jmp 0x4e6782
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x4e6782
cmp edx, 2
je 0x4e6779
cmp edx, 3
jne 0x4e678d
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
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x4e68e8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edx, ebx
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, ebx
shr eax, 1
and eax, 0x55555555
sub edx, eax
mov eax, edx
shr edx, 2
and eax, 0x33333333
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
cmp eax, 1
mov dword [ebp - 0x24], eax
jbe 0x4e67fb
cmp edi, ebx
mov edx, edi
jb 0x4e6800
mov eax, edi
xor edx, edx
div ebx
jmp 0x4e6800
lea edx, [ebx - 1]
and edx, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4e68e8
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x4e68e8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
test cl, cl
lea eax, [eax - 1]
cmovns edx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edx
jmp 0x4e6856
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x4e68e6
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e68e6
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x4e68b0
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, eax
jns 0x4e686a
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x4e684c
lea ecx, [ebx + 8]
test al, al
mov edx, dword [ecx]
cmovs ecx, edx
js 0x4e68c8
cmp dword [ebp - 0x10], 0
je 0x4e68e2
cmp byte [esi], dl
jne 0x4e684c
dec eax
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x4e68e2
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [esi + ecx + 1]
lea ecx, [ecx + 1]
je 0x4e6890
jmp 0x4e684c
cmp dword [ebp - 0x24], 1
jbe 0x4e6840
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4e6843
xor edx, edx
div ecx
mov eax, edx
jmp 0x4e6843
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4e68e2
push eax
push esi
push ecx
call fcn.0059334d
add esp, 0xc
test eax, eax
jne 0x4e684c
mov ecx, ebx
jmp 0x4e68e8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4e8de8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x3c]
movzx edx, word [ecx + eax + 6]
test edx, edx
je 0x4e8e33
add eax, ecx
xor ebx, ebx
movzx esi, word [eax + 0x14]
lea edi, [eax + esi + 0x18]
xor esi, esi
test edi, edi
je 0x4e8e33
mov eax, dword [edi + ebx + 0xc]
test eax, eax
je 0x4e8e20
add eax, ecx
cmp eax, dword [ebp + 8]
jbe 0x4e8e22
jmp 0x4e8e2b
xor eax, eax
add eax, dword [edi + ebx + 8]
cmp eax, dword [ebp + 8]
ja 0x4e8e3c
inc esi
add ebx, 0x28
cmp esi, edx
jb 0x4e8e0b
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
add edi, ebx
mov eax, edi
jmp 0x4e8e35

Function at 0x4e8eea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4e8fcc
mov eax, dword [ecx + 4]
mov ebx, ecx
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x4e8fcc
cmp word [eax + edx + 0x14], 0x68
jb 0x4e8fcc
mov esi, dword [ebx]
mov ecx, ebx
push dword [eax + edx + 0x78]
call dword [esi + 4]
test eax, eax
je 0x4e8fcc
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x4e8f44
mov word [edi], ax
jmp 0x4e8ff9
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x20]
call dword [eax + 4]
mov edx, eax
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x4e8fcc
lea edi, [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
mov ebx, edx
inc eax
mov dword [ebp - 0x1c], eax
mov eax, edi
sub eax, ebx
mov ecx, eax
shr eax, 0x1f
sar ecx, 2
add eax, ecx
mov ecx, dword [ebp - 0x10]
and eax, 0xfffffffe
lea esi, [ebx + eax*2]
mov eax, dword [ecx]
push dword [esi]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x4e8fa9
mov edx, dword [ebp - 0x1c]
cmp cl, byte [eax]
jne 0x4e8fab
mov cl, byte [edx]
inc eax
inc edx
test cl, cl
jne 0x4e8f9d
xor ecx, ecx
movzx eax, byte [eax]
movzx ecx, cl
mov edx, ecx
sub edx, eax
test edx, edx
lea edx, [esi + 4]
cmovg ebx, edx
cmp ecx, eax
cmovs edi, esi
je 0x4e8fd8
xor eax, eax
cmp ebx, edi
jne 0x4e8f73
jmp 0x4e8fce
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [edi + 0x24]
call dword [eax + 4]
sub esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
sar esi, 1
movzx eax, word [eax + esi]
add ax, word [edi + 0x10]
mov word [ecx], ax
mov al, 1
jmp 0x4e8fce