joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f1e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0x258
push 0x320
mov ebx, eax
push 0
lea eax, [ebx + 0x68]
push 0
lea ecx, [ebx + 0x368]
call fcn.00408dc0
mov eax, dword [ebx + 0x394]
cdq
mov edi, eax
xor edi, edx
sub edi, edx
imul edi, dword [ebx + 0x3b4]
cmp dword [0x4b3d98], 0
mov dword [esp + 0x18], edi
jne 0x41f307
mov ebp, 0xe000
call fcn.00428cb0
test eax, eax
je 0x41f333
cmp dword [0x4b5a90], 1
jne 0x41f251
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x41f257
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [ebx + 0x378]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x78]
test edi, edi
jle 0x41f280
movzx ecx, byte [esi]
mov edx, dword [ebx + 0x60]
add ecx, ebp
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x41f268
mov edi, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
lea ecx, [ecx]
cmp dword [0x4b5a90], 1
jne 0x41f2b1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x41f2b7
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebx + 0x53c]
add ecx, dword [esp + 0x14]
cmp ecx, eax
jbe 0x41f2d6
call fcn.00428cb0
test eax, eax
jne 0x41f2a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 1
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, 1
je 0x41f307
sub ebp, 0x2000
test ebp, ebp
jg 0x41f233
mov edx, dword [ebx + 0x78]
push edi
push 0
push edx
call fcn.00463f50
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add esp, 0xc
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41f5e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esi + 0x3fc]
movzx ecx, word [esi + 0x43c]
cdq
xor eax, edx
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esi + 0x438]
push ebp
mov ebp, dword [esp + 8]
push edi
lea edi, [esi + 0x3d0]
test ecx, ecx
je 0x41f634
xor edx, edx
cmp dx, word [esi + 0x534]
jae 0x41f630
movzx edx, word [esi + 0x534]
mov dword [esp + 0xc], edx
sub dword [esp + 0xc], 1
movzx edx, word [ecx + 2]
lea ecx, [ecx + edx*2 + 4]
jne 0x41f621
test ecx, ecx
jne 0x41f638
xor ecx, ecx
jmp 0x41f644
movzx edx, word [esi + 0x536]
movzx ecx, word [ecx + edx*2 + 4]
movzx ecx, cx
mov dword [esi + 0x530], ecx
imul ecx, eax
push ebx
push ebp
push edi
add ecx, ebx
push ecx
push ebp
push 0x258
push 0x320
push 0
push 0
lea eax, [esi + 0x68]
push eax
mov eax, edi
call fcn.0041b750
inc word [esi + 0x536]
mov eax, dword [esi + 0x438]
movzx edx, word [esi + 0x536]
test eax, eax
je 0x41f6b1
xor ecx, ecx
cmp cx, word [esi + 0x534]
jae 0x41f6ad
movzx ecx, word [esi + 0x534]
lea ebx, [ebx]
sub ecx, 1
movzx edi, word [eax + 2]
lea eax, [eax + edi*2 + 4]
jne 0x41f6a0
test eax, eax
jne 0x41f6b8
mov ecx, 1
jmp 0x41f6bc
movzx ecx, word [eax + 2]
movzx eax, dx
movzx edx, cx
dec edx
xor ecx, ecx
cmp eax, edx
setg cl
pop edi
pop ebp
dec ecx
and eax, ecx
mov word [esi + 0x536], ax
ret 4

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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [edi + 0x2c]
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
imul ebp, dword [edi + 0x4c]
cmp dword [0x4b3d98], 0
jne 0x4237a8
mov dword [esp + 0x10], 0xe000
call fcn.00428cb0
test eax, eax
je 0x4237d4
cmp dword [0x4b5a90], 1
jne 0x4236ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4236f4
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x78]
test ebp, ebp
jle 0x42371e
mov edi, ebp
movzx ecx, byte [esi]
add ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x10]
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x423704
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
mov esi, dword [esp + 0x14]
add esi, 0xf
cmp dword [0x4b5a90], 1
jne 0x423753
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x423759
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, eax
jbe 0x423770
call fcn.00428cb0
test eax, eax
jne 0x423742
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 1
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, 1
je 0x4237a8
mov eax, dword [esp + 0x10]
sub eax, 0x2000
mov dword [esp + 0x10], eax
test eax, eax
jg 0x4236d0
mov ecx, dword [ebx + 0x78]
push ebp
push 0
push ecx
call fcn.00463f50
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 0xc
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4237e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x154]
cdq
xor eax, edx
sub eax, edx
imul eax, dword [ebx + 0x174]
push ebp
push esi
push edi
lea edi, [ebx + 0x128]
push ebx
mov dword [esp + 0x18], eax
call fcn.00423490
cmp dword [0x4b3d98], 0
jne 0x423902
mov dword [esp + 0x10], 0x2000
call fcn.00428cb0
test eax, eax
je 0x42393f
mov edi, 1
cmp dword [0x4b5a90], edi
jne 0x423842
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x423848
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x138]
mov ebp, eax
mov eax, dword [ebx + 0x78]
test ecx, ecx
jle 0x42387b
mov edi, ecx
lea ecx, [ecx]
movzx ecx, byte [esi]
add ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x10]
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x423860
mov edi, 1
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
lea esi, [ebp + 0xf]
jmp 0x4238a0
cmp dword [0x4b5a90], edi
jne 0x4238b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4238b6
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, eax
jbe 0x4238cb
call fcn.00428cb0
test eax, eax
jne 0x4238a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, edi
je 0x423902
mov eax, dword [esp + 0x10]
add eax, 0x2000
cmp eax, 0x10000
mov dword [esp + 0x10], eax
jl 0x423820
push 0
push 0
push 0x258
push 0x320
push 0
push 0
lea ecx, [ebx + 0x68]
lea eax, [ebx + 0x128]
call fcn.00408dc0
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x423950
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, eax
mov eax, dword [ebx + 0x154]
push esi
push edi
cdq
mov edi, eax
xor edi, edx
push 0
sub edi, edx
imul edi, dword [ebx + 0x174]
push 0
push 0x258
push 0x320
push 0
lea eax, [ebx + 0x68]
push 0
lea ecx, [ebx + 0x128]
mov dword [esp + 0x2c], edi
call fcn.00408dc0
cmp dword [0x4b3d98], 0
jne 0x423a84
mov dword [esp + 0x10], 0xe000
call fcn.00428cb0
test eax, eax
je 0x423ab0
cmp dword [0x4b5a90], 1
jne 0x4239c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4239ca
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [ebx + 0x138]
mov ebp, eax
mov eax, dword [ebx + 0x78]
test edi, edi
jle 0x4239fa
lea esp, [esp]
movzx ecx, byte [esi]
add ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x60]
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x4239e0
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
lea esi, [ebp + 0xf]
lea ebx, [ebx]
cmp dword [0x4b5a90], 1
jne 0x423a31
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x423a37
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, eax
jbe 0x423a4c
call fcn.00428cb0
test eax, eax
jne 0x423a20
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 1
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, 1
je 0x423a84
mov eax, dword [esp + 0x10]
sub eax, 0x2000
mov dword [esp + 0x10], eax
test eax, eax
jg 0x4239a6
mov ecx, dword [ebx + 0x78]
push edi
push 0
push ecx
call fcn.00463f50
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 0xc
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x423ac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xf4]
push edi
cdq
mov edi, eax
xor edi, edx
sub edi, edx
imul edi, dword [ebx + 0x114]
cmp dword [0x4b3d98], 0
mov dword [esp + 0xc], edi
jne 0x423bd9
push ebp
mov dword [esp + 0xc], 0x2000
push esi
call fcn.00428cb0
test eax, eax
je 0x423bd7
cmp dword [0x4b5a90], 1
jne 0x423b14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x423b1a
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [ebx + 0xd8]
mov ebp, eax
mov eax, dword [ebx + 0x78]
test edi, edi
jle 0x423b4a
lea esp, [esp]
movzx ecx, byte [esi]
add ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x10]
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x423b30
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
lea esi, [ebp + 0xf]
lea ebx, [ebx]
cmp dword [0x4b5a90], 1
jne 0x423b81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x423b87
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, eax
jbe 0x423b9c
call fcn.00428cb0
test eax, eax
jne 0x423b70
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 1
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, 1
je 0x423bd7
mov eax, dword [esp + 0x10]
add eax, 0x2000
cmp eax, 0x10000
mov dword [esp + 0x10], eax
jl 0x423af6
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret
Function at 0x423be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482b98
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x49b470]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x14], vtable.CBuffer.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
mov word [esp + 0x64], ax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x80], esi
call fcn.004289a0
mov ebx, eax
cmp ebx, esi
jne 0x423ca2
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx edx, word [ebx + 0x1c]
mov edi, dword [ebx + 0x16]
cmp edx, 8
je 0x423cdd
lea ecx, [ebx + 0x36]
push ecx
mov ecx, dword [ebx + 0x12]
lea eax, [esp + 0x18]
call fcn.00408d50
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x18]
mov dword [esp + 0x6c], 0x4b5adc
call fcn.00409f00
jmp 0x423d15
mov eax, dword [ebx + 0xa]
mov ecx, dword [ebx + 0x12]
add eax, ebx
push eax
mov edx, 8
lea eax, [esp + 0x18]
call fcn.00408d50
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x44]
lea esi, [ebx + 0x36]
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x70], 0x4b5adc
call fcn.0040a040
push ebx
call fcn.0045fc59
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424aa0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48240b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x49b470]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
mov eax, dword [0x49b470]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esi + 0x450]
xor ebx, ebx
cmp eax, ebx
je 0x424af4
push eax
call fcn.0045fc59
add esp, 4
mov dword [esi + 0x450], ebx
mov edi, dword [0x4b5acc]
cmp dword [esi + 0x450], ebx
jne 0x424be1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x22c], ebx
mov eax, dword [esi + 0x3e0]
push eax
lea ecx, [esp + 0x14]
push str.hmlist_02d.dat
push ecx
call fcn.0045f116
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea ecx, [edi + 0x58cc]
call fcn.004040f0
push eax
lea eax, [esp + 0x120]
push str._s_s
push eax
call fcn.0045f116
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push DirectSoundCreate
lea ecx, [esp + 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x424c23
mov ecx, dword [0x4b3cfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], ebx
call edx
mov dword [esi + 0x454], eax
cmp eax, edi
je 0x424c8f
push eax
call fcn.0045fd36
add esp, 4
mov dword [esi + 0x450], eax
cmp eax, ebx
jne 0x424bc8
mov eax, dword [esi + 0x3c8]
push ebx
push 0x48b6d0
push str.m_pHmListData
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x450]
mov ecx, dword [0x4b3cfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esi + 0x454]
mov edx, dword [esi + 0x450]
movzx eax, byte [ecx + edx - 4]
mov dword [esi + 0x458], eax
mov eax, 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0045f0aa
add esp, 0x224
ret
lea edx, [esp + 0xc]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esi + 0x454], eax
call fcn.0045fd36
add esp, 4
mov dword [esi + 0x450], eax
cmp eax, ebx
jne 0x424c60
mov eax, dword [esi + 0x3c8]
push ebx
push 0x48b6d0
push str.m_pHmListData
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esi + 0x454]
mov eax, dword [esi + 0x450]
push ebx
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, ebx
je 0x424be1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424be1
mov eax, dword [esi + 0x3c8]
push ebx
push 0x48b6d0
push str.hmlist.dat
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x424bfd
Function at 0x426210
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x1b4]
push 0
push 0
cdq
push 0x258
mov ebp, eax
push 0x320
xor ebp, edx
push 0
sub ebp, edx
imul ebp, dword [ebx + 0x1d4]
lea eax, [ebx + 0x68]
push 0
lea ecx, [ebx + 0x308]
call fcn.00408dc0
cmp dword [0x4b3d98], 0
jne 0x42636c
mov edi, 0x1f
mov dword [esp + 0x14], 0xe000
mov dword [esp + 0x1c], edi
jmp 0x426270
call fcn.00428cb0
test eax, eax
je 0x4263bf
cmp dword [0x4b5a90], 1
jne 0x42628e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x426294
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [ebx + 0x318]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x78]
test ebp, ebp
jle 0x4262ca
mov edi, ebp
jmp 0x4262b0
movzx ecx, byte [esi]
add ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x60]
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
inc esi
sub edi, 1
jne 0x4262b0
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
cmp dword [esp + 0x24], 1
jne 0x4262f5
mov eax, edi
call fcn.004267f0
mov esi, dword [esp + 0x18]
add esi, 0xf
lea esp, [esp]
cmp dword [0x4b5a90], 1
jne 0x426311
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x426317
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, eax
jbe 0x42632e
call fcn.00428cb0
test eax, eax
jne 0x426300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 1
call fcn.004037d0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, 1
je 0x42636c
sub dword [esp + 0x14], 0x2000
add edi, 0x20
cmp edi, 0xff
mov dword [esp + 0x1c], edi
jl 0x426270
mov ecx, dword [ebx + 0x78]
push ebp
push 0
push ecx
call fcn.00463f50
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 0xc
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
cmp dword [esp + 0x24], 1
jne 0x4263bf
push 0
mov ecx, 0x4b5ee8
mov dword [0x4b5e04], 0
mov byte [0x4b5e0c], 0
call fcn.0042e0b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x426ae0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x4820fb
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b470]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.CMovieMode.0
lea esi, [edi + 0x188]
mov ebp, 1
mov dword [esp + 0x1c], 4
mov dword [esi + 0x38], ebp
cmp dword [esi + 0x34], ebp
jne 0x426b38
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push ebp
call ebx
cmp dword [esi + 0x34], ebp
je 0x426b30
cmp dword [esi + 0x38], 0
jne 0x426b4a
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x426b54
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CThread.0
call fcn.00402f90
mov dword [esi], vtable.IThread.0
mov esi, vtable.IWinHook.0
mov dword [edi + 0x128], esi
mov dword [edi + 0xc8], esi
mov dword [edi + 0x68], esi
lea ecx, [edi + 0x3c]
mov dword [edi], vtable.IProgMode.0
call fcn.00402f90
mov dword [edi], esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x426bb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
mov esi, ecx
push edi
add esi, 0x188
call fcn.00417110
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
cmp dword [esi + 0x34], 1
mov dword [esi + 0x38], 0
jne 0x426bea
lea esp, [esp]
push 1
call edi
cmp dword [esi + 0x34], 1
je 0x426be0
cmp dword [esi + 0x38], 0
jne 0x426c06
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x64
call edi
pop edi
mov eax, 1
pop esi
ret
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x427020
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov ecx, dword [ebx + 0x544]
mov eax, dword [ebx + 0x188]
mov edx, dword [ebx + 0x540]
mov eax, dword [eax + 0x60]
push esi
lea esi, [ebx + 0x188]
push ecx
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [ebx + 0x54c]
push eax
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x42705b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push ebp
mov ecx, esi
call edx
mov ebp, 1
mov dword [esi + 0x38], ebp
cmp dword [esi + 0x34], ebp
jne 0x427089
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push ebp
call edi
cmp dword [esi + 0x34], ebp
je 0x427080
pop edi
cmp dword [esi + 0x38], 0
jne 0x4270a5
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, ebp
pop ebp
mov dword [ebx + 0x1c], 0
pop esi
ret
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebp
pop ebp
mov dword [ebx + 0x1c], 0
pop esi
ret
Function at 0x4270c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp + 0x188]
mov edx, dword [eax + 0x14]
push esi
lea esi, [ebp + 0x188]
push edi
push 0
mov ecx, esi
call edx
mov edi, 1
mov dword [esi + 0x38], 0
cmp dword [esi + 0x34], edi
jne 0x4270fd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
cmp dword [esi + 0x34], edi
je 0x4270f4
pop ebx
cmp dword [esi + 0x38], 0
jne 0x427116
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp + 0x1c], edi
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp + 0x1c], edi
pop edi
pop esi
pop ebp
ret 4

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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x49b470]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x2b0]
mov edi, 1
push edi
push eax
mov eax, ebx
call fcn.00427e60
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x258
push 0x320
push 0
push 0
mov ecx, ebx
call eax
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
cmp eax, edi
jne 0x427ff9
jmp 0x427fe0
call fcn.00428cb0
test eax, eax
je 0x427ff9
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
cmp eax, edi
je 0x427fe0
mov eax, dword [ebx + 0x2b0]
cmp eax, edi
jne 0x428016
mov eax, dword [ebx + 0x2fc]
mov dword [ebx + 0xc], edi
test eax, eax
je 0x428036
cmp eax, edi
je 0x42803b
jmp 0x42802c
cmp eax, 2
jne 0x4280ff
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x428036
cmp eax, 2
je 0x428036
cmp eax, 3
jne 0x42803b
call fcn.00428bf0
lea ecx, [ebx + 0xc8]
push ecx
mov eax, ebx
call fcn.00428810
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4b5a90], edi
jne 0x42805b
call ebp
jmp 0x428061
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
cmp dword [0x4b5a90], edi
jne 0x42806f
call ebp
jmp 0x428075
call dword [sym.imp.WINMM.dll_timeGetTime]
lea edx, [esi + 0x64]
cmp edx, eax
jbe 0x4280f8
call fcn.00428cb0
test eax, eax
je 0x428129
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 0x80
call fcn.004037d0
cmp eax, edi
je 0x4280f8
mov ecx, dword [ebx + 0x24]
push 0
mov eax, 2
call fcn.004037d0
cmp eax, edi
je 0x4280ef
cmp dword [ebx + 0x2fc], edi
jne 0x4280c7
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
cmp eax, edi
je 0x4280ef
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x63a48c]
mov byte [esp + eax + 0x10], cl
add eax, edi
test cl, cl
jne 0x4280d0
cmp byte [esp + 0x10], cl
je 0x428063
jmp 0x42804f
mov dword [ebx + 8], 0
jmp 0x428129
mov dword [ebx + 8], 0
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
cmp eax, edi
jne 0x428129
nop
call fcn.00428cb0
test eax, eax
je 0x428129
mov ecx, dword [ebx + 0x24]
push 0
mov eax, edi
call fcn.004037d0
cmp eax, edi
je 0x428110
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f0aa
add esp, 0x10c
ret