joyce8/EMBER2024-capa huggingface dataset:
Function at 0x576468
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57651e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.0040a19c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e444
mov eax, dword [ebx]
call fcn.0057652c
test al, al
jne 0x576500
lea edx, [ebp - 0x114]
mov eax, dword [0x644548]
mov eax, dword [eax]
call fcn.004741ec
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00409cc8
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040e444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576525
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404510
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x576545
test al, 0x10
jne 0x576549
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x577674
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x57772e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x577738]
fnstsw ax
sahf
je 0x5776d8
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.00577620
fld qword [ebp + 8]
fcomp dword [0x577738]
fnstsw ax
sahf
je 0x5776f4
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.00577620
fld qword [ebp + 0x10]
fcomp dword [0x577738]
fnstsw ax
sahf
je 0x577710
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.00577620
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x577778
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.004049c8
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5777d3
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, dword [esp + 8]
call fcn.0057773c
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret
Function at 0x5777e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x577863
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x577863
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x577863
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x577863
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x577863
xor edx, edx
push ebp
push 0x577859
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.00420380
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x577863
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x577960
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
test byte [esp], 1
je 0x577973
add ebx, 0x20
test byte [esp], 2
je 0x57797c
add ebx, 2
test byte [esp], 4
je 0x577983
inc ebx
test byte [esp], 8
je 0x57798c
add ebx, 4
test byte [esp], 0x10
je 0x577998
add ebx, 0x100
test byte [esp], 0x20
je 0x5779a4
add ebx, 0x1000
push ebx
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop edx
pop esi
pop ebx
ret
Function at 0x5788e8
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049b8
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x578a6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x578a8c
call fcn.00404b0c
test eax, eax
jne 0x578933
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x578a98
call fcn.00404814
mov eax, esi
mov edx, 0x3c
call fcn.00577898
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.004027f0
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.004027f0
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.004027f0
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.004027f0
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.004027f0
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.004027f0
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004047c8
push eax
mov eax, dword [ebp - 4]
call fcn.004049c8
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x578a29
mov eax, edi
mov edx, dword [esi + 4]
call fcn.004046e4
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.004046e4
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.004046e4
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.004046e4
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.004046e4
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.004046e4
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402810
mov eax, dword [esi + 0x2c]
call fcn.00402810
mov eax, dword [esi + 0x24]
call fcn.00402810
mov eax, dword [esi + 0x1c]
call fcn.00402810
mov eax, dword [esi + 0x10]
call fcn.00402810
mov eax, dword [esi + 4]
call fcn.00402810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578a76
lea eax, [ebp - 4]
call fcn.004044ec
ret

Function at 0x578c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x578ca9
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x578cb6
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x578cd4
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x578cf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x578d3f
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404750
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5790a0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x5790bd
add esp, 0xfffffff0
call fcn.00403a3c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5791bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x57910a
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
cmp eax, 2
je 0x5790fb
mov eax, edi
and eax, 1
cmp eax, 1
jne 0x57910a
push 0x20
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
xor eax, eax
mov al, byte [ebp + 0xc]
mov eax, dword [eax*4 + 0x642244]
push eax
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_CreateFileA
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.0042050c
cmp dword [ebx + 4], 0
jge 0x57918d
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00409e10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x1c]
call fcn.0040cee8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x64491c]
mov dl, 1
mov eax, dword [0x41aa20]
call fcn.0040d818
call fcn.00403ea4
cmp byte [ebp + 8], 0
je 0x5791a1
push edi
mov eax, esi
call fcn.004049c8
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5791c3
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404510
ret
Function at 0x579a5c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x579b79
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.00579924
pop ecx
test al, al
je 0x579b54
mov eax, dword [ebp + 8]
push eax
call fcn.00579768
pop ecx
test al, al
jne 0x579b54
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x579b54
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.005797a8
pop ecx
test al, al
je 0x579b54
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.0040475c
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409478
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x188]
cmp esi, 0xc8
je 0x579b1f
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x579b54
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.005797a8
pop ecx
test al, al
je 0x579b54
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.0040475c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00409478
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.00579768
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579b80
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404510
ret
Function at 0x57ee7c
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57efd0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x6460c4]
call fcn.004049c8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x57ef43
mov dl, 1
mov eax, dword [0x41b810]
call fcn.004036a8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x57ef33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x57efdc
mov edx, 0x57efdc
mov eax, dword [0x645668]
call fcn.005777e0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ef3a
mov eax, dword [ebp - 0x10]
call fcn.004036d8
ret
push 1
push dword [0x6460c4]
push 0x57efec
lea edx, [ebp - 0x1c]
mov eax, dword [0x644548]
mov eax, dword [eax]
call fcn.004741ec
push dword [ebp - 0x1c]
push 0x57eff8
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404888
mov eax, dword [ebp - 0x18]
call fcn.004049c8
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x57efb0
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
jmp 0x57efb5
call fcn.00577870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57efd7
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404510
ret

Function at 0x57f0a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x57f18b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x644548]
mov eax, dword [eax]
call fcn.004741ec
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409cc8
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040e444
lea eax, [ebp - 0x144]
mov edx, 0x57f1a0
call fcn.004047d0
mov eax, dword [ebp - 0x144]
call fcn.004049c8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x57f16d
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.0040475c
mov eax, dword [ebp - 0x150]
call fcn.00409b9c
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x57f135
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f192
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404510
ret
Function at 0x5820a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5820d6
mov eax, ebx
call fcn.00582b5c
cmp dword [ebx + 0x40], 0
je 0x5820cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x582147
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x582139
cmp dword [ebx + 8], 0
je 0x5820f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x58210a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x582139
cmp dword [ebx + 8], 0
je 0x5820eb
cmp eax, 3
je 0x58211d
dec eax
jne 0x5820eb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5820eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5820eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x582165
cmp dword [ebx + 0x14], 0xcc
je 0x582165
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00582170
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004049b8
xor eax, eax
push ebp
push 0x5a89ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x5a89d7
cmp dword [eax + 0x408], 0
je 0x5a89d7
cmp byte [ebx + 0x30c], 0
je 0x5a8958
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0x1f4
jb 0x5a8931
lea eax, [ebx + 0x308]
call fcn.004044ec
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea eax, [ebx + 0x308]
mov edx, dword [ebp - 4]
call fcn.004047d0
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x308]
call fcn.00404584
mov eax, dword [ebp - 4]
call fcn.004047c8
test eax, eax
jle 0x5a89c7
mov eax, dword [ebp - 4]
call fcn.004047c8
dec eax
jne 0x5a899e
mov eax, dword [ebp - 4]
call fcn.004049c8
push eax
mov eax, ebx
call fcn.005a9504
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045a7f4
push eax
call sub.user32.dll_SendMessageA
jmp 0x5a89ca
mov eax, dword [ebp - 4]
call fcn.004049c8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045a7f4
push eax
call sub.user32.dll_SendMessageA
jmp 0x5a89ca
or eax, 0xffffffff
test eax, eax
jl 0x5a89d7
mov edx, eax
mov eax, ebx
call fcn.005a9510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a89f4
lea eax, [ebp - 4]
call fcn.004044ec
ret
Function at 0x5a89f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5a8b48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x5a8b20
cmp dword [eax + 0x408], 0
je 0x5a8b20
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0xc8
jbe 0x5a8b20
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00453fa4
mov eax, dword [ebp - 0xc]
call fcn.004047c8
dec eax
jne 0x5a8aa0
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00453fa4
mov eax, dword [ebp - 0x10]
call fcn.004049c8
push eax
mov eax, ebx
call fcn.005a9504
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045a7f4
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x5a8ad3
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00453fa4
mov eax, dword [ebp - 0x14]
call fcn.004049c8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045a7f4
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x5a8b20
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00453fa4
mov edx, esi
mov eax, ebx
call fcn.005a9510
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00453fa4
mov eax, dword [ebp - 4]
call fcn.004047c8
mov edx, eax
mov eax, ebx
call fcn.005a8bb0
mov eax, dword [ebp - 8]
call fcn.004047c8
push eax
mov eax, dword [ebp - 4]
call fcn.004047c8
pop edx
sub edx, eax
mov eax, ebx
call fcn.005a8bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8b4f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404510
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404510
ret
Function at 0x5ac958
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
xor ebx, ebx
call fcn.005fa554
test al, al
je 0x5aca5f
mov eax, dword [esi + 4]
mov edx, dword [0x59d1a8]
call fcn.00403864
test al, al
je 0x5aca5f
mov ebx, dword [esi + 4]
cmp byte [ebx + 0x30d], 0
je 0x5ac9c8
cmp byte [esi + 0x530], 0
jne 0x5ac9c8
push 0xffffffffffffffec
mov eax, esi
call fcn.0045a7f4
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045a7f4
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x5ac9fe
cmp byte [ebx + 0x30d], 0
jne 0x5ac9fe
cmp byte [esi + 0x530], 0
je 0x5ac9fe
push 0xffffffffffffffec
mov eax, esi
call fcn.0045a7f4
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045a7f4
push eax
call sub.user32.dll_SetWindowLongA
mov al, byte [ebx + 0x30d]
mov byte [esi + 0x530], al
mov al, byte [esi + 0x531]
cmp al, byte [ebx + 0x30f]
je 0x5aca5f
cmp byte [ebx + 0x30d], 0
je 0x5aca5f
cmp byte [ebx + 0x30e], 0
je 0x5aca41
mov eax, esi
call fcn.0045a7f4
xor edx, edx
call fcn.005fa590
mov byte [esi + 0x531], 0
jmp 0x5aca5f
mov eax, esi
call fcn.0045a7f4
mov dl, byte [ebx + 0x30f]
call fcn.005fa590
mov al, byte [ebx + 0x30f]
mov byte [esi + 0x531], al
push 0x51
push 0
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.0045a7f4
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, esi
call fcn.00453ec4
call fcn.005fa554
test al, al
je 0x5acb00
test ebx, ebx
je 0x5acb00
cmp byte [ebx + 0x30e], 0
je 0x5acb00
cmp byte [ebx + 0x30d], 0
je 0x5acb00
mov eax, dword [0x644548]
mov eax, dword [eax]
call fcn.00473a30
xor edi, edi
xor ebp, ebp
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cmp eax, 5
jbe 0x5acae8
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add edi, 0xa
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jle 0x5acada
mov edi, eax
mov eax, esi
call fcn.0045a7f4
mov edx, edi
call fcn.005fa590
mov eax, dword [0x644548]
mov eax, dword [eax]
call fcn.00473a30
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jl 0x5acab6
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5f2f84
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
call fcn.004049b8
xor eax, eax
push ebp
push 0x5f30c3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041c1a4
push 0x400
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x18]
call fcn.004047c8
push eax
mov eax, dword [ebp + 0x18]
call fcn.004049c8
push eax
mov eax, ebx
call fcn.0042ae9c
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x24]
call fcn.005fa83c
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
call fcn.005fa858
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
sar edi, 1
jns 0x5f300f
adc edi, 0
mov edx, dword [ebp - 0x10]
add edx, eax
add edx, 2
sar edx, 1
jns 0x5f301e
adc edx, 0
sub edi, edx
mov edx, dword [ebp - 4]
sar edx, 1
jns 0x5f302a
adc edx, 0
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x5f3034
adc ecx, 0
sub edx, ecx
add edx, dword [ebp + 8]
mov dword [ebp - 8], edx
lea eax, [eax + edi + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
sar eax, 1
jns 0x5f304d
adc eax, 0
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x5f3057
adc edx, 0
sub eax, edx
add eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x18]
call fcn.004047c8
push eax
mov eax, dword [ebp + 0x18]
call fcn.004049c8
push eax
mov eax, ebx
call fcn.0042ae9c
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
push eax
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.00461664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f30ca
lea eax, [ebp + 0x18]
call fcn.004044ec
ret