joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53e6f1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
push dword [ebp + 8]
call fcn.0053cb75
mov dword [ebp - 0x14], eax
mov eax, 0
mov edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x53e717
jmp 0x53e804
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e733
push 0
push dword [ebp + 0xc]
push 0xe
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e746
push 0
push dword [ebp + 0xc]
push 0x149
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jl 0x53e804
push dword [ebp + 8]
call fcn.00456229
add eax, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53e785
push 2
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.00447c38
mov eax, dword [ebp - 0x18]
cmp eax, 0
jne 0x53e79c
push dword [ebp - 0xc]
call fcn.004460b6
jmp 0x53e804
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
push eax
push dword [ebp - 0xc]
call fcn.00433262
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e7ce
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 0xd
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e7e2
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push 0x148
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0
call fcn.0043299b
push dword [0x583260]
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.0043951e
leave
ret 8
Function at 0x53e808
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e831
push 0
push dword [ebp + 0xc]
push 0xe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e847
push 0
push dword [ebp + 0xc]
push 0x149
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
jl 0x53e92e
push 3
push dword [ebp + 8]
call fcn.0053ca15
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53e883
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00447c38
mov eax, dword [ebp - 0xc]
cmp eax, 0
jne 0x53e89a
push dword [ebp - 0x10]
call fcn.004460b6
jmp 0x53e92e
mov eax, dword [ebp - 0xc]
inc eax
shl eax, 2
push eax
push dword [ebp - 0x10]
call fcn.00433262
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e8cf
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e8e6
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push 0x148
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
call fcn.0043299b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.00528bcd
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x20
jne 0x53e927
push dword [0x583260]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043951e
push 1
call fcn.0048af56
leave
ret 8

Function at 0x53f0ab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [0x583a34]
cmp eax, 0
je 0x53f0c7
call dword [sym.imp.USER32.DLL_ReleaseCapture]
call fcn.0053c27a
push 0xa
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_UpdateWindow]
mov eax, dword [0x583b74]
xor al, 1
cmp eax, 0
je 0x53f0fe
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052ff69
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push dword [ebp + 8]
call fcn.0053e54d
leave
ret 4
Function at 0x54109d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [0x582f50]
cmp eax, edx
jne 0x5410da
mov eax, dword [0x583b68]
sub eax, 0xc
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 2
and eax, edx
cmp eax, 0
je 0x5410da
jmp 0x5410de
xor eax, eax
jmp 0x5410e1
xor eax, eax
inc eax
cmp eax, 0
je 0x541105
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x5410ff
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053d5c0
jmp 0x541105
call dword [sym.imp.USER32.DLL_DestroyCaret]
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x54112a
mov eax, dword [ebp + 0x14]
mov edx, dword [0x582f50]
cmp eax, edx
jne 0x541123
mov eax, 8
jmp 0x541128
mov eax, 5
jmp 0x54112f
mov eax, 0
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x583b74]
xor al, 1
cmp eax, 0
je 0x54115c
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052ff69
mov eax, dword [ebp + 0x14]
mov edx, dword [0x582f7c]
cmp eax, edx
jne 0x54118c
mov eax, dword [0x583b68]
sub eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x582f6c]
cmp eax, edx
jne 0x5411a3
push 9
push dword [ebp + 8]
call fcn.0053222b
leave
ret 0x10
Function at 0x4024a8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], ebx
je 0x4024ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.0041b0d0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4024e3
mov dword [esi], ebx
call fcn.0041b6e0
push eax
push dword [ebp + 4]
push esi
push ebx
call fcn.0041b7a0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x40c300
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5599f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x55aa44], 0
je 0x40c323
xor ebx, ebx
jmp 0x40c458
push 0x2c
call fcn.004d4bd9
add esp, 4
mov esi, eax
push 0x18
call fcn.004d4bd9
add esp, 4
lea ecx, [eax + 0x18]
mov dword [esi], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], 0
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
push 0x40
call fcn.004d4bd9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov word [eax + 0xc], 0x101
mov dword [esi + 0x28], 0
mov dword [0x55aa44], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], 0
push edi
call fcn.004dc2cd
add esp, 4
mov ebx, eax
cmp ebx, 7
jbe 0x40c3f7
sub esp, 0xc
mov al, byte [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.00401822
jmp 0x40c413
mov eax, ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
add eax, eax
push eax
push edi
push ecx
call fcn.004d75c0
add esp, 0xc
mov word [ebp + ebx*2 - 0x28], 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040c480
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40c456
inc ecx
js 0x40c46c
mov eax, dword [ebp - 0x28]
add ecx, ecx
cmp ecx, 0x1000
jb 0x40c44d
test al, 0x1f
jne 0x40c46c
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x40c46c
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x40c46c
push eax
call fcn.004d4c09
add esp, 4
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004dc775
int3
Function at 0x40c480
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov edx, dword [0x5599f4]
mov eax, dword [ebp + 8]
mov esi, ecx
lea edi, [ebp - 0x24]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], 0
push edi
push 3
push eax
call fcn.00415b40
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x40c4f0
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x28], 0
jbe 0x40c4d1
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov ecx, esi
push edi
push dword [ebp - 0x28]
call fcn.0040bca0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x40c528
inc ecx
js 0x40c542
mov eax, dword [ebp - 0x24]
add ecx, ecx
cmp ecx, 0x1000
jb 0x40c51f
test al, 0x1f
jne 0x40c542
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x40c542
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x40c542
push eax
call fcn.004d4c09
add esp, 4
mov dword [ebp - 0x10], 7
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d4bc8
add esp, 0x20
pop esi
pop edi
pop ebp
ret 4
call fcn.004dc775
int3
Function at 0x412ec0
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 [0x5599f4]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x55aa78]
ucomisd xmm1, xmm0
jne 0x41303e
jp 0x41303e
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 eax, dword [0x55aa88]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x413063
mov eax, dword [0x55aa98]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x41309d
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 [0x55aa90]
movsd xmm2, qword [0x50ff58]
sbb ebx, dword [0x55aa94]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x50ff30]
subpd xmm1, xmmword [0x50ff40]
pshufd xmm0, xmm1, 0x4e
addpd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x41303e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x55aa80]
sbb ecx, dword [0x55aa84]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x50ff30]
subpd xmm2, xmmword [0x50ff40]
pshufd xmm1, xmm2, 0x4e
addpd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x55aa78], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.004d4bc8
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x55aa88
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55aa88]
cmp eax, 0xffffffff
jne 0x412f32
rdtsc
mov dword [0x55aa84], edx
mov dword [0x55aa80], eax
push 0x55aa88
call fcn.004d51bc
add esp, 4
jmp 0x412f32
push 0x55aa98
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55aa98]
cmp eax, 0xffffffff
jne 0x412f53
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd xmm0, qword [esp + 0x28]
movsd qword [0x55aa90], xmm0
push 0x55aa98
call fcn.004d51bc
add esp, 4
jmp 0x412f53
Function at 0x4144e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x5599f4]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x414548
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x414548
cmp dword [ebp - 0x14], 4
jne 0x414548
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.004d4c20
mov edx, dword [0x5599f4]
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1018]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x101c]
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x414693
mov eax, dword [ebp - 0x1018]
mov esi, dword [ebp + 0xc]
cmp eax, 2
je 0x4145fd
mov edi, 0x3f4
cmp eax, 1
jne 0x414693
push ebx
call fcn.004dc2cd
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x41465c
sub esp, 0xc
mov al, byte [ebp - 0x1010]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
jmp 0x414650
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x414693
lea eax, [ebp - 0x1010]
mov ebx, eax
push ebx
call fcn.004dc2cd
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, ebx
cmp eax, edi
jae 0x414670
sub esp, 0xc
mov al, byte [ebp - 0x1014]
mov byte [esp + 4], al
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp], edi
call fcn.00401822
jmp 0x414691
cmp eax, 8
mov eax, esi
jb 0x414665
mov esi, dword [eax]
mov ecx, edi
mov dword [eax + 0x10], edi
add ecx, ecx
push ecx
push ebx
jmp 0x414682
cmp eax, 8
mov eax, esi
jb 0x414679
mov esi, dword [eax]
mov edx, edi
mov dword [eax + 0x10], edi
add edx, edx
push edx
push ecx
push esi
call fcn.004d75c0
add esp, 0xc
mov word [esi + edi*2], 0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4146b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
push ebx
call fcn.004dc2cd
add esp, 4
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41b210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x5599f4]
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 4], 0
je 0x41b236
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b238
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41b259
mov al, byte [ebp + 0xc]
test al, al
je 0x41b29c
cmp byte [esi + 4], 0
je 0x41b28e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b290
cmp byte [esi + 4], 0
je 0x41b267
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b269
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41b280
xor ebx, ebx
jmp 0x41b30a
cmp byte [esi + 4], 0
je 0x41b2ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b2cc
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x41b2aa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b2ac
mov eax, dword [esi]
push eax
call fcn.00434690
add esp, 4
mov ecx, dword [0x55ab54]
mov bl, 1
test ecx, ecx
je 0x41b30a
push edi
push eax
call fcn.00431e90
jmp 0x41b30a
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41b2de
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x41b2ec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x41b2ee
mov eax, dword [esi]
push eax
call fcn.00434690
add esp, 4
mov ecx, dword [0x55ab54]
test ecx, ecx
je 0x41b308
push edi
push eax
call fcn.00431e90
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41d590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 0x14]
mov esi, ecx
xor eax, ebp
test edi, edi
mov dword [esp + 0x38], eax
js 0x41d616
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x30]
call fcn.0043e370
call fcn.0043e310
test al, al
je 0x41d5db
mov eax, edi
lea ecx, [esp + 0x30]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::Read
call fcn.0043e3a0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push edi
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d61d
mov ebx, dword [esp + 0xc]
jmp 0x41d62d
mov ebx, 0xffffffff
jmp 0x41d636
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [esp + 0x30]
call fcn.0043e380
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x41d650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 0xc]
mov esi, ecx
xor eax, ebp
test edi, edi
mov dword [ebp - 0x10], eax
js 0x41d6ae
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0043e370
call fcn.0043e310
test al, al
je 0x41d695
mov eax, edi
lea ecx, [ebp - 0x18]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::ReadAtCurrentPos
call fcn.0043e3a0
lea eax, [ebp - 0x1c]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d6b5
mov ebx, dword [ebp - 0x1c]
jmp 0x41d6c5
mov ebx, 0xffffffff
jmp 0x41d6cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [ebp - 0x18]
call fcn.0043e380
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x41d6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov esi, ecx
lea ecx, [esp + 0x30]
xor eax, ebp
mov dword [esp + 0x38], eax
call fcn.0043e370
call fcn.0043e310
test al, al
je 0x41d737
mov eax, ebx
lea ecx, [esp + 0x30]
sar eax, 0x1f
push eax
push ebx
push esi
push str.File::Write
call fcn.0043e3a0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
lea ecx, [esp + 0x30]
sbb esi, esi
or esi, dword [esp + 0xc]
call fcn.0043e380
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x41d7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 0xc]
mov esi, ecx
xor eax, ebp
test edi, edi
mov dword [ebp - 0x10], eax
js 0x41d807
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0043e370
call fcn.0043e310
test al, al
je 0x41d7e5
mov eax, edi
lea ecx, [ebp - 0x18]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.0043e3a0
lea eax, [ebp - 0x1c]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
lea ecx, [ebp - 0x18]
sbb esi, esi
or esi, dword [ebp - 0x1c]
call fcn.0043e380
jmp 0x41d80c
mov esi, 0xffffffff
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x41d830
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x5599f4]
mov esi, ecx
lea ecx, [esp + 0xc]
xor eax, ebp
mov dword [esp + 0x14], eax
call fcn.0043e370
call fcn.0043e310
test al, al
je 0x41d86d
lea ecx, [esp + 0xc]
push 0
push 0
push esi
push str.File::GetLength
call fcn.0043e3a0
mov eax, esp
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, dword [esp]
cmp eax, 1
lea ecx, [esp + 0xc]
sbb esi, esi
or edi, esi
or esi, dword [esp + 4]
call fcn.0043e380
mov ecx, dword [esp + 0x14]
xor ecx, ebp
call fcn.004d4bc8
mov eax, edi
mov edx, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x4241a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5599f4]
mov edi, ecx
lea esi, [edi + 4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [edi], 0x5103ec
mov dword [edi + 4], 0x510400
call fcn.0043fa70
mov ecx, eax
push edi
call fcn.0043fbf0
call fcn.00440c80
mov ecx, eax
push esi
call fcn.00441040
mov ecx, dword [edi + 8]
add ecx, 4
mov dword [ebp - 0x2c], ecx
call fcn.0042cc40
mov ecx, edi
call fcn.0041ea20
mov esi, dword [edi + 8]
mov dword [ebp - 0x18], edi
call fcn.0043fa70
movzx ecx, al
movzx edx, ah
mov edi, eax
mov ebx, dword [esi + 0x1b0]
mov dword [ebp - 0x24], eax
xor ecx, 0x811c9dc5
shr edi, 0x18
imul ecx, ecx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, eax
mov dword [ebp - 0x20], ebx
shr edx, 0x10
movzx edx, dl
xor edx, ecx
imul ecx, edx, 0x1000193
xor edi, ecx
imul ecx, edi, 0x1000193
mov edi, dword [esi + 0x1a8]
and ecx, dword [esi + 0x1bc]
lea esi, [esi + 0x1a4]
mov dword [ebp - 0x28], esi
mov eax, dword [ebx + ecx*8]
lea ecx, [ecx + ecx + 1]
mov dword [ebp - 0x1c], ecx
mov ebx, eax
jmp 0x424272
mov ebx, dword [ebx]
cmp eax, edi
mov ecx, edi
je 0x424283
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx + edx*4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x4242dc
mov ecx, dword [ebp - 0x24]
cmp dword [ebx + 8], ecx
jne 0x424270
mov esi, dword [ebp - 0x1c]
mov ecx, ebx
jmp 0x4242a2
mov ecx, dword [ecx]
cmp eax, edi
mov edx, edi
je 0x4242b0
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + esi*4]
mov edx, dword [edx]
cmp edx, ecx
je 0x4242bc
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 8]
je 0x4242a0
mov esi, dword [ebp - 0x18]
cmp ebx, ecx
mov eax, edi
je 0x4242e1
mov eax, ebx
nop word [eax + eax]
mov eax, dword [eax]
cmp ecx, eax
jne 0x4242d0
mov edi, ecx
mov eax, ebx
jmp 0x4242e1
mov esi, dword [ebp - 0x18]
mov eax, edi
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push edi
push eax
push edx
call fcn.00422cb0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 8]
add ecx, 0x180
push 0
call fcn.00434c70
mov edi, dword [esi + 0xc]
test edi, edi
je 0x42431f
mov ecx, edi
call fcn.00442ab0
push edi
call fcn.004d4c09
add esp, 4
mov ecx, esi
call fcn.00404580
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret