joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452b10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x452bcb
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], 0xff
lea ecx, [ebx - 1]
add ecx, esi
mov dword [ebp - 4], ecx
nop dword [eax]
mov al, byte [edx]
test al, al
je 0x452bac
movzx eax, al
mov al, byte [eax + 0x5c25d0]
test ebx, ebx
jle 0x452b9e
mov edi, dword [ebx*4 + 0x5c23a0]
mov ecx, edx
movzx eax, al
sub edi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
nop word [eax + eax]
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
add eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 0x10]
movzx eax, dl
mov al, byte [eax + 0x5c24d0]
xor al, byte [ecx]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x452b70
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
cmp ebx, ecx
jge 0x452bbd
lea edi, [edx + ebx]
sub ecx, ebx
lea esi, [edi + 1]
jmp 0x452bb5
test ecx, ecx
jle 0x452bbd
lea esi, [edx + 1]
mov edi, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
sub esi, 1
mov dword [ebp + 0xc], esi
jne 0x452b40
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4547c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 0xc]
jne 0x4547ea
cmp dword [ecx + 0x24], 0x10
lea eax, [ecx + 0x10]
jb 0x4547d6
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x5cace0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebp
ret 8
Function at 0x4568d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0058
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60f074]
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
call fcn.00457cf0
mov esi, dword [ebp + 8]
mov ecx, eax
mov dword [eax + 0x6c], esi
call fcn.00458d30
call fcn.004e43c0
call fcn.00457cf0
push 4
mov eax, dword [eax + 0x6c]
mov dword [0x61a724], eax
xor eax, eax
cmp esi, 1
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
setne al
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 4
push str.AppsUseLightTheme
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
push SysReAllocString
call esi
push 4
push 0x5c24cc
push 4
push str.ColorPrevalence
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
call esi
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x40]
mov edx, 0x12f
mov eax, dword [eax + 0x90]
mov esi, dword [eax + 0x2c]
call fcn.004e67f0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00405a50
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x5cb7d8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x28]
call fcn.00405c10
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00405c10
mov ecx, dword [edi + 4]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb4]
mov ecx, dword [edi + 4]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x80]
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.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x4579a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, 6
ja case.default.0x4579b6
jmp dword [eax*4 + 0x457adc]
push 0x94
call fcn.00550175
add esp, 4
mov dword [esp + 4], eax
mov ecx, eax
push dword [esi + 0x14]
call fcn.0045a4c0
mov ecx, eax
call fcn.0045a6f0
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
push 0
push 0
push 0x5d05a8
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x34
call fcn.00550175
add esp, 4
mov dword [esp + 4], eax
mov ecx, eax
push dword [esi + 0x14]
call fcn.00454670
mov ecx, eax
call fcn.004548a0
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x14
call fcn.00550175
mov ecx, dword [esi + 0x14]
add esp, 4
mov dword [esp + 4], eax
mov dword [eax + 0x10], ecx
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], vtable.AddWeiXinWindow.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
call fcn.004551d0
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x20
call fcn.00550175
mov ecx, dword [esi + 0x14]
add esp, 4
mov dword [esp + 4], eax
mov dword [eax + 4], 0
mov dword [eax + 8], vtable.view::ButtonListener.0
mov dword [eax + 0x1c], ecx
mov ecx, eax
mov dword [eax], vtable.AboutWindow.1.0
mov dword [eax + 8], vtable.AboutWindow.0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
call fcn.00454120
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x61a150], 1
call fcn.0042da10
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x61a150], 0
call fcn.0042da10
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x457b00
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x650
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x64c], eax
call fcn.004e43c0
push 0x64
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.004e5270
cmp byte [ebp + 8], 0
je 0x457c8b
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esp], 0
je 0x457caa
push 0x20a
lea eax, [esp + 0x43c]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
mov dword [esp + 4], 0x104
cmp dword [esp + 0x1c], 8
lea ecx, [esp + 4]
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push ecx
lea ecx, [esp + 0x43c]
push ecx
push 0
push 0
push eax
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x20a
lea eax, [esp + 0x22c]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [esp + 0x228]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [esp + 0x228]
push str.bkgrd
push eax
lea eax, [esp + 0x28]
push str.__s____s
push eax
call fcn.00457cd0
add esp, 0x10
lea ecx, [esp + 0x20]
lea eax, [esp + 0x438]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457c3c
test dx, dx
je 0x457c38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457c3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x457c16
xor eax, eax
jmp 0x457c41
sbb eax, eax
or eax, 1
test eax, eax
je 0x457caa
lea edx, [esp + 0x20]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x457c50
sub edx, ecx
lea ecx, [esp + 8]
sar edx, 1
cmp dword [esp + 0x1c], 8
cmovae ecx, dword [esp + 8]
lea eax, [edx + edx]
push eax
lea eax, [esp + 0x24]
push eax
push 1
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x457caa
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [esp + 8]
call fcn.00405c10
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x457cf0
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a04bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
push esi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x61a1d0]
test eax, eax
jne 0x457e36
push 0x74
call fcn.00550175
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
lea ecx, [esi + 0x50]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 3
push eax
push 0x5cb60c
mov dword [esi + 0x18], 0x10101
mov dword [esi + 0x1e], 0x101
mov byte [esi + 0x1d], al
mov word [esi + 0x22], ax
mov word [esi + 0x3c], 1
mov byte [esi + 0x3e], al
call fcn.00405c70
movaps xmm0, xmmword [0x5e31a0]
push 0x10
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 1
mov byte [esi + 0x34], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x1c], 1
movups xmmword [esi + 0x24], xmm0
mov dword [esi + 0x38], 0xffffffff
call fcn.00550175
mov ecx, eax
add esp, 4
mov al, byte [0x60fab8]
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
mov byte [0x60fab8], 0
movups xmmword [ecx], xmm0
mov byte [ecx + 4], 0
mov byte [ecx + 5], al
mov dword [ecx + 8], 0
mov dword [ecx], vtable.ProfileImpl.0
mov dword [ecx + 0xc], 0
mov dword [esi + 0x68], ecx
push ecx
mov ecx, esi
call fcn.00457e50
cmp dword [esi + 0x38], 0xffffffff
jne 0x457e2e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [esi + 0x38], eax
mov dword [0x61a1d0], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x45fd70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f81b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x5cb60c
call fcn.0042b3b0
test al, al
je 0x45fe75
cmp byte [esi + 0x18], 0
jne 0x45fe75
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fe11
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00405c70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x230]
mov ecx, dword [esi + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00405c10
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45fe7e
mov edx, dword [ecx]
push 0x10
push eax
call dword [edx + 8]
jmp 0x45fe7e
mov ecx, dword [esi + 0x1c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
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.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x46b360
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
mov dword [ebp - 0x210], esi
push 0
mov dword [ebp - 0x210], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5cb7d8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46b3c6
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.debug.log
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b3f4
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405c70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x46bd40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x288
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
lea edi, [esi + 0x10]
je 0x46beb2
cmp byte [0x61a244], 0
je 0x46beb2
push 0x104
lea eax, [esp + 0x84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x80]
push 0x5c
push eax
call fcn.00570925
add esp, 8
test eax, eax
je 0x46bda9
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [esp + 0x84]
push 0x104
push eax
call fcn.00576ab8
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x46bdcb
mov esi, dword [esi]
mov eax, dword [edi]
lea edx, [esp + 8]
lea ecx, [esp + 0x68]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.004713d0
cmp dword [esp + 0x78], 0
je 0x46bea9
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x44
push ecx
push 0
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [esp + 0x84]
cmovae eax, dword [esp + 0x84]
push 0
push eax
lea eax, [esp + 0xa4]
movlpd qword [esp + 0x48], xmm0
push eax
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46be88
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
jmp 0x46bea9
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
push 0x40010
cmovae eax, dword [esp + 0x6c]
push str.Fatal_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x68]
call fcn.00405c10
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x46e8d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a275c
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [0x61a268], 1
jne 0x46e95b
cmp dword [0x61a250], 3
jg 0x46e95b
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.004701e0
add esp, 4
test eax, eax
je 0x46e95b
push eax
push ecx
push 0x11f
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0xc4]
call fcn.0046bff0
lea ecx, [ebp - 0xc4]
call fcn.0046c520
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x46e97a
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x61a268], 1
jne 0x46e9cb
cmp dword [0x61a250], 3
jg 0x46e9cb
push 3
push 0x126
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x174]
call fcn.0046c100
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x10], ebx
call fcn.00403840
mov edx, str.Must_be_inside_Run_to_call_Quit
mov ecx, eax
call fcn.00403840
test bl, 1
je 0x46e9db
lea ecx, [ebp - 0x174]
call fcn.0046c520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46ea70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
cmp dword [0x61a268], 1
push esi
push edi
mov esi, ecx
jne 0x46eada
cmp dword [0x61a250], 3
jg 0x46eada
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.004701e0
add esp, 4
test eax, eax
je 0x46eada
push eax
push ecx
push 0x180
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [esp + 0x30]
call fcn.0046bff0
lea ecx, [esp + 0x20]
call fcn.0046c520
mov ecx, esi
call fcn.0046f6e0
mov eax, dword [esi + 0xb4]
mov eax, dword [eax + 8]
test eax, eax
je 0x46eb34
cmp dword [esi + 4], 1
jne 0x46eb34
mov edi, dword [esi + 0x4c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x46eb15
mov eax, dword [esi + 0xc]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x46eb1d
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x10]
mov ecx, edi
mov dword [edi + 0x2c], eax
mov eax, dword [edi]
call dword [eax + 0x14]
mov dword [edi + 0x2c], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x4c]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x475ef0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x498
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x494], eax
push esi
push edi
push 0x5d29fc
push ecx
lea eax, [esp + 0x18]
mov edi, edx
push eax
mov dword [esp + 0x20], edi
call fcn.0057f595
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x47601a
push eax
push 0x400
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], 0
push 1
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
call fcn.0057f7c4
mov esi, eax
lea edx, [esp + 0xa8]
push esi
lea ecx, [esp + 0x2c]
call fcn.00475d20
add esp, 0x14
test esi, esi
je 0x475fca
cmp esi, 0x400
jl 0x475fca
push dword [esp + 0x10]
lea eax, [esp + 0x9c]
push 0x400
push 1
push eax
call fcn.0057f7c4
mov esi, eax
lea edx, [esp + 0xa8]
push esi
lea ecx, [esp + 0x2c]
call fcn.00475d20
add esp, 0x14
test esi, esi
jne 0x475f90
push dword [esp + 0x10]
call fcn.0057f3b7
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00475de0
movups xmm0, xmmword [esp + 0x70]
xor esi, esi
movups xmmword [esp + 0x80], xmm0
nop
movzx eax, byte [esp + esi + 0x80]
push eax
push str._02x
push 3
push edi
call fcn.00475590
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x475ff0
mov eax, dword [esp + 0x14]
mov byte [eax + 0x20], 0
mov ecx, dword [esp + 0x49c]
pop edi
pop esi
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x478c00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3634
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [0x61a290]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.00488b60
add esp, 8
cmp dword [ebp - 0x1c], ebx
je 0x478d03
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [0x61a250], 4
mov edi, eax
jg 0x478cd9
test edi, edi
jne 0x478cd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 4
push 0x19f
push str.f:my_lab_tabexplorerextab_masterlibrary_basecommand_line.cpp
lea ecx, [ebp - 0xf4]
call fcn.0046c7d0
mov byte [ebp - 4], 1
lea ecx, [eax + 0x10]
mov ebx, 1
mov edx, str.CommandLineToArgvW_failed_on_command_line:
mov dword [ebp - 0x34], ebx
call fcn.00403840
cmp dword [esi + 0x14], 8
jb 0x478cd0
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0046c990
mov dword [ebp - 4], 0
test bl, 1
je 0x478cf0
lea ecx, [ebp - 0xf4]
call fcn.0046c870
mov ecx, dword [ebp - 0x38]
push edi
push dword [ebp - 0x30]
call fcn.00477ff0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x2c]
call fcn.00405c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x47bbe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
cmp dword [0x61a268], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x47bc57
cmp dword [0x61a250], 3
jg 0x47bc57
mov eax, dword [esi]
call dword [eax + 0x14]
lea ecx, [eax + 1]
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
sar eax, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x47bc57
push str.ranges_.size____bucket_count__1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0042dec0
add esp, 4
test eax, eax
je 0x47bc57
push eax
push ecx
push 0x27e
push str.f:my_lab_tabexplorerextab_masterlibrary_basemetrichistogram.cpp
lea ecx, [esp + 0x28]
call fcn.0046bff0
lea ecx, [esp + 0x18]
call fcn.0046c520
mov ebx, dword [esi + 0x34]
mov ecx, esi
mov eax, dword [esi]
xor edi, edi
sub ebx, dword [esi + 0x30]
sar ebx, 2
call dword [eax + 0x14]
test eax, eax
je 0x47bcd6
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x10]
movzx edx, bl
inc edi
movzx ecx, al
xor edx, ecx
shr ebx, 8
mov ecx, eax
shr ecx, 8
xor ebx, dword [edx*4 + 0x5c27f8]
movzx edx, cl
movzx ecx, bl
xor edx, ecx
shr ebx, 8
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
xor ebx, dword [edx*4 + 0x5c27f8]
movzx edx, cl
movzx ecx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [edx*4 + 0x5c27f8]
movzx ecx, bl
xor eax, ecx
shr ebx, 8
mov ecx, esi
xor ebx, dword [eax*4 + 0x5c27f8]
mov eax, dword [esi]
call dword [eax + 0x14]
cmp edi, eax
jb 0x47bc70
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret