joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db2d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4db2f8
cmp eax, 0
jbe 0x4db401
jmp 0x4db2fe
jle 0x4db401
mov eax, dword [ebp + 8]
add eax, 0xffffff04
xor ecx, ecx
mov edx, 0xf8
call fcn.00403b3c
mov eax, dword [ebp + 8]
lea edx, [eax - 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x40
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x40
jne 0x4db401
mov eax, dword [ebp + 8]
cmp word [eax - 0x13c], 0x5a4d
jne 0x4db401
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x100]
jne 0x4db401
mov eax, dword [ebp + 8]
lea edx, [eax - 0xfc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 4
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 4
jne 0x4db401
mov eax, dword [ebp + 8]
cmp dword [eax - 0xfc], 0x4550
jne 0x4db401
mov eax, dword [ebp + 8]
lea edx, [eax - 0xf8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x14
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x14
jne 0x4db401
mov eax, dword [ebp + 8]
cmp word [eax - 0xf8], 0x14c
jne 0x4db401
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 0xe8]
mov eax, dword [ebp + 8]
lea edx, [eax - 0xe4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp + 8]
movzx edx, word [edx - 0xe8]
cmp eax, edx
jne 0x4db401
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x4dba50
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor edx, edx
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xf6]
test ax, ax
jbe 0x4dbb30
mov edx, dword [ebp + 8]
movzx eax, ax
dec eax
test eax, eax
jl 0x4dbb2e
inc eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 0xc]
xor edx, edx
test eax, 0x20000000
je 0x4dbac6
test eax, 0x40000000
je 0x4dbab2
test eax, 0x80000000
je 0x4dbaad
or edx, 0x40
jmp 0x4dbaed
or edx, 0x20
jmp 0x4dbaed
test eax, 0x80000000
je 0x4dbac1
or edx, 0x80
jmp 0x4dbaed
or edx, 0x10
jmp 0x4dbaed
test eax, 0x40000000
je 0x4dbade
test eax, 0x80000000
je 0x4dbad9
or edx, 4
jmp 0x4dbaed
or edx, 2
jmp 0x4dbaed
test eax, 0x80000000
je 0x4dbaea
or edx, 8
jmp 0x4dbaed
or edx, 1
test eax, 0x4000000
je 0x4dbafa
or edx, 0x200
mov eax, dword [ebp + 8]
add eax, 0xfffffebc
push eax
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec dword [ebp - 4]
jne 0x4dba80
mov dl, 1
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4dd5fc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403b3c
pop ebp
ret
Function at 0x50ccb8
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 ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x50ceae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7075f8]
cmp dword [eax], 0
je 0x50ce93
test ebx, ebx
je 0x50ce93
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx]
cmp eax, dword [ebx + 4]
jbe 0x50ce93
mov eax, dword [ebx + 8]
sub eax, 0x64
jne 0x50ce93
mov eax, dword [ebx + 0xc]
cmp eax, 0x12d
jg 0x50cd4c
je 0x50ce5e
cmp eax, 0xca
jg 0x50cd33
je 0x50cde7
sub eax, 0xc8
je 0x50cd71
dec eax
je 0x50cdac
jmp 0x50ce93
sub eax, 0xcb
je 0x50ce1f
sub eax, 0x61
je 0x50ce53
jmp 0x50ce93
sub eax, 0x12e
je 0x50ce69
dec eax
je 0x50ce74
dec eax
je 0x50ce7f
dec eax
je 0x50ce8a
jmp 0x50ce93
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x50ce93
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x5265c00
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x7075f8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006679c8
jmp 0x50ce93
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x50ce93
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x36ee80
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x7075f8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006679c8
jmp 0x50ce93
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x50ce93
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0xea60
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x7075f8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006679c8
jmp 0x50ce93
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x50ce93
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x3e8
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x7075f8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006679c8
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050d074
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050cfa4
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050d068
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050d06c
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050d070
jmp 0x50ce93
mov edx, ebx
mov eax, esi
call fcn.0050cebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ceb5
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004054f4
ret
Function at 0x5117fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov byte [ebp - 1], 0
lea ebx, [eax + 0x58]
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x511899
cmp byte [eax + 0x41], 0
jne 0x511899
mov eax, dword [edx + 0x16c]
cmp eax, dword [edx + 0x174]
jae 0x511899
cmp byte [edx + 0x378], 0
jne 0x51185f
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [ebx + 0x14]
sub eax, dword [esi + 0x380]
cmp eax, 0xea60
jbe 0x511899
mov eax, dword [esi + 0x174]
mov dword [esi + 0x16c], eax
mov eax, esi
call fcn.00514dc0
mov byte [ebp - 1], 1
jmp 0x511899
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [ebx + 0x14]
sub eax, dword [esi + 0x380]
cmp eax, 0xea60
jbe 0x511899
mov eax, dword [esi + 0x174]
mov dword [esi + 0x16c], eax
mov byte [esi + 0x378], 0
mov byte [esi + 0xd98], 0
mov eax, esi
call fcn.00514dc0
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop esi
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
xor esi, esi
dec edx
je 0x5118b8
dec edx
je 0x5118c0
dec edx
je 0x5118c8
jmp 0x5118ce
mov esi, dword [eax + 0x84]
jmp 0x5118ce
mov esi, dword [eax + 0x9c]
jmp 0x5118ce
mov esi, dword [eax + 0xb4]
test esi, esi
je 0x511946
cmp byte [eax + 0x41], 0
jne 0x511946
mov eax, dword [esi + 0x16c]
cmp eax, dword [esi + 0x174]
jae 0x511946
cmp byte [esi + 0x378], 0
jne 0x511918
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x380]
cmp eax, 0xea60
jbe 0x511946
mov eax, dword [esi + 0x174]
mov dword [esi + 0x16c], eax
mov eax, esi
call fcn.00514ed4
mov bl, 1
jmp 0x511946
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x380]
cmp eax, 0xea60
jbe 0x511946
mov eax, dword [esi + 0x174]
mov dword [esi + 0x16c], eax
mov byte [esi + 0x378], 0
mov eax, esi
call fcn.00514ed4
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x5133dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
cmp byte [ebx + 0x370], 0
jne 0x5134c0
cmp byte [ebx + 0x378], 0
jne 0x5134c0
mov eax, ebx
call fcn.006a2f84
test al, al
je 0x5134c0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x490]
cmp eax, dword [ebx + 0xcc8]
jle 0x5134c0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x490], eax
cmp byte [ebx + 0x331], 0
je 0x513444
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x9c]
jmp 0x5134c0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x48c]
cmp eax, dword [ebx + 0xce0]
jle 0x51345e
mov eax, ebx
call fcn.006b41d4
xor ecx, ecx
cmp dword [ebx + 0x410], 0
je 0x513497
mov esi, dword [ebx + 0x410]
mov eax, dword [esi + 0x24]
sub eax, dword [ebx + 0x24]
cdq
xor eax, edx
sub eax, edx
mov edi, dword [ebx + 0xd94]
cmp eax, edi
jg 0x513493
mov eax, dword [esi + 0x28]
sub eax, dword [ebx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jge 0x513499
mov cl, 1
jmp 0x513499
mov cl, 1
test cl, cl
je 0x5134a9
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xa4]
jmp 0x5134c0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x98]
test al, al
je 0x5134c0
mov eax, ebx
call fcn.006b4584
jmp 0x5134c7
mov eax, ebx
call fcn.006b4584
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006b9af4
xor eax, eax
push ebp
push 0x515392
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x515379
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00420a68
mov ebx, eax
cmp byte [ebx + 0x3d], 0
je 0x51536c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jbe 0x51536c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x34], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp byte [ebx + 0x28], 0
je 0x51536c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.006b9af4
xor eax, eax
push ebp
push 0x515357
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.004208c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51535e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.006b9b04
ret
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x5152e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515399
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006b9b04
ret
Function at 0x516250
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x516262
add esp, 0xfffffff0
call fcn.004047f0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405960
xor eax, eax
push ebp
push 0x5163cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.0040445c
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00405524
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0040445c
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0040445c
mov dword [esi + 0xc], eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0040445c
mov dword [esi + 0x10], eax
mov dl, 1
mov eax, dword [0x41db90]
call fcn.0040445c
mov dword [esi + 0x14], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x36ee80
mov dword [esi + 0x68], eax
lea eax, [esi + 0x1c]
call fcn.004054d0
call fcn.0040dc20
fstp qword [esi + 0x20]
wait
mov byte [esi + 0x6c], 0
mov eax, dword [0x7070f8]
movzx eax, byte [eax + 0x5f84]
mov byte [esi + 0x30], al
mov byte [esi + 0x31], 0
mov byte [esi + 0x32], 0
xor eax, eax
mov dword [esi + 0x70], eax
xor eax, eax
mov dword [esi + 0x74], eax
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esi + 0x7c], eax
xor eax, eax
mov dword [esi + 0x80], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
mov byte [esi + 0x4c], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x50], eax
lea eax, [esi + 0x54]
mov edx, dword [0x515b4c]
call fcn.00406ff4
lea eax, [esi + 0x58]
mov edx, dword [0x515b6c]
call fcn.00406ff4
call fcn.0040dc20
fstp qword [esi + 0x28]
wait
xor eax, eax
mov dword [esi + 0x34], eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0040445c
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], 0
mov byte [esi + 0x41], 0
mov dl, 1
mov eax, dword [0x41db90]
call fcn.0040445c
mov dword [esi + 0x44], eax
mov word [esi + 0x5c], 1
mov word [esi + 0x5e], 1
mov word [esi + 0x60], 1
mov word [esi + 0x62], 1
lea eax, [esi + 0x18]
call fcn.004054d0
mov byte [esi + 0x64], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5163d6
lea eax, [ebp - 4]
call fcn.004054d0
ret
Function at 0x51a150
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x51a257
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00420a68
mov ebx, eax
mov byte [ebp - 9], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
cmp edi, 0
jl 0x51a1f2
mov edx, edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jbe 0x51a1ec
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
xor ecx, ecx
mov eax, ebx
call fcn.00518f44
mov edx, dword [esi]
mov eax, ebx
call fcn.005167cc
mov edx, edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0xc
mov eax, esi
call fcn.0040300c
mov byte [ebx + 0x4c], 1
mov byte [ebp - 9], 1
dec edi
cmp edi, 0xffffffff
jne 0x51a19e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x68]
jbe 0x51a236
mov eax, dword [ebp - 0x10]
add eax, 0x36ee80
mov dword [ebx + 0x68], eax
mov edx, 3
mov eax, ebx
call fcn.005163f4
cmp dword [ebx + 0x78], 0
jg 0x51a236
mov eax, ebx
call fcn.005164f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0042090c
mov eax, dword [ebp - 4]
call fcn.0051a260
jmp 0x51a24a
cmp byte [ebp - 9], 0
je 0x51a243
mov eax, ebx
call fcn.00516ff0
mov eax, ebx
call fcn.00516168
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x51a17a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51d548
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, dword [ebp + 8]
xor eax, eax
test ebx, ebx
je 0x51d788
cmp byte [ebx + 0x2b6], 0x32
jb 0x51d788
cmp byte [ebx + 0x2b6], 0
je 0x51d786
mov eax, 4
sub eax, esi
call fcn.004034e0
test eax, eax
jne 0x51d786
xor eax, eax
mov dword [ebx + 0x410], eax
mov eax, 2
call fcn.004034e0
test eax, eax
jne 0x51d786
mov eax, dword [edi + 0x34]
add eax, 2
cmp eax, dword [ebx + 0x34]
jb 0x51d767
mov eax, 3
call fcn.004034e0
test eax, eax
jne 0x51d738
mov eax, dword [edi + 0x34]
add eax, 0x14
lea edx, [esi + esi*4]
add eax, edx
call fcn.004034e0
cdq
push edx
push eax
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x64a4]
add eax, dword [ebx + 0x34]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x51d5fe
cmp eax, dword [esp]
pop edx
pop eax
jae 0x51d786
jmp 0x51d606
pop edx
pop eax
jge 0x51d786
cmp byte [ebx + 0x2f0], 0
jne 0x51d786
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x64a0]
cmp eax, dword [ebx + 0x34]
jbe 0x51d786
mov eax, dword [edi + 0x318]
mov eax, dword [eax + 8]
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x6550]
jge 0x51d786
mov dword [ebx + 0x304], edi
mov byte [ebx + 0xd45], 0
push 0
push 0x3e8
push 0
push 0x3c
mov eax, dword [edi + 0x34]
add eax, eax
call fcn.004034e0
cdq
push edx
push eax
mov eax, esi
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, 0x14
adc edx, 0
call fcn.004067ec
call fcn.004067ec
push eax
call sub.kernel32.dll_GetTickCount_1
pop edx
add edx, eax
mov dword [ebx + 0x308], edx
mov eax, esi
mov byte [ebx + 0x315], al
cmp dword [ebx + 0x30c], 0
jne 0x51d6b7
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
mov eax, ebx
call fcn.006a965c
imul eax, esi, 0xc8
mov edx, 0x5dc
sub edx, eax
cmp edx, dword [ebx + 0xcc8]
jae 0x51d6e6
imul edx, esi, 0xc8
mov ecx, 0x5dc
sub ecx, edx
mov dword [ebx + 0xcc8], ecx
mov edx, 0x7d0
sub edx, eax
cmp edx, dword [ebx + 0xce0]
jae 0x51d708
imul eax, esi, 0xc8
mov edx, 0x7d0
sub edx, eax
mov dword [ebx + 0xce0], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, dword [ebx + 0x174]
mov dword [ebx + 0x16c], eax
mov eax, ebx
call fcn.006a92bc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [edi + 0x318]
mov edx, ebx
call fcn.004208c0
jmp 0x51d786
cmp byte [ebx + 0x2f0], 1
je 0x51d786
mov eax, 0x14
call fcn.004034e0
test eax, eax
jne 0x51d786
mov eax, 0x14
call fcn.004034e0
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.006a9678
jmp 0x51d786
cmp byte [ebx + 0x2f0], 1
je 0x51d786
mov eax, 0x14
call fcn.004034e0
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.006a9678
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x5239d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov eax, dword [ebp + 0xc]
call fcn.00405960
xor eax, eax
push ebp
push 0x523aa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x522230]
mov eax, 0x34
call fcn.00406770
mov ebx, eax
mov eax, ebx
call fcn.004054d0
lea eax, [ebx + 4]
call fcn.004054d0
lea eax, [ebx + 8]
mov edx, dword [ebp + 0xc]
call fcn.00405524
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], edi
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x30], 0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x523a7a
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [ebp + 8]
call fcn.00420a68
test eax, eax
jne 0x523a76
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp + 8]
call fcn.00420bc4
mov ebx, esi
jmp 0x523a8b
inc esi
dec edi
jne 0x523a58
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.004208c0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
dec ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523aa8
lea eax, [ebp + 0xc]
call fcn.004054d0
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x410]
mov eax, dword [eax + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x524860
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x48c]
cmp eax, dword [esi + 0xce0]
jle 0x52485c
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x48c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x414], eax
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0x2c]
mov byte [ebp - 5], al
lea ecx, [esi + 0x28]
lea edx, [esi + 0x24]
mov eax, dword [esi + 0x410]
call fcn.006aaab0
mov edi, dword [esi + 0x410]
mov eax, dword [edi + 0x28]
push eax
mov ecx, dword [edi + 0x24]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
call fcn.004e0d6c
mov byte [esi + 0x2c], al
movzx eax, byte [esi + 0x2c]
push eax
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x28]
push eax
mov cx, 0x1391
mov dx, 0x9a
mov eax, esi
call fcn.006a9ba0
mov word [ebp - 8], 0
lea edx, [ebp - 8]
mov ecx, dword [esi + 0x410]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x20]
mov edx, esi
mov eax, dword [esi + 0x410]
call fcn.006a8890
mov eax, dword [esi + 0x410]
xor edx, edx
mov dword [eax + 0x420], edx
mov dword [esi + 0x24], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x28], eax
movzx eax, byte [ebp - 5]
mov byte [esi + 0x2c], al
movzx edx, al
mov eax, esi
call fcn.006a6acc
mov eax, esi
call fcn.006a965c
mov bl, 1
jmp 0x524867
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5249b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x410]
mov eax, dword [eax + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x524ab4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x48c]
cmp eax, dword [esi + 0xce0]
jle 0x524ab0
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x48c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x414], eax
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0x2c]
mov byte [ebp - 5], al
lea ecx, [esi + 0x28]
lea edx, [esi + 0x24]
mov eax, dword [esi + 0x410]
call fcn.006aaab0
mov edi, dword [esi + 0x410]
mov eax, dword [edi + 0x28]
push eax
mov ecx, dword [edi + 0x24]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
call fcn.004e0d6c
mov byte [esi + 0x2c], al
movzx eax, byte [esi + 0x2c]
push eax
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x28]
push eax
mov cx, 0x1391
mov dx, 0x9a
mov eax, esi
call fcn.006a9ba0
mov word [ebp - 8], 0
lea edx, [ebp - 8]
mov ecx, dword [esi + 0x410]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x20]
mov edx, esi
mov eax, dword [esi + 0x410]
call fcn.006a8890
mov eax, dword [esi + 0x410]
xor edx, edx
mov dword [eax + 0x420], edx
mov dword [esi + 0x24], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x28], eax
movzx eax, byte [ebp - 5]
mov byte [esi + 0x2c], al
movzx edx, al
mov eax, esi
call fcn.006a6acc
mov eax, esi
call fcn.006a965c
mov bl, 1
jmp 0x524abb
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret