joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415580
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513351
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x27c]
push esi
mov ecx, edi
call fcn.00405990
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00405990
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.00405990
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.00405990
lea eax, [esi + 0x60]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x60]
call fcn.00405990
lea eax, [esi + 0x78]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x78]
call fcn.00405990
lea eax, [esi + 0x90]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x90]
call fcn.00405990
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xa8]
call fcn.00405990
lea eax, [esi + 0xc0]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xc0]
call fcn.00405990
lea eax, [esi + 0xd8]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0xd8]
call fcn.00405990
lea eax, [esi + 0xf0]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0xf0]
call fcn.00405990
lea eax, [esi + 0x108]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x108]
call fcn.00405990
lea eax, [esi + 0x120]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x120]
call fcn.00405990
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [edi + 0x138]
call fcn.00405990
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41f33b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41f33b
cmp dword [eax + 4], 0x100
jne 0x41f33b
mov eax, dword [eax + 8]
cmp eax, 0x4c
je 0x41f335
add eax, 0xffffffb2
cmp eax, 2
ja 0x41f33b
xor eax, eax
pop ebp
ret 0x10
mov eax, 1
pop ebp
ret 0x10

Function at 0x4257d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0
push 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi - 0x50]
push eax
push 0x425f80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
pop esi
setne al
pop ebp
ret 8
Function at 0x425a20
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
je 0x425b04
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425b92
push esi
mov dword [edi + 0x54], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x425b92
push dword [edi + 4]
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x425b92
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x425aa0
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [edi + 0x54]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [edi + 0x54]
call esi
push eax
push 0
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 0x54]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, edi
call fcn.00425940
push 0x57
push 0
push 0
push 0
push 0
jmp 0x425b87
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [edi + 0x54]
call esi
push 0
push dword [edi + 4]
mov ebx, eax
call esi
push 0
mov esi, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x425b43
push 0
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
jne 0x425b35
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
cmp eax, ecx
je 0x425b77
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434140
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
push 0
lea ecx, [esi + 4]
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::ShowWindow_int_]
cmp byte [esi + 0x224], 0
je 0x43418c
cmp byte [esi + 0x153], 0
je 0x434176
push 0
push 0
push 0x465
lea ecx, [esi + 4]
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::PostMessageW_unsigned_int__unsigned_int__long_int_]
pop esi
pop ebx
ret
push 0x3e8
push 0x3fe
lea ecx, [esi + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::SetWindowTimer_unsigned_int__unsigned_int_]
pop esi
pop ebx
ret
push edi
lea ecx, [esi + 0x188]
call fcn.0043a0f0
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x4341f2
mov eax, dword [eax + 8]
test eax, eax
je 0x4341f2
cmp byte [eax + 8], 0
je 0x4341f2
mov ecx, dword [esi + 0x14c]
push 0x4e20
call fcn.004b8ae0
test al, al
jne 0x4341f2
mov ecx, dword [esi + 0x14c]
call fcn.004b8bd0
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x4341f2
push 0xfffffffffffffffe
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x114]
mov eax, dword [sym.imp.2345MiniUI.dll_public:_bool___thiscall_RC::RCMiniUIGifView::IsPlaying_void_]
mov edi, dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIGifView::Stop_void_]
mov dword [esi + 0x140], 0
test ecx, ecx
je 0x434224
call eax
test al, al
je 0x43421f
mov ecx, dword [esi + 0x114]
call edi
mov eax, dword [sym.imp.2345MiniUI.dll_public:_bool___thiscall_RC::RCMiniUIGifView::IsPlaying_void_]
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x43423c
call eax
test al, al
je 0x43423c
mov ecx, dword [esi + 0x118]
call edi
push 0
push 0
push 0x10
lea ecx, [esi + 4]
mov byte [esi + 0x150], 1
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::PostMessageW_unsigned_int__unsigned_int__long_int_]
pop edi
pop esi
pop ebx
ret
Function at 0x439960
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5166a6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
mov dword [ebx], vtable.RC::RCBootAssistantMainImpl.0
call fcn.004b8cd0
lea ecx, [ebx + 0x24]
call fcn.004b8cd0
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 3
push 0x174
mov byte [ebx + 0x48], 0
call fcn.0050f4b1
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
lea ecx, [edi + 0x4c]
mov word [edi + 0x48], 1
call fcn.004b8cd0
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 8
call fcn.004b8c80
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 9
call fcn.004b8c80
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 0xa
call fcn.004b8c80
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 0xb
call fcn.00439750
lea esi, [edi + 0x164]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f1d0
mov dword [esi], eax
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
lea esi, [ebx + 0x5c]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043cc90
mov dword [esi], eax
mov dword [ebx + 0x64], 1
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0x4e20
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov word [ebx + 0x80], 0
xor eax, eax
mov dword [ebx + 0x88], 0x3c
mov dword [ebx + 0x8c], 0x3c
mov dword [ebx + 0x90], 0
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov byte [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 5
mov dword [ebx + 0xa4], 0x3c
mov word [ebx + 0xa8], 0x100
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 7
mov word [ebx + 0xac], ax
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], 7
mov word [ebx + 0xc4], ax
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xf0], 7
mov word [ebx + 0xdc], ax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a0f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x80], 0
je 0x43a22f
mov eax, dword [esi + 0x44]
mov byte [esi + 0x80], 0
mov byte [esi + 0xa8], 1
push edi
test eax, eax
je 0x43a19b
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43a12b
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 8]
test eax, eax
je 0x43a175
cmp byte [eax + 8], 0
je 0x43a175
mov ecx, dword [esi + 0x44]
push 0x4e20
call fcn.004b8ae0
test al, al
jne 0x43a175
mov ecx, dword [esi + 0x44]
call fcn.004b8bd0
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x43a175
push 0xfffffffffffffffe
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 0x44]
test edi, edi
je 0x43a19b
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x43a194
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x7c]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
test ecx, ecx
je 0x43a1d2
add ecx, 4
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::IsWindow_void_const]
test eax, eax
je 0x43a1bd
mov eax, dword [esi + 0x7c]
push dword [eax + 4]
call edi
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x43a1cb
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x7c], 0
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x43a20b
call fcn.00442d60
mov ecx, dword [esi + 0x78]
add ecx, 4
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::IsWindow_void_const]
test eax, eax
je 0x43a1f6
mov eax, dword [esi + 0x78]
push dword [eax + 4]
call edi
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x43a204
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x78], 0
mov eax, dword [esi + 4]
pop edi
test eax, eax
je 0x43a22f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x43a228
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
xor eax, eax
pop esi
ret
Function at 0x4487f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x573054]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x448828
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
shrd eax, ecx, 0x14
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret

Function at 0x448a70
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
je 0x448a9a
mov bl, 1
jmp 0x448aa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
push dword [ebp - 8]
push 0x539600
call fcn.00445860
add esp, 8
test bl, bl
je 0x448adb
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
push dword [ebp - 8]
cmp eax, 1
push 0x5395e0
sete bl
call fcn.00445860
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0050f48d
mov esp, ebp
pop ebp
ret
Function at 0x44c6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 8], 1
call fcn.0050fb00
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050fb00
mov ecx, dword [ebp - 0x10]
mov ebx, eax
add ecx, ecx
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0xc]
add ecx, ecx
push ecx
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_SHEnumValueW]
mov esi, eax
test esi, esi
je 0x44c7fc
cmp esi, 0xea
jne 0x44c84c
add dword [ebp - 0x10], 0x104
add dword [ebp - 0xc], 0x104
push ebx
call fcn.0050fafb
push edi
call fcn.0050fafb
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov ebx, 2
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050fb00
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050fb00
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x28
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHEnumValueW]
mov esi, eax
test esi, esi
jne 0x44c762
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x44c810
cmp eax, 2
je 0x44c810
mov esi, 0xb
jmp 0x44c84c
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44c815
sub edx, ecx
mov ecx, dword [ebp - 0x18]
sar edx, 1
push edx
push edi
call fcn.004033d0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c833
mov ecx, dword [ebp - 0x1c]
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.004033d0
test ebx, ebx
je 0x44c859
push ebx
call fcn.0050fafb
add esp, 4
test edi, edi
je 0x44c866
push edi
call fcn.0050fafb
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45f190
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a468
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebx], 0
cmp dword [eax + 4], 0
je 0x45f22f
lea esi, [eax + 0x20]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
call fcn.0045f0f0
add esp, 8
test al, al
jne 0x45f237
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call eax
or eax, 0xffffffff
jmp 0x45f2ce
mov dword [ebp - 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
add dword [edi + 0x10], eax
adc dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x14]
mov ebx, eax
cmp ebx, dword [edi + 4]
je 0x45f2cc
movd xmm1, esi
mov ecx, esi
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
shr eax, 0x1f
mov edx, dword [edi + 0x14]
movd xmm0, ebx
addsd xmm1, qword [ecx*8 + 0x5413a0]
cvtdq2pd xmm0, xmm0
mov ecx, dword [edi + 0x10]
addsd xmm0, qword [eax*8 + 0x5413a0]
divsd xmm1, xmm0
movsd qword [edi + 0x18], xmm1
call fcn.005115d0
mov ecx, ebx
mov dword [edi + 4], ebx
sub ecx, dword [edi]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
addsd xmm1, qword [ecx*8 + 0x5413a0]
divsd xmm0, xmm1
movsd qword [edi + 0x20], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bb98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405990
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004b40d0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00405900
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x46865d
call fcn.00403360
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4685a0
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x4685ba
mov ecx, esi
cmp eax, 8
jb 0x4685af
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x4686d8
mov ecx, esi
cmp eax, 8
jb 0x4685c3
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x4685d9
mov ecx, esi
cmp eax, 8
jb 0x4685d2
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x46862e
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.004b3eb0
mov eax, dword [esi + 0x14]
add esp, 4
mov ecx, esi
cmp eax, 8
jb 0x4685f7
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x46862e
mov ecx, esi
cmp eax, 8
jb 0x468607
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x46862e
mov ecx, esi
cmp eax, 8
jb 0x468617
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x46862e
cmp eax, 8
jb 0x468624
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x4686b9
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004032a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret
call fcn.00405900
cmp eax, 2
jne 0x46862e
lea ecx, [ebp - 0x28]
call fcn.00403360
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x46867b
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x46862e
mov edx, eax
cmp ecx, 8
jb 0x46868b
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x46862e
cmp ecx, 8
jb 0x468698
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x46862e
push 0x539e20
call fcn.004035e0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x539e20
call fcn.00405d80
lea ecx, [ebp - 0x28]
call fcn.00405910
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46862e
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x468630
Function at 0x46de60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x577540], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x577240], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x577440], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x577340], al
inc esi
cmp esi, 0x100
jl 0x46df70
pop esi
add esp, 0x80
ret
Function at 0x470f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cc48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x47103b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.00463d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004058f0
test al, al
jne 0x47102c
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.00405910
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47102c
test esi, esi
je 0x47102c
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004032a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 4