joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4372b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 8], 0
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
jb 0x4372d1
mov ecx, dword [ecx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
xor edi, edi
mov dword [ebp - 4], edi
test ebx, ebx
je 0x4373a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x437341
cmp edi, 0xffffffff
je 0x437341
call sym.setup.exe_GetHandleVerifier
mov edx, eax
mov esi, dword [edx]
call fcn.0044dee0
mov ecx, dword [ebp + 4]
push eax
push ecx
lea eax, [ebp - 4]
mov ecx, edx
push eax
push edi
call dword [esi + 8]
mov esi, dword [ebp - 4]
call sym.setup.exe_GetHandleVerifier
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
je 0x437366
mov dword [ebp - 4], ebx
call sym.setup.exe_GetHandleVerifier
mov edx, eax
mov esi, dword [edx]
call fcn.0044dee0
mov ecx, dword [ebp + 4]
push eax
push ecx
lea eax, [ebp - 4]
mov ecx, edx
push eax
push ebx
call dword [esi + 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 4]
test edi, edi
je 0x4373a2
cmp edi, 0xffffffff
je 0x4373a2
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
push 0
push eax
push esi
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43739f
mov ebx, dword [ebp - 8]
cmp ebx, esi
jne 0x43739f
mov edi, dword [ebp - 4]
jmp 0x4373a5
mov edi, dword [ebp - 4]
or ebx, 0xffffffff
test edi, edi
je 0x4373da
cmp edi, 0xffffffff
je 0x4373da
call sym.setup.exe_GetHandleVerifier
mov edx, eax
mov esi, dword [edx]
call fcn.0044dee0
mov ecx, dword [ebp + 4]
push eax
push ecx
lea eax, [ebp - 4]
mov ecx, edx
push eax
push edi
call dword [esi + 8]
mov esi, dword [ebp - 4]
call sym.setup.exe_GetHandleVerifier
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4373f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x437536
cmp eax, 0x104
ja 0x437536
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp word [ebp - 0x210], ax
je 0x437472
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437463
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041b8e7
lea eax, [ebp - 0x240]
push eax
sub esp, 8
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x258]
mov edx, esp
cmovae eax, dword [ebp - 0x228]
mov dword [edx], eax
mov eax, dword [ebp - 0x218]
mov dword [edx + 4], eax
call fcn.0043eec0
mov ecx, eax
call fcn.00440140
push eax
mov ecx, esi
call fcn.0043efe0
lea ecx, [ebp - 0x240]
call fcn.0043ef40
lea ecx, [ebp - 0x258]
call fcn.0043ef40
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x437525
mov ecx, dword [ebp - 0x228]
inc eax
cmp eax, 0x7fffffff
ja 0x437547
add eax, eax
cmp eax, 0x1000
jb 0x43751c
test cl, 0x1f
jne 0x43754c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x437551
sub ecx, eax
cmp ecx, 4
jb 0x437556
cmp ecx, 0x23
ja 0x43755b
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
int3

Function at 0x437590
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00440180
test al, al
jne 0x4375fc
mov ecx, esi
call fcn.00440180
test al, al
jne 0x4375fc
cmp dword [edi + 0x10], 0x104
jae 0x4375fc
cmp dword [esi + 0x10], 0x104
jae 0x4375fc
cmp dword [esi + 0x14], 8
jb 0x4375c5
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4375cd
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4375fc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4375fc
test al, 1
je 0x4375f6
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret
Function at 0x437610
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x10], 0x104
jae 0x4376ce
cmp dword [edi + 0x10], 0x104
jae 0x4376ce
cmp dword [edi + 0x14], 8
jb 0x437642
mov eax, dword [edi]
jmp 0x437644
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x43764c
mov ecx, dword [esi]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x437663
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov dword [esp + 0xc], eax
jb 0x437679
mov eax, dword [esi]
jmp 0x43767b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4376bb
shr eax, 4
and al, 1
je 0x4376bb
push ecx
mov edx, edi
mov ecx, esi
call fcn.00435f70
add esp, 4
test al, al
je 0x4376b9
push 1
push esi
call fcn.00435cc0
add esp, 8
test al, al
je 0x4376b9
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438a20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [edx], 1
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
jge 0x438a52
mov dword [edx], 1
cmp dword [edi], 0x7fffffff
jl 0x438a60
mov dword [edi], SysReAllocString
cmp dword [esi], 0x4000
jb 0x438a6e
mov dword [esi], 0x3fff
mov ebx, dword [edx]
mov cl, 1
mov eax, dword [edi]
cmp ebx, eax
jle 0x438a7e
mov dword [edx], eax
xor cl, cl
mov dword [edi], ebx
mov eax, dword [edx]
cmp dword [edi], eax
jne 0x438a89
xor cl, cl
inc eax
mov dword [edi], eax
mov ebx, dword [esi]
cmp ebx, 3
jae 0x438a96
mov dword [esi], 3
movzx eax, cl
cmp ebx, 3
mov ecx, 0
cmovae ecx, eax
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, 0x2712
jbe 0x438ab7
mov dword [esi], 0x2712
mov eax, dword [edi]
xor ebx, ebx
sub eax, dword [edx]
cmp dword [esp + 0xc], 0x2712
lea edx, [eax + 2]
movzx eax, cl
cmovbe ebx, eax
cmp dword [esi], edx
jbe 0x438ad8
xor bl, bl
mov dword [esi], edx
jmp 0x438ae0
test bl, bl
jne 0x438c1b
push 0
push 0x22
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0041cc61
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
push 0x22
cmovae eax, dword [esp + 0x24]
push str.Histogram.BadConstructionArguments
push eax
call fcn.004cd490
add esp, 0xc
mov dword [esp + 0x30], 0x22
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
mov byte [eax + 0x22], 0
call fcn.00450e40
mov edi, eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x438b8d
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, 0x1000
jb 0x438b84
test cl, 0x1f
jne 0x438c32
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x438c37
sub ecx, eax
cmp ecx, 4
jb 0x438c3c
cmp ecx, 0x23
ja 0x438c41
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [eax + 0x14], 0x10
jb 0x438bb0
mov ecx, dword [eax]
jmp 0x438bb2
mov ecx, eax
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x67452301
mov dword [esp + 0x3c], 0xefcdab89
mov dword [esp + 0x40], 0x98badcfe
mov dword [esp + 0x44], 0x10325476
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
call fcn.0046a5e0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.0046a700
mov ecx, dword [esp + 0x14]
mov esi, dword [edi]
mov edx, dword [esp + 0x10]
bswap ecx
push ecx
bswap edx
mov ecx, edi
call dword [esi + 0x10]
mov ecx, dword [esp + 0x94]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
int3
Function at 0x442a00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ebx, ecx
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebx + 4]
or eax, 0x20019
push eax
push 0
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x442ac1
push edi
push eax
push eax
push eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x442a6f
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 8], 0
jne 0x442abb
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
push str.RegDeleteKeyExW
push str.advapi32.dll
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442aaa
push 0
push dword [ebp - 0xc]
push esi
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x442bb0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004cc960
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x100c]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x1008], 1
push edx
lea edx, [ebp - 0x1008]
mov dword [ebp - 0x100c], 0x800
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x442d3e
mov ecx, dword [ebp - 0x1008]
cmp ecx, 1
jne 0x442c82
cmp word [ebp - 0x804], ax
jne 0x442c46
xor ecx, ecx
lea eax, [ebp - 0x804]
push ecx
push eax
mov ecx, edi
call fcn.0041b8e7
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442c50
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0041b8e7
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x442d39
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x442d22
cmp eax, 0x400
ja 0x442d22
cmp word [ebp - 0x1004], 0
jne 0x442ce4
xor ecx, ecx
lea eax, [ebp - 0x1004]
push ecx
push eax
mov ecx, edi
call fcn.0041b8e7
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442cf0
sub ecx, edx
lea eax, [ebp - 0x1004]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0041b8e7
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 8

Function at 0x442d50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442d60
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x443350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x44344a
cmp dword [edi + 4], 0
jl 0x44344a
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x2c]
sub eax, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
sar eax, 1
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [edi + 0x20]
lea eax, [eax*2 - 2]
mov dword [ebp - 0xc], edx
mov dword [ecx], eax
lea ecx, [edi + 8]
mov dword [ebp - 8], edx
call fcn.0043d890
lea ecx, [edi + 0x2c]
push ecx
push esi
lea edx, [edi + 0x30]
push edx
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x44342c
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x24]
inc ecx
sub eax, dword [edi + 0x20]
shr ecx, 1
inc ecx
sar eax, 1
cmp ecx, eax
jbe 0x4433e1
xor eax, eax
mov word [ebp - 2], ax
lea eax, [ebp - 2]
push eax
push ecx
lea ecx, [edi + 0x20]
call fcn.004435b0
mov eax, dword [edi + 0x24]
mov ecx, 0x4000
sub eax, dword [edi + 0x20]
mov esi, dword [edi + 0x20]
sar eax, 1
lea eax, [eax*2 - 2]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
cmove eax, ecx
lea ecx, [edi + 8]
mov edx, eax
mov dword [ebp - 8], eax
call fcn.0043d890
lea ecx, [edi + 0x2c]
push ecx
push esi
lea ecx, [edi + 0x30]
push ecx
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
pop esi
test eax, eax
jne 0x44344a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
inc ecx
shr ecx, 1
xor edx, edx
pop edi
pop ebx
mov word [eax + ecx*2], dx
mov al, 1
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x443455
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [edi + 0x20]
mov word [eax], cx
xor al, al
mov dword [edi + 0x2c], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443500
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xc
or eax, 0x20019
push esi
mov esi, ecx
push esi
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44354d
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x443560
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
xor eax, eax
mov word [esi + 8], ax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [esi]
dec ecx
mov dword [esi + 4], ecx
test edx, edx
je 0x443596
test ecx, ecx
js 0x443596
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44359c
xor eax, eax
mov word [esi + 8], ax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444c90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
call fcn.004cbadf
mov ecx, eax
call fcn.00444850
mov dword [0x51ecc0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 8], 7
xor eax, eax
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edx], ax
jne 0x444cd9
xor ecx, ecx
jmp 0x444cef
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444ce0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041b8e7
mov ecx, dword [0x51ecc0]
lea eax, [ebp - 0x1c]
push eax
call fcn.004461a0
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x444d47
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x444d58
add eax, eax
cmp eax, 0x1000
jb 0x444d3e
test cl, 0x1f
jne 0x444d5d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x444d62
sub ecx, eax
cmp ecx, 4
jb 0x444d67
cmp ecx, 0x23
ja 0x444d6c
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
int3

Function at 0x4461a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
mov ecx, 0x504a60
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4461e0
sub ecx, esi
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push 0x504a60
push eax
mov ecx, edx
call fcn.0043ce60
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x44623a
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.00444d80
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x446279
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x44628b
add eax, eax
cmp eax, 0x1000
jb 0x446270
test cl, 0x1f
jne 0x446290
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x446295
sub ecx, eax
cmp ecx, 4
jb 0x44629a
cmp ecx, 0x23
ja 0x44629f
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 4
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
int3
Function at 0x448cc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0xc], 0x3eb
call fcn.00448a00
mov edi, eax
mov dword [esp + 0x30], 7
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x28]
mov word [esp + 0x28], ax
call fcn.0041b960
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x448d3c
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00436f30
test al, al
jne 0x448d3c
xor bl, bl
jmp 0x448ddf
push edi
call fcn.0044dee0
push eax
lea ecx, [esp + 0x18]
call fcn.0045c1a0
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0x10]
call fcn.0045b540
lea ecx, [edi + 8]
call fcn.00448e60
push 8
lea ecx, [edi + 4]
call fcn.00448ea0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
lea ebx, [edi + 0x24]
push eax
mov ecx, ebx
call fcn.00448f10
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 4]
jne 0x448dc1
push ecx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
push ecx
push ecx
lea ecx, [ebx + 4]
push dword [eax]
call fcn.00449500
mov eax, dword [ebx + 4]
mov ecx, ebx
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00449320
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0xc]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x448dd6
push 0xffffffffffffffff
push 0
push eax
call fcn.0041b960
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [esp + 0x1c]
call fcn.0043ef40
mov ecx, dword [esp + 0x34]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret

Function at 0x448f10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x448f6b
mov ecx, esi
jmp 0x448f70
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x448f95
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x448f7f
mov eax, dword [eax]
jmp 0x448f63
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x449320
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x44939c
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x44939c
mov ecx, dword [edi]
nop word [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4493e1
cmp esi, eax
jne 0x449390
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x4493ca
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x449419
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x44943b
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.0043ef40
push edi
call fcn.004cbd7a
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x449421
mov dword [ecx], edi
jmp 0x44943b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x44943b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00449460
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc