joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
mov dword [ebp - 0x14], ecx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
jne 0x45f848
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push esi
push str.CreateFile__s_
add eax, 0x48c
push 0x3ff
push eax
call fcn.00466ca7
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
mov eax, dword [esi*4 + 0x4d31f8]
test eax, eax
je 0x45f8a5
push eax
call fcn.00467824
mov edx, dword [esi*4 + 0x4d31f8]
add esp, 4
lea ecx, [ebp - 0x18]
mov ebx, eax
push 0
push ecx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45f8a5
push ebx
call fcn.00463c78
add esp, 4
inc esi
jmp 0x45f854
mov eax, dword [esi*4 + 0x4d31f8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x45f8f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push str.ReadFile__
add eax, 0x48c
push 0x3ff
push eax
call fcn.00466ca7
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0xc]
mov ecx, 0x10
xor eax, eax
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
call fcn.00460840
cmp eax, 1
lea esi, [ebx + 0x10]
je 0x45f922
lea esi, [ebx + 0x147]
mov edi, dword [ebp + 0xc]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00463c78
mov ecx, dword [ebp - 0xc]
add esp, 4
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460580
Capabilities:
Get storage device properties

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x810
mov ecx, 0x200
xor eax, eax
push esi
push edi
lea edi, [esp + 0x18]
test edx, edx
rep stosd dword es:[edi], eax
je 0x460617
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x460617
push eax
push eax
push 3
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x460617
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x20]
push 0x800
push ecx
lea edx, [esp + 0x18]
push 0xc
push edx
push 0x2d1400
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, edi
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
add esp, 0x810
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x810
ret 4

Function at 0x461b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cecbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 4]
push edi
mov dword [esp + 0x14], esi
mov byte [ecx], al
call fcn.00403b70
mov dword [esi], 0x4d2c18
mov dl, byte [esp + 0xf]
lea ecx, [esi + 0x14]
push edi
mov dword [esp + 0x24], edi
mov byte [ecx], dl
call fcn.00403b70
mov al, byte [esp + 0xf]
mov dword [esi + 0x28], edi
mov byte [esi + 0x24], al
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov cl, byte [esp + 0xf]
mov dword [esi + 0x38], edi
mov byte [esi + 0x34], cl
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dl, byte [esp + 0xf]
lea ecx, [esi + 0x44]
push edi
mov byte [esp + 0x24], 3
mov byte [ecx], dl
call fcn.00403b70
mov al, byte [esp + 0xf]
mov dword [esi + 0x58], edi
mov byte [esi + 0x54], al
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov cl, byte [esp + 0xf]
sub esp, 0x10
mov edx, esp
mov dword [esi], 0x4d2c28
mov ebx, dword [str.userinfo]
xor eax, eax
mov byte [edx], cl
mov dword [edx + 4], edi
mov dword [edx + 8], edi
mov dword [edx + 0xc], edi
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], esp
push ecx
push ebx
mov ecx, edx
mov byte [esp + 0x38], 5
call fcn.0040dc30
mov ecx, esi
call fcn.0044a830
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x4626a0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 0x10
mov eax, dword [0x4df858]
mov dl, byte [0x4df85e]
push edi
mov edi, ecx
mov cx, word [0x4df85c]
mov dword [esp + 0xc], eax
mov al, byte [edi]
mov dword [esp + 8], 0
test al, al
mov dword [esp + 4], 0
mov word [esp + 0x10], cx
mov byte [esp + 0x12], dl
jne 0x4626e5
mov eax, 0x8000400a
pop edi
add esp, 0x10
ret
lea eax, [esp + 8]
push esi
push eax
push 0x4e9f08
push 0x17
push 0
push 0x4e9ef8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x46271d
push esi
lea ecx, [esp + 0x14]
push 0x4e9ecc
push ecx
push 0x68
push edi
call fcn.004635b0
add esp, 0x14
jmp 0x46277d
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x46274a
push esi
lea edx, [esp + 0x14]
push 0x4e9ea0
push edx
push 0x70
push edi
call fcn.004635b0
add esp, 0x14
jmp 0x46277d
mov eax, dword [esp + 8]
lea edx, [edi + 0x104]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x462779
push esi
lea eax, [esp + 0x14]
push 0x4e9e74
push eax
push 0x78
push edi
call fcn.004635b0
add esp, 0x14
jmp 0x46277d
mov byte [edi + 1], 1
mov eax, dword [esp + 8]
test eax, eax
je 0x46278b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x462799
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
Function at 0x4753b0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x4faf58]
sub esp, 0x94
test eax, eax
jne 0x475589
push edi
mov ecx, 0x25
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x4753f8
mov eax, 0x80000000
mov dword [0x4faf58], eax
add esp, 0x94
ret
mov ecx, dword [esp + 8]
xor eax, eax
mov ah, byte [esp + 4]
and ecx, 0xff
and eax, 0xffff
or eax, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov dword [0x4faf58], eax
jne 0x475444
cmp eax, 0x40a
jne 0x475589
cmp byte [esp + 0x15], 0x41
jne 0x475589
mov eax, 0x40b
mov dword [0x4faf58], eax
add esp, 0x94
ret
cmp ecx, 2
jne 0x475589
or eax, 0x10000
cmp eax, 0x10501
mov dword [0x4faf58], eax
jne 0x4754e5
lea edx, [esp + 0x14]
push str.Service_Pack_2
push edx
call fcn.00468480
add esp, 8
test eax, eax
je 0x475484
mov eax, 0x10503
mov dword [0x4faf58], eax
jmp 0x4754e5
mov eax, dword [0x4faf58]
cmp eax, 0x10501
jne 0x4754e5
lea eax, [esp + 0x14]
push str.Service_Pack_3
push eax
call fcn.00468480
add esp, 8
test eax, eax
je 0x4754b2
mov eax, 0x10506
mov dword [0x4faf58], eax
jmp 0x4754e5
mov eax, dword [0x4faf58]
cmp eax, 0x10501
jne 0x4754e5
lea ecx, [esp + 0x14]
push str.Service_Pack_4
push ecx
call fcn.00468480
add esp, 8
test eax, eax
je 0x4754e0
mov eax, 0x10508
mov dword [0x4faf58], eax
jmp 0x4754e5
mov eax, dword [0x4faf58]
cmp dword [esp + 4], 5
jne 0x475570
cmp dword [esp + 8], 2
jne 0x475589
lea edx, [esp + 0x14]
push str.Service_Pack_1
push edx
mov dword [0x4faf58], 0x10502
call fcn.00468480
add esp, 8
test eax, eax
je 0x475527
mov eax, 0x10504
mov dword [0x4faf58], eax
jmp 0x475570
lea eax, [esp + 0x14]
push str.Service_Pack_2
push eax
call fcn.00468480
add esp, 8
test eax, eax
je 0x475549
mov eax, 0x10505
mov dword [0x4faf58], eax
jmp 0x475570
lea ecx, [esp + 0x14]
push str.Service_Pack_3
push ecx
call fcn.00468480
add esp, 8
test eax, eax
je 0x47556b
mov eax, 0x10507
mov dword [0x4faf58], eax
jmp 0x475570
mov eax, dword [0x4faf58]
cmp dword [esp + 4], 6
jne 0x475589
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x475589
mov eax, 0x10600
mov dword [0x4faf58], eax
add esp, 0x94
ret
Function at 0x476120
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x244
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esi + 0x1000c]
mov dword [esp + 8], eax
cmp ecx, eax
je 0x4762dc
push ebx
push ebp
mov dword [esi + 0x1000c], eax
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [esi + 0x1002c]
mov dword [esi + 0x10018], eax
mov dword [esi + 0x1001c], eax
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esi + 0x10030]
mov byte [esp + 0x153], 0
mov ebx, 1
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
mov ebp, 1
mov ecx, ebx
shl ebp, cl
test edx, ebp
je case.default.0x4761d1
lea edi, [ebx + 0x41]
lea eax, [esp + 0x4c]
push edi
push str._c:_
push eax
call fcn.00467d68
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x4761d1
jmp dword [eax*4 + 0x4762e4]
mov ecx, dword [esi + 0x10018]
mov eax, dword [esi + 0x1001c]
mov edx, dword [esp + 0x10]
or ecx, ebp
or eax, ebp
mov dword [esi + 0x10018], ecx
mov dword [esi + 0x1001c], eax
mov dword [edx], 1
jmp case.default.0x4761d1
mov ecx, dword [esi + 0x10018]
mov eax, dword [esi + 0x1001c]
or ecx, ebp
or eax, ebp
mov dword [esi + 0x1001c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10018], ecx
mov dword [eax], 4
jmp case.default.0x4761d1
push edi
lea ecx, [esp + 0x1c]
push str.._c:
push ecx
call fcn.00467d68
lea edx, [esp + 0x24]
push edx
call fcn.00476de0
add esp, 0x10
cmp eax, 7
jne 0x476265
mov eax, dword [esi + 0x1001c]
or eax, ebp
mov dword [esi + 0x1001c], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
lea edi, [esp + 0x4c]
lea eax, [esp + 0x150]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x476294
test cl, cl
je 0x476290
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x476294
add eax, 2
add edi, 2
test cl, cl
jne 0x476270
xor eax, eax
jmp 0x476299
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je case.default.0x4761d1
or dword [esi + 0x10018], ebp
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 4
cmp ebx, 0x20
mov dword [esp + 0x10], ecx
jb 0x47618f
mov eax, dword [esi + 0x10018]
push eax
push str.Current_drivers_mask_hooked:_d_n
call fcn.00468742
add esp, 8
mov ecx, esi
call fcn.00476300
pop edi
pop ebp
mov dword [esi + 0x10018], eax
pop ebx
pop esi
add esp, 0x244
ret
Function at 0x4768d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov al, byte [esi + 0xc]
test al, al
je 0x476993
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00475e70
mov ecx, esi
call fcn.00476120
mov eax, dword [esi + 0x10008]
lea edi, [esi + 0x10004]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea ebx, [esi + 0xe]
push edi
push 0xfff3
push ebx
push 0
push 0
push 0x8300000b
push eax
call ebp
test eax, eax
je 0x476986
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47694a
mov ecx, dword [esi + 8]
call fcn.00478010
mov dword [esp + 0x10], 1
cmp dword [edi], 0
je 0x476993
mov ecx, esi
call fcn.004769a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x3e8
ja 0x476993
mov ecx, dword [esi + 0x10008]
push 0
push edi
push 0xfff3
push ebx
push 0
push 0
push 0x8300000b
push ecx
call ebp
test eax, eax
jne 0x476932
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x476c90
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x476cc1
push str.OpenProcessToken
call fcn.004c7d0e
add esp, 4
mov eax, 0x10
add esp, 0x14
ret
lea ecx, [esp + 8]
push esi
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x476d16
call esi
push eax
push str.AdjustTokenPrivileges_error__d_n
call fcn.00468742
add esp, 8
call esi
test eax, eax
pop esi
je 0x476d33
push str.AdjustTokenPrivileges
call fcn.004c7d0e
add esp, 4
mov eax, 0x10
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x476de0
Capabilities:
Get storage device properties

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x410
test edx, edx
push esi
push edi
je 0x476e6a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x476e6a
push eax
push eax
push 3
push eax
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x476e6a
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x20]
push 0x400
push ecx
lea edx, [esp + 0x18]
push 0xc
push edx
push 0x2d1400
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, edi
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
add esp, 0x410
ret
pop edi
xor eax, eax
pop esi
add esp, 0x410
ret
Function at 0x490980
Capabilities:
Enumerate files on windows
Get disk information
Query environment variable

Disassembly:
sub esp, 0x350
push esi
mov dword [esp + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
test esi, esi
je 0x490ae5
lea eax, [esp + 0x250]
push 0x104
push eax
push 0x4df7a8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x490ae5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebp
mov ebp, dword [esp + 0x360]
shr esi, 2
push edi
mov dword [esp + 0x10], esi
mov edi, 0x43
test byte [esp + 0x10], 1
je 0x490acb
push edi
push str._c:
lea ecx, [esp + 0x20]
push 0x103
push ecx
call fcn.00466ca7
add esp, 0x10
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x490acb
lea ecx, [esp + 0x148]
lea edx, [esp + 0x18]
push ecx
push edi
push str._c:_s
push 0x103
push edx
call fcn.00466ca7
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x270]
push eax
push ecx
call fcn.004c7fde
add esp, 0x1c
test eax, eax
je 0x490a59
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.00490af0
lea eax, [esp + 0x11c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x490ac4
lea ecx, [esp + 0x148]
lea edx, [esp + 0x18]
push ecx
push edi
push str._c:_s
push 0x103
push edx
call fcn.00466ca7
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x270]
push eax
push ecx
call fcn.004c7fde
add esp, 0x1c
test eax, eax
je 0x490ab1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.00490af0
lea eax, [esp + 0x11c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x490a6c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
inc edi
shr ecx, 1
mov dword [esp + 0x10], ecx
lea ecx, [edi - 0x41]
cmp ecx, 0x1a
jl 0x4909d7
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x350
ret 4
Function at 0x491890
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esp + 0xc], 0
je 0x49191c
lea eax, [esp + 0x18]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x49191c
push esi
call fcn.00468f41
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x49191c
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x491913
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x4e2314
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x491913
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov ecx, 0xd
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00468e58
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
push ebx
call fcn.00468e58
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4919a0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
lea eax, [esp]
push esi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], ecx
pop esi
add esp, 0x20
ret
Function at 0x496960
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x496990
push esi
call fcn.0049acf0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x496989
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x496a13
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4969ff
mov eax, dword [esi + 8]
test eax, eax
je 0x4969b4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4969fb
cmp eax, 2
je 0x4969ff
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4969a7
cmp eax, 3
je 0x4969da
cmp eax, 1
jne 0x4969a7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4969a7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4969a7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00496a40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x496a33
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00496a40
add esp, 4
pop esi
ret

Function at 0x4b5220
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
pop ebp
ret

Function at 0x4b7454
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
pop ebp
ret

Function at 0x4bb7e4
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
pop ebp
ret
Function at 0x10003948
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f080]
jne 0x10003952
repz ret
jmp fcn.1000520b

Function at 0x1000a7cd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10004cd2
xor ebx, ebx
cmp dword [0x10010a6c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1000a8a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1000a80d
xor eax, eax
jmp 0x1000a966
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000a806
push eax
call fcn.10004c6f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10010a6c], eax
call esi
push eax
call fcn.10004c6f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10010a70], eax
call esi
push eax
call fcn.10004c6f
mov dword [0x10010a74], eax
lea eax, [ebp - 8]
push eax
call fcn.100053b8
test eax, eax
pop ecx
pop ecx
je 0x1000a870
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100049ea
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1000a8a2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10004c6f
cmp eax, ebx
pop ecx
mov dword [0x10010a7c], eax
je 0x1000a8a2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10004c6f
pop ecx
mov dword [0x10010a78], eax
mov eax, dword [0x10010a78]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1000a91b
cmp dword [0x10010a7c], esi
je 0x1000a91b
push eax
call fcn.10004cdb
pop ecx
call eax
cmp eax, ebx
je 0x1000a8e8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10010a7c]
call fcn.10004cdb
pop ecx
call eax
test eax, eax
je 0x1000a8e8
test byte [ebp - 0x18], 1
jne 0x1000a91b
lea eax, [ebp - 0xc]
push eax
call fcn.100053ef
test eax, eax
pop ecx
je 0x1000a903
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100049ea
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1000a912
or dword [ebp + 0x10], 0x200000
jmp 0x1000a94c
or dword [ebp + 0x10], 0x40000
jmp 0x1000a94c
mov eax, dword [0x10010a70]
cmp eax, esi
je 0x1000a94c
push eax
call fcn.10004cdb
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000a94c
mov eax, dword [0x10010a74]
cmp eax, esi
je 0x1000a94c
push dword [ebp - 4]
push eax
call fcn.10004cdb
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10010a6c]
call fcn.10004cdb
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret