joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53e23e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x8716f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x5c]
call fcn.00831f5f
mov eax, dword [esp + 0x58]
xor edi, edi
mov dword [esp + 0x50], edi
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x53e26f
push 0x92edb8
lea ecx, [esp + 0x5c]
call fcn.008322dc
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x18]
lea ecx, [esi + 0x8ac]
push edx
push eax
mov byte [esp + 0x58], 1
mov dword [esp + 0x18], ecx
call fcn.0058d280
mov ebx, eax
xor ebp, ebp
cmp ebx, edi
jle 0x53e2dd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
push edx
mov esi, dword [ecx + ebp*4]
mov eax, dword [esi + 8]
push eax
call fcn.005fc4b7
add esp, 8
cmp eax, edi
jne 0x53e2ce
cmp dword [esi + 4], edi
je 0x53e2d5
inc ebp
cmp ebp, ebx
jl 0x53e2ad
jmp 0x53e2dd
cmp esi, edi
jne 0x53e387
mov ecx, dword [0x98b454]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 2
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00831e73
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x34]
push edx
push 0x932a7c
push eax
mov byte [esp + 0x5c], 3
mov dword [esp + 0x3c], edi
call fcn.00826097
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x50]
mov dword [esp + 0x30], esp
push eax
mov dword [esi], ecx
mov edx, dword [esp + 0x50]
lea ecx, [esi + 8]
mov dword [esi + 4], edx
call fcn.00831c58
mov ecx, dword [esp + 0x54]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x58]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x60]
push edx
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x30]
call fcn.0058c5f0
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x50], 1
call fcn.00831eeb
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x50], 4
cmp eax, edi
je 0x53e3a5
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.00831eeb
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8
Function at 0x53edd7
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x9ce688
jmp 0x53edc0
push 0xffffffffffffffff
push 0x87181b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
push ebx
mov ecx, edi
call fcn.005ef66e
mov dword [edi], 0x893f30
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], ebx
call fcn.0053ff60
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], 0x89be28
mov dword [esi], 0x89be24
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x44], esi
mov dword [esi + 0x3c], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x53eed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x871870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push str.SDHELPER_OFFLINEEXPIREREMINDER
lea ecx, [esp + 8]
call fcn.00617540
mov eax, dword [eax]
push 0
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call fcn.004b5e90
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00617ec0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.004b61f0
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x24], 3
call fcn.00611f20
mov eax, dword [eax]
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x24], 4
call fcn.0063e7e0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call fcn.00612730
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.00617ec0
call fcn.0064f790
push eax
lea ecx, [esi + 0x30]
call fcn.0064f650
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004b6020
mov ecx, dword [esp + 0x18]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x54d530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x873398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x7e0], 1
call fcn.00548810
mov eax, dword [0x8ab26c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x7ec]
lea ebx, [esi + 0x7ec]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00617650
mov eax, dword [eax]
lea ecx, [esp + 0x24]
lea ebp, [esi + 0x7b4]
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.00548130
test eax, eax
je 0x54d5af
add eax, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.00618070
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00617ec0
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push eax
call fcn.00617650
mov eax, dword [eax]
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x38], 2
call fcn.0054dff0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00617ec0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00548130
mov edi, eax
test edi, edi
jne 0x54d655
mov eax, dword [ebp + 4]
test eax, eax
jne 0x54d622
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.00548050
mov ecx, ebp
call fcn.005480c0
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x14]
push ecx
lea ecx, [edi + 8]
mov dword [edi + 4], eax
call fcn.006181a0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
mov dword [edi], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov dword [edx + eax*4], edi
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [edi + 0xc]
call fcn.006181a0
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.00832082
mov eax, dword [esi + 0x78]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00831f5f
mov eax, dword [eax]
push 0
push 0
push 0
push 0
add esi, 0x5c
push eax
push edi
push 1
mov ecx, esi
mov byte [esp + 0x4c], 5
call fcn.00828785
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 4
call fcn.00831eeb
push 2
push 2
push edi
mov ecx, esi
call fcn.00828855
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00617ec0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x552110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x873c89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0xcd
mov dword [esp + 0x18], esi
call fcn.0082d5c2
mov edx, dword [0x98b454]
lea ecx, [esi + 0x5c]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [ecx], edx
mov eax, dword [0x98b454]
lea edi, [esi + 0x60]
mov dword [edi], eax
mov edx, dword [0x98b454]
lea ebx, [esi + 0x64]
mov dword [ebx], edx
push 0x9b5220
mov byte [esp + 0x30], 3
mov dword [esi], method.CDialog.virtual_0
call fcn.00832082
push 0x9b5220
mov ecx, edi
call fcn.00832082
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
push ecx
push edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.00832082
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x559850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x874940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x20], 0x893fe4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x11
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x44], ebp
mov dword [esp + 0xc], 0x893ff0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x9d0828
mov byte [esp + 0x4c], 1
call fcn.0059ea90
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
cmp eax, ebp
jle 0x55992e
push edi
mov dword [esp + 0x50], ebp
mov esi, dword [ebx + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, ebx
lea edi, [eax + edx]
call fcn.00412650
mov eax, dword [ebx + 4]
mov edx, dword [edi]
shl esi, 4
add esi, eax
inc ebp
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x18]
add ecx, 0x420
cmp ebp, eax
mov dword [esp + 0x50], ecx
jl 0x5598db
xor ebp, ebp
pop edi
mov ebx, dword [ebx + 8]
mov dword [esp + 0xc], 0x893ff0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x44], 2
cmp eax, ebp
je 0x55994f
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x20], method.CCommandLineInfo.virtual_0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], 3
cmp esi, ebp
je 0x559985
mov eax, dword [esp + 0x28]
cmp eax, ebp
jbe 0x559985
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x55997f
mov eax, dword [eax]
cmp eax, ebp
jne 0x559979
add ecx, 4
dec edx
jne 0x559973
push esi
call fcn.008325dd
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.0082b415
mov ecx, dword [esp + 0x3c]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x55a380
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x8749f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp edi, ebx
je 0x55a49b
push edi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x55a49b
push edi
lea ecx, [esp + 0x28]
call fcn.00831f5f
push 3
push 0x5c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call fcn.00832435
push 2
push 0x93a338
push edi
mov esi, eax
call fcn.005fddee
add esp, 0xc
test eax, eax
jne 0x55a3f9
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x5c
call fcn.00832435
mov esi, eax
cmp esi, 0xffffffff
je 0x55a454
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.00825c35
mov ecx, dword [esp + 0x10]
push ebx
push ecx
mov byte [esp + 0x24], 1
call edi
test eax, eax
jne 0x55a433
call ebp
cmp eax, 0xb7
jne 0x55a47d
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x5c
call fcn.00832435
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x1c], bl
call fcn.00831eeb
cmp esi, 0xffffffff
jne 0x55a40a
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00831eeb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00831eeb
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x560530
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x87587d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
push edi
mov ebp, ecx
push 0x10
mov dword [esp + 0x10], 0
call fcn.008325b4
mov edi, eax
mov eax, dword [esp + 0x68]
mov ecx, edi
push 0x18
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
call fcn.008325b4
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
mov dword [esp + 0x58], 1
je 0x5605ab
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00579760
mov esi, eax
jmp 0x5605ad
xor esi, esi
add ebp, 8
push 0x18
mov byte [esp + 0x5c], 0
mov dword [esi], ebp
mov dword [esi + 4], 0x4139f0
mov dword [esi + 8], edi
call fcn.008325b4
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov dword [esp + 0x58], 2
je 0x5605f0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00579760
jmp 0x5605f2
xor eax, eax
push 0xffffffffffffffff
mov dword [eax + 8], edi
push 0xffffffffffffffff
push eax
mov edi, 1
push esi
push edi
push 3
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0
mov dword [eax], ebp
mov dword [eax + 4], 0x413a10
call fcn.005794a0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], 0x895a90
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov dword [esi], 0x896bcc
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
call fcn.00579500
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 8
Function at 0x5702f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x5702f9
ret
push esi
push edi
xor edi, edi
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x57033d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x57032a
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov eax, dword [esi + 0x6c]
push 1
push eax
call ebp
test eax, eax
je 0x576770
mov ecx, esi
call fcn.0045ee50
call edi
mov ecx, dword [esi + 0x7c]
sub eax, ebx
cmp eax, ecx
ja 0x576770
mov ecx, dword [esi + 0x6c]
push 1
push ecx
call ebp
test eax, eax
jne 0x576752
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x577110
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8778fd
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083197a
mov edi, dword [esp + 0x2c]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x14], 1
je 0x57714f
mov dword [esi + 0x34], edi
mov edx, dword [esi + 0x38]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xf8
call fcn.008325b4
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x57718c
push edi
push esi
mov ecx, eax
call fcn.00576950
jmp 0x57718e
xor eax, eax
mov ecx, dword [esi + 4]
mov byte [esp + 0x14], bl
push ecx
mov ecx, eax
mov dword [esi + 0x30], eax
call fcn.00576f50
mov eax, dword [esi + 8]
cmp eax, ebx
jbe 0x5771b0
mov ecx, dword [esi + 0x30]
push eax
call fcn.00576f60
push 0x3c
call fcn.008325b4
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x14], 2
je 0x5771db
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push esi
mov ecx, eax
call fcn.00576780
jmp 0x5771dd
xor eax, eax
mov ecx, eax
mov byte [esp + 0x14], bl
mov dword [esi + 0x2c], eax
call fcn.00654d30
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x2c]
push edx
call fcn.00576890
test eax, eax
jne 0x57720a
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov edi, eax
jmp 0x57721b
mov ecx, dword [esi + 0x2c]
call fcn.00654f00
mov edi, eax
neg edi
sbb edi, edi
neg edi
inc edi
mov ecx, dword [esi + 0x2c]
call fcn.00654f00
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0xc], eax
cmp ecx, ebx
je 0x577233
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], ebx
cmp ecx, ebx
je 0x577244
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], 0xffffffff
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083198f
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14
Function at 0x577310
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x87794d
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083197a
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], 0
test edi, edi
mov dword [esi + 0x14], 2
je 0x577352
mov dword [esi + 0x34], edi
mov edx, dword [esi + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xf8
call fcn.008325b4
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x18], 1
je 0x57738f
push edi
push esi
mov ecx, eax
call fcn.00576950
jmp 0x577391
xor eax, eax
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x18], 0
push ecx
lea ecx, [eax + 0xec]
mov dword [esi + 0x30], eax
call fcn.00832082
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x30]
push edx
call fcn.00576f50
mov eax, dword [esi + 8]
test eax, eax
jbe 0x5773c5
mov ecx, dword [esi + 0x30]
push eax
call fcn.00576f60
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 1
cmp eax, 0xffffffff
jne 0x5773da
or edi, eax
jmp 0x5773df
sub eax, dword [esi + 0x10]
mov edi, eax
push 0x3c
call fcn.008325b4
add esp, 4
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x18], 2
test eax, eax
je 0x577406
push edi
push ebp
push esi
mov ecx, eax
call fcn.005767e0
jmp 0x577408
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x18], 0
mov dword [esi + 0x2c], eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x2c], eax
push 5
push ebp
call edi
cmp eax, 0x102
jne 0x577472
mov ecx, esi
call fcn.005776d0
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x577422
mov ecx, dword [esi + 0x2c]
call fcn.00654d30
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov edi, eax
cmp edi, 2
jne 0x577476
mov ecx, dword [esi + 0x2c]
call fcn.00654f00
cmp eax, edi
jne 0x577476
mov dword [esp + 0x34], 3
mov edi, dword [esp + 0x34]
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
cmp ecx, ebx
je 0x577485
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], ebx
cmp ecx, ebx
je 0x577496
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x30], ebx
mov dword [esp + 0x18], 0xffffffff
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083198f
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x579bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x877dd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x89edbc
mov dword [esi + 8], 0x89ee14
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xa
lea edi, [esi + 0x24]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.005ef66e
mov dword [edi], 0x893f30
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x30], 1
call fcn.00579760
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x5c]
call fcn.005794a0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x9c]
mov byte [esp + 0x30], 2
call fcn.00579760
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0xb4]
call fcn.005794a0
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x89ee08
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x57b7e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x878078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x38]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x3c], 0x4139e0
call fcn.005794a0
lea eax, [esp + 4]
mov ecx, 0x9cf1a8
push eax
mov dword [esp + 0x50], 0
call fcn.0057a890
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x57ba40
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x57ba4e
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x2c]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x57ba82
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
pop esi
ret