joyce8/EMBER2024-capa huggingface dataset:
Function at 0x507cb4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x507d4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x574db8]
cmp dword [eax + 4], 0x60000
jl 0x507cec
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00507e30
mov eax, dword [ebp - 8]
call fcn.00505ab8
test al, al
je 0x507d1c
mov eax, dword [ebp - 8]
call fcn.00404c54
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x507d1c
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x418]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507d52
lea eax, [ebp - 8]
call fcn.00404794
ret

Function at 0x50b8e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404c54
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x50b921
dec eax
je 0x50b903
sub eax, 2
je 0x50b921
jmp 0x50b932
mov al, byte [ebx]
call fcn.004caec8
test al, al
je 0x50b932
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.00403b7c
jmp 0x50b932
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.00403b7c
pop esi
pop ebx
pop ebp
ret

Function at 0x50b938
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50b9e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f8], 0
jne 0x50b986
push 0x465
mov eax, dword [ebp - 4]
call fcn.0046f4e8
mov ecx, eax
mov dl, 1
mov eax, dword [0x507fcc]
call fcn.00508038
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.00508500
lea eax, [ebp - 8]
mov edx, 0x50b9fc
call fcn.0040482c
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x50b9d1
test bl, 1
je 0x50b9ca
lea eax, [ebp - 8]
call fcn.00404cac
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.0050b8e0
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x50b9ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b9ee
lea eax, [ebp - 8]
call fcn.00404794
ret
Function at 0x50c68c
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404c44
xor eax, eax
push ebp
push 0x50c7aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50c77d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c54
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x50c75a
test byte [ebp - 0x14c], 0x10
jne 0x50c73d
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404a04
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004091e4
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x50c700
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x50c766
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c784
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x512528
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x512537
je 0x51253f
jmp 0x512567
mov eax, dword [ebx + 8]
mov dword [esp], eax
jmp 0x51256c
cmp dword [ebx + 8], 0
jne 0x51255f
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x574dd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
mov dword [esp], eax
jmp 0x51256c
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
pop edx
pop ebx
ret
Function at 0x5188fc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x518918
cmp dword [esi + 4], 0
je 0x518945
test byte [ebx + 0x55], 1
jne 0x518937
mov eax, ebx
call fcn.0046b238
test eax, eax
jne 0x518937
mov edx, esi
mov eax, ebx
call fcn.00471964
jmp 0x518a39
mov edx, esi
mov eax, ebx
call fcn.0046c630
jmp 0x518a39
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x518a32
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046f4e8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0046855c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.005188fc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046f4e8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518a39
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51b9d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c44
xor eax, eax
push ebp
push 0x51ba21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c54
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x51ba05
test al, 1
jne 0x51ba09
xor ebx, ebx
jmp 0x51ba0b
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ba28
lea eax, [ebp - 4]
call fcn.00404794
ret
Function at 0x5202f4
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov esi, eax
lea edi, [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebp, edx
mov edx, ebp
mov eax, 0x571114
mov ecx, 0x48
call fcn.004029f8
lea edx, [ebp + 0x48]
mov eax, 0x57115c
mov ecx, 0x1000
call fcn.004029f8
xor edi, edi
mov esi, 0x12
mov dword [esp + 8], ebp
xor edx, edx
mov eax, 4
shl edx, 8
xor ecx, ecx
mov cl, byte [esp + edi + 0xc]
or edx, ecx
inc edi
cmp edi, 0x10
jl 0x52034f
xor edi, edi
dec eax
jne 0x52033c
mov eax, dword [esp + 8]
xor dword [eax], edx
add dword [esp + 8], 4
dec esi
jne 0x520335
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esp
mov eax, ebp
mov cl, 1
call fcn.005203d0
mov eax, dword [esp]
mov dword [ebp + esi*4], eax
mov eax, dword [esp + 4]
mov dword [ebp + esi*4 + 4], eax
add esi, 2
cmp esi, 0x11
jle 0x52036d
mov edi, 4
mov ebx, ebp
xor esi, esi
mov edx, esp
mov eax, ebp
mov cl, 1
call fcn.005203d0
mov eax, dword [esp]
mov dword [ebx + esi*4 + 0x48], eax
mov eax, dword [esp + 4]
mov dword [ebx + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0xff
jle 0x520398
add ebx, 0x400
dec edi
jne 0x520396
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5203d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov byte [esp], cl
mov esi, edx
mov ebx, eax
lea edi, [esp + 1]
mov edx, edi
mov eax, esi
mov ecx, 8
call fcn.004029f8
cmp byte [esp], 0
je 0x520483
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, 1
xor edx, edx
mov dl, byte [edi + 3]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 2]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4]
xor ecx, dword [esi + 4]
xor edx, ecx
mov dword [esi + 4], edx
xor edx, edx
mov dl, byte [edi + 7]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 6]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 5]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi + 4]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4 + 4]
xor ecx, dword [esi]
xor edx, ecx
mov dword [esi], edx
add eax, 2
cmp eax, 0x10
jle 0x520402
mov eax, dword [ebx + 0x44]
xor dword [esi + 4], eax
jmp 0x520508
mov eax, dword [ebx + 0x44]
xor dword [esi + 4], eax
mov eax, 0x10
xor edx, edx
mov dl, byte [edi + 7]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 6]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 5]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi + 4]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4]
xor ecx, dword [esi]
xor edx, ecx
mov dword [esi], edx
xor edx, edx
mov dl, byte [edi + 3]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 2]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4 - 4]
xor ecx, dword [esi + 4]
xor edx, ecx
mov dword [esi + 4], edx
sub eax, 2
cmp eax, 1
jge 0x52048e
mov eax, dword [ebx]
xor dword [esi], eax
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x520cec
Capabilities:
Hash data with md5

Disassembly:
push ebx
add esp, 0xffffffa8
mov ebx, eax
mov edx, esp
mov eax, ebx
mov ecx, 0x58
call fcn.004029f8
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov edx, ebx
mov eax, esp
mov ecx, 0x58
call fcn.004029f8
add esp, 0x58
pop ebx
ret
Function at 0x5212f0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00520fe4
mov dword [ebx + 0xc], 0x67452301
mov dword [ebx + 0x10], 0xefcdab89
mov dword [ebx + 0x14], 0x98badcfe
mov dword [ebx + 0x18], 0x10325476
mov dword [ebx + 0x1c], 0xc3d2e1f0
pop ebx
ret

Function at 0x52226c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov ebx, eax
mov esi, esp
mov edi, 0x57219c
mov eax, dword [edi]
mov dword [ebx + 4], eax
push esi
call sub.kernel32.dll_GetLocalTime
mov ecx, dword [edi]
and ecx, 0xf
mov eax, dword [ebx + 4]
shl eax, cl
mov dx, word [esi + 8]
or dx, word [esi + 0xc]
movzx edx, dx
shl edx, 0x10
mov cx, word [esi + 0xa]
or cx, word [esi + 0xe]
movzx ecx, cx
or edx, ecx
xor eax, edx
mov dword [ebx + 4], eax
mov dword [edi], eax
inc dword [edi]
cmp dword [ebx + 4], 0
je 0x52227b
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x52526c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x5253a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx], 0x1000
jle 0x5252cb
lea edx, [ebp - 0x100c]
mov eax, dword [0x574814]
call fcn.00406808
mov ecx, dword [ebp - 0x100c]
mov dl, 1
mov eax, dword [0x408254]
call fcn.0040e4fc
call fcn.0040414c
xor ecx, ecx
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
mov byte [ebp + ecx - 0x1008], al
inc ecx
cmp dword [ebx], 0x7f
jle 0x525322
mov eax, dword [ebx]
mov esi, 0xff
cdq
idiv esi
mov esi, eax
test esi, esi
jne 0x5252f7
mov esi, 1
mov eax, esi
or al, 0x80
mov byte [ebp + ecx - 0x1008], al
add ecx, esi
mov eax, esi
test eax, eax
jle 0x52531d
mov edx, dword [ebx]
and dl, 0xff
mov byte [ebp + ecx - 0x1008], dl
shr dword [ebx], 8
dec ecx
dec eax
jne 0x52530a
inc esi
add ecx, esi
jmp 0x52532c
mov eax, dword [ebx]
mov byte [ebp + ecx - 0x1008], al
inc ecx
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebx], eax
cmp dword [ebx], 0x1000
jle 0x525362
lea edx, [ebp - 0x1010]
mov eax, dword [0x574814]
call fcn.00406808
mov ecx, dword [ebp - 0x1010]
mov dl, 1
mov eax, dword [0x408254]
call fcn.0040e4fc
call fcn.0040414c
lea edx, [ebp + ecx - 0x1008]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004029f8
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1008]
call fcn.004029f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5253a9
lea eax, [ebp - 0x1010]
mov edx, 2
call fcn.004047b8
ret
Function at 0x527d9c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404794
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x527e12
test bl, bl
je 0x527dd8
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
or eax, 0x1000000
jmp 0x527dea
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x527e12
push pe_nt_image_headers32
lea edx, [ebp - 0x104]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404a04
mov eax, dword [esi]
call fcn.00404a54
dec eax
jg 0x527e45
lea ecx, [ebp - 4]
lea edx, [ebp - 2]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00527880
mov ax, word [ebp - 4]
call fcn.005278b4
test al, al
je 0x527e45
mov edx, esi
mov ax, word [ebp - 4]
call fcn.005278c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x536f24
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x128], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53709b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x537041
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x20
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.0040a7c0
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
mov ecx, 0xff
call fcn.00404a30
lea edx, [ebp - 0x124]
lea eax, [ebx + 0x310]
mov cl, 0x13
call fcn.004030dc
lea edi, [ebx + 0x324]
mov esi, 0x5370ac
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0xda7]
mov dword [ebx + 0x3c0], eax
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0xdab]
mov dword [ebx + 0x3c4], eax
mov eax, dword [0x575048]
mov eax, dword [eax]
mov ax, word [eax + 0xe37]
mov word [ebx + 0x3c8], ax
mov eax, dword [0x575048]
mov eax, dword [eax]
mov ax, word [eax + 0xe39]
mov word [ebx + 0x3ca], ax
mov eax, dword [0x575048]
mov eax, dword [eax]
mov ax, word [eax + 0xe3b]
mov word [ebx + 0x3cc], ax
mov eax, dword [0x575048]
mov eax, dword [eax]
mov al, byte [eax + 0xe3d]
mov byte [ebx + 0x3ce], al
lea eax, [ebx + 0x3d8]
mov edx, 0x34
call fcn.00407a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537082
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5370a2
lea eax, [ebp - 0x128]
call fcn.00404794
ret
Function at 0x537bc4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x537dea
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x537c25
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [0x577498]
mov eax, dword [eax + 0x2f8]
mov ecx, 0xc
call fcn.004f35c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537c2f
cmp dword [ebp - 0x1c], 0x19810719
jne 0x537d82
mov eax, dword [ebp - 0x14]
test eax, eax
jbe 0x537c8a
cmp eax, 0x100000
jae 0x537c8a
call fcn.00402784
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x537c80
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [0x577498]
mov eax, dword [eax + 0x2f8]
mov ecx, dword [ebp - 0x14]
call fcn.004f35c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537c8a
mov eax, dword [ebp - 0x18]
mov edx, eax
add edx, 0xfffffff3
cmp edx, 0x10
ja case.0x537c9b.19
jmp dword [edx*4 + 0x537ca2]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537e22
mov eax, dword [0x575048]
mov eax, dword [eax]
xor edx, edx
call fcn.0055d270
push 0xbb8
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537e22
mov eax, dword [0x577498]
call fcn.00538f60
jmp case.0x537c9b.19
mov eax, dword [0x577498]
call fcn.00539108
jmp case.0x537c9b.19
mov eax, dword [0x577498]
call fcn.00538eb8
jmp case.0x537c9b.19
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x577498]
call fcn.00539928
jmp case.0x537c9b.19
mov eax, dword [0x577498]
call fcn.005393e0
jmp case.0x537c9b.19
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x577498]
call fcn.005392b8
cmp dword [ebp - 0x10], 0
je 0x537dd4
mov eax, dword [ebp - 0x10]
call fcn.004027a4
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x537dd4
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
ja 0x537de0
mov eax, dword [0x577498]
cmp dword [eax + 0x414], 0
jne 0x537de0
mov eax, dword [0x575048]
mov eax, dword [eax]
cmp dword [eax + 0x6a0], 0
je 0x537dd4
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov eax, dword [0x575048]
mov eax, dword [eax]
mov edx, 0x537e34
call fcn.00554bfc
mov eax, dword [0x575048]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x6a0], edx
jmp 0x537de0
push 0x64
call sub.kernel32.dll_Sleep_1
jmp 0x537bf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537e22
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x538eb8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x538eea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x14
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x538f22
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x538f60
Capabilities:
Shutdown system
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, 0x577498
xor edx, edx
push ebp
push 0x53905c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffffffffffffffff
mov ecx, ebp
mov eax, dword [0x575048]
mov eax, dword [eax]
mov edx, 0x5390a4
call fcn.00554bfc
mov edx, 0x5390c0
mov eax, dword [esi]
call fcn.00539ad8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x538fba
push 0
push 6
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x538fc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539094
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + ebx*4 + 0x418]
test eax, eax
je 0x538fde
push 0
push eax
call sub.kernel32.dll_TerminateThread
inc ebx
cmp ebx, 3
jne 0x538fc9
xor eax, eax
push ebp
push 0x539009
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539013
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x539037
mov eax, dword [0x575048]
mov eax, dword [eax]
xor edx, edx
call fcn.0054f35c
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
call sub.kernel32.dll_ExitProcess_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x539108
Capabilities:
Shutdown system
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, 0x577498
xor edx, edx
push ebp
push 0x539204
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffffffffffffffff
mov ecx, ebp
mov eax, dword [0x575048]
mov eax, dword [eax]
mov edx, 0x53924c
call fcn.00554bfc
mov edx, 0x53926c
mov eax, dword [esi]
call fcn.00539ad8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x539162
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x53916f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53923c
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + ebx*4 + 0x418]
test eax, eax
je 0x539186
push 0
push eax
call sub.kernel32.dll_TerminateThread
inc ebx
cmp ebx, 3
jne 0x539171
xor eax, eax
push ebp
push 0x5391b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5391bb
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x5391df
mov eax, dword [0x575048]
mov eax, dword [eax]
xor edx, edx
call fcn.0054f35c
mov eax, dword [0x575048]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
call sub.kernel32.dll_ExitProcess_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5392b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor esi, esi
push ebp
push 0x53932a
push dword fs:[esi]
mov dword fs:[esi], esp
cmp ecx, 4
je 0x5392fd
push 0
mov eax, dword [0x575048]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 8]
mov ecx, edx
mov edx, 0x539374
call fcn.00554bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539362
mov eax, dword [edx]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x539320
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539362
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret