joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460e58
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
xor bl, bl
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x58], 0
cmp dword [edi + 0x24], 0
je 0x40707c
call fcn.00404e40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
je 0x40707c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea ecx, [esp + 0x20]
call fcn.004070e0
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.00407180
lea eax, [esp + 0x2c]
mov byte [esp + 0x58], 2
mov ecx, dword [edi + 0x24]
push eax
call fcn.00403f40
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40705a
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x58], 0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x40707a
lea eax, [edx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40707a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov bl, 1
mov dword [esp + 0x58], 0xffffffff
test esi, esi
je 0x40708f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x40709b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret

Function at 0x407810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
call fcn.00404e40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x407866
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x407862
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x407862
xor bl, bl
jmp 0x407878
mov bl, 1
jmp 0x407878
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x407890
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00407760
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408d25
cmp byte [ebp + 8], 0
je 0x408d19
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4127a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461298
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x18]
mov ecx, edx
push eax
call fcn.00416df0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0xc]
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 0x10
cmovae eax, dword [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], 0
call fcn.0044f9bd
add esp, 0xc
mov esi, eax
push edi
call fcn.00413ee0
mov dword [eax], esi
cmp dword [esp + 0x24], 8
jb 0x412833
push dword [esp + 0x10]
call fcn.0044da7e
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret
Function at 0x413480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [0x481500], 0
mov esi, eax
je 0x4134c3
call fcn.004364e0
mov dword [0x481500], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x4134ce
mov ecx, dword [ecx]
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.00436330
add esp, 8
mov dword [0x481500], eax
xor ecx, ecx
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret

Function at 0x41c0a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
movss xmm0, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x1c]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
sete al
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
movss dword [ebp - 4], xmm0
cmp eax, edx
jne 0x41c10c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0xf4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xf8]
mov dword [ebp - 0x14], eax
jmp 0x41c112
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x425bd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47c020]
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 esi, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x425c0e
mov eax, dword [esi]
jmp 0x425c10
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425d08
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
je 0x425ca8
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x425d02
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x425d02
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040fb90
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x425c97
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040f820
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x28]
call fcn.00410170
jmp 0x425d02
push 1
call edi
test eax, eax
je 0x425d02
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x425d02
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x425d02
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00419ad0
push 0
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00436800
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x40]
call fcn.00401c40
call dword [sym.imp.USER32.dll_CloseClipboard]
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.0044e224
mov esp, ebp
pop ebp
ret

Function at 0x425d30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425db0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x425d58
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
push ebx
push edi
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x425da8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x425d84
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.0044e690
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
push edi
mov word [ebx + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431460
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4628a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4314ab
push eax
call fcn.00450095
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4314bb
push eax
call fcn.00450095
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004124b0
push edi
mov dword [esp + 0x44], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x43151c
cmp word [edi], 0
jne 0x4314f9
xor ecx, ecx
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004153b0
jmp 0x43154a
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431500
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004153b0
jmp 0x43154a
cmp word [edi], 0
jne 0x431526
xor ecx, ecx
jmp 0x43153f
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x431530
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431530
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0040fb90
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push 0
cmovae eax, dword [esp + 0x1c]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x431581
push 0x63
push 0x46ef48
jmp 0x4315f7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x431599
push 0x63
push str.File_is_empty
jmp 0x4315f7
cmp edi, 0x400000
jbe 0x4315aa
push 0x63
push str.File_too_large
jmp 0x4315f7
push edi
mov dword [esp + 0x18], 0
call fcn.0044da02
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], edi
je 0x43161a
mov edi, dword [esp + 0x10]
push edi
call fcn.0044f003
add esp, 4
mov ecx, esi
call fcn.00431670
push 0x63
push str.Could_not_read_file
lea eax, [esi + 0x10]
push eax
call fcn.0044ffc3
push 0x31
lea eax, [esi + 0xd8]
push 0x46c6c0
push eax
call fcn.0044ffc3
add esp, 0x18
xor bl, bl
jmp 0x431633
push ecx
push edi
mov edi, dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.004313a0
push edi
mov bl, al
call fcn.0044f003
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x431646
push dword [esp + 0x18]
call fcn.0044da7e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret 8
Function at 0x433df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x433dfb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x433ec5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
dec edi
jne 0x433e10
pop edi
test esi, esi
je 0x433eea
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x46aec0]
dec esi
jne 0x433ed0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x433f00
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
and eax, 0xff
shr esi, 8
mov eax, dword [eax*4 + 0x46aec0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x46aec0]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x433f50
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push esi
mov bl, dl
mov edx, ecx
push edi
mov edi, dword [edx + 8]
mov esi, edi
mov ecx, dword [edx]
and esi, 0xfffd
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
shr eax, 8
xor bl, al
movsx eax, bl
xor eax, ecx
shr ecx, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x46aec0]
xor eax, ecx
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, edi
shr edi, 8
and eax, 0xff
xor edi, dword [eax*4 + 0x46aec0]
mov al, bl
mov dword [edx + 8], edi
pop edi
pop esi
pop ebx
ret
Function at 0x434620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x434663
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434655
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x434674
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.0044e690
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4346a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x4346db
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4346d6
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x434708
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x4346ec
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.0044e690
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x43471c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x434713
cmp byte [esi + 8], 0
je 0x434713
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x4348c5
cmp byte [edi + 1], 0
je 0x4348bd
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4348cb
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
push ebx
je 0x4348f0
cmp byte [edi + 1], 0
je 0x4348e9
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x4348f3
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x434902
mov ebx, dword [edi + 0x1c]
mov eax, 0xffff
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
cmp ebx, eax
jae 0x434905
mov dword [ebp - 8], ebx
push esi
push 0x404
call fcn.00450003
mov esi, eax
add esp, 4
test esi, esi
jne 0x434923
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
jbe 0x434a28
lea ebx, [ebx]
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x1c], edx
sub ebx, ecx
mov dword [ebp - 0x18], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x43498a
cmp byte [edi + 1], 0
je 0x434a28
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43498d
mov dword [edi + 0x1c], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x10], ebx
je 0x4349b5
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4349b0
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x4349de
mov edx, dword [edi + 0x1c]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
jbe 0x4349c8
mov ecx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, dword [edi + 0x14]
add ecx, edx
push ecx
push esi
call fcn.0044e690
mov eax, dword [ebp - 0x10]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x434a28
lea eax, [ebx - 3]
test eax, eax
js 0x434a10
mov edi, edi
dec eax
cmp byte [eax + esi], 0x50
jne 0x434a0c
cmp byte [eax + esi + 1], 0x4b
jne 0x434a0c
cmp byte [eax + esi + 2], 5
jne 0x434a0c
cmp byte [eax + esi + 3], 6
je 0x434a3b
test eax, eax
jns 0x4349f0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x434a28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x434940
push esi
call fcn.00450095
mov eax, dword [ebp - 4]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x434a13
Function at 0x435a20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x435ad2
cmp dword [esi + 4], 0xffffffff
jne 0x435ad2
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435a51
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x435a88
cmp eax, 0x2f
je 0x435a88
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x435a75
mov eax, dword [0x46c908]
mov dword [edi], eax
push 0x20
call fcn.0044da2d
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00434a50
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
pop edi
cmove ecx, edx
mov eax, ecx
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x440ce0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
lea esi, [ebx + 0x60]
sub ecx, dword [esi]
mov edx, dword [ebp - 0xc]
sbb edx, dword [esi + 4]
call fcn.0045ff8f
mulsd xmm0, qword [0x471e08]
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
movsd qword [ebp - 8], xmm0
call fcn.0045ff8f
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
push esi
addsd xmm1, qword [ebx + 0x20]
movsd qword [ebx + 0x20], xmm1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp dword [ebx + 0x40], 0
mov esi, eax
je 0x440d9b
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
jle 0x440d58
cmp esi, eax
jge 0x440d5e
cmp eax, ecx
jge 0x440d83
cmp esi, eax
jg 0x440d83
mov ecx, dword [ebx + 0x40]
mov esi, eax
mov dword [ebp - 4], esi
test ecx, ecx
je 0x440da4
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
call dword [eax + 8]
mov ecx, ebx
call fcn.00440db0
mov dword [ebx + 0x18], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebx + 0x18]
je 0x440d9b
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 4], esi
test ecx, ecx
je 0x440da9
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
call dword [eax + 8]
mov dword [ebx + 0x18], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044d928
call fcn.0044d928
int3
Function at 0x441700
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463d48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push 0
push 0
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
mov dword [esp + 0x1c], 7
xor eax, eax
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
mov dword [esp + 0x48], eax
test esi, esi
je 0x44184b
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.0040ea70
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
push esi
cmovae eax, dword [esp + 0xc]
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x44184b
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
cmp word [eax + ecx*2 - 2], 0
jne 0x4417e2
lea eax, [ecx - 1]
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00416df0
push eax
lea ecx, [esp + 0xc]
call fcn.00416db0
cmp dword [esp + 0x34], 8
jb 0x4417e2
push dword [esp + 0x20]
call fcn.0044da7e
add esp, 4
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
call fcn.00441970
mov esi, eax
add esp, 4
lea eax, [esp + 8]
cmp eax, esi
je 0x441831
cmp dword [esp + 0x1c], 8
jb 0x441810
push dword [esp + 8]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
call fcn.00412020
cmp dword [esp + 0x34], 8
jb 0x441844
push dword [esp + 0x20]
call fcn.0044da7e
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x44185b
push 0x3e
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [esp + 0x10]
call fcn.0040fb90
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
push 0xa
cmovae eax, dword [esp + 0xc]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1c], 8
jb 0x441890
push dword [esp + 8]
call fcn.0044da7e
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret
Function at 0x44d4e0
Capabilities:
Get thread local storage value

Disassembly:
call fcn.004027b0
jmp fcn.00402920
call fcn.00412460
push 1
call fcn.00401c20
add esp, 4
jmp 0x402a10