joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ff80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x17d
push 0x8740fb
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x1059962c]
mov dword [0x8740fb], ecx
mov edx, dword [0x10599630]
mov dword [0x874108], edx
mov eax, dword [0x10599640]
mov dword [0x874115], eax
mov ecx, dword [0x10599644]
mov dword [0x874122], ecx
mov edx, dword [0x10599654]
mov dword [0x87412f], edx
mov eax, dword [0x10599658]
mov dword [0x87413c], eax
mov ecx, dword [0x10599668]
mov dword [0x874149], ecx
mov edx, dword [0x1059966c]
mov dword [0x874156], edx
mov eax, dword [0x1059967c]
mov dword [0x874163], eax
mov ecx, dword [0x10599680]
mov dword [0x874170], ecx
mov edx, dword [0x10599690]
mov dword [0x87417d], edx
mov eax, dword [0x10599694]
mov dword [0x87418a], eax
mov ecx, dword [0x105996a4]
mov dword [0x874197], ecx
mov edx, dword [0x105996a8]
mov dword [0x8741a4], edx
mov eax, dword [0x10599634]
mov dword [0x8741cb], eax
mov ecx, dword [0x10599638]
mov dword [0x8741d8], ecx
mov edx, dword [0x10599648]
mov dword [0x8741e5], edx
mov eax, dword [0x1059964c]
mov dword [0x8741f2], eax
mov ecx, dword [0x1059965c]
mov dword [0x8741ff], ecx
mov edx, dword [0x10599660]
mov dword [0x87420c], edx
mov eax, dword [0x10599670]
mov dword [0x874219], eax
mov ecx, dword [0x10599674]
mov dword [0x874226], ecx
mov edx, dword [0x10599684]
mov dword [0x874233], edx
mov eax, dword [0x10599688]
mov dword [0x874240], eax
mov ecx, dword [0x10599698]
mov dword [0x87424d], ecx
mov edx, dword [0x1059969c]
mov dword [0x87425a], edx
mov eax, dword [0x105996ac]
mov dword [0x874267], eax
mov ecx, dword [0x105996b0]
mov dword [0x874274], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100100e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x13f
push 0x877c0b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x105996b8]
mov dword [0x877c0b], ecx
mov edx, dword [0x105996bc]
mov dword [0x877c18], edx
mov eax, dword [0x105996cc]
mov dword [0x877c25], eax
mov ecx, dword [0x105996d0]
mov dword [0x877c32], ecx
mov edx, dword [0x105996e0]
mov dword [0x877c3f], edx
mov eax, dword [0x105996e4]
mov dword [0x877c4c], eax
mov ecx, dword [0x105996f4]
mov dword [0x877c59], ecx
mov edx, dword [0x105996f8]
mov dword [0x877c66], edx
mov eax, dword [0x10599708]
mov dword [0x877c73], eax
mov ecx, dword [0x1059970c]
mov dword [0x877c80], ecx
mov edx, dword [0x1059971c]
mov dword [0x877c8d], edx
mov eax, dword [0x10599720]
mov dword [0x877c9a], eax
mov ecx, dword [0x105996c0]
mov dword [0x877cc1], ecx
mov edx, dword [0x105996c4]
mov dword [0x877cce], edx
mov eax, dword [0x105996d4]
mov dword [0x877cdb], eax
mov ecx, dword [0x105996d8]
mov dword [0x877ce8], ecx
mov edx, dword [0x105996e8]
mov dword [0x877cf5], edx
mov eax, dword [0x105996ec]
mov dword [0x877d02], eax
mov ecx, dword [0x105996fc]
mov dword [0x877d0f], ecx
mov edx, dword [0x10599700]
mov dword [0x877d1c], edx
mov eax, dword [0x10599710]
mov dword [0x877d29], eax
mov ecx, dword [0x10599714]
mov dword [0x877d36], ecx
mov edx, dword [0x10599724]
mov dword [0x877d43], edx
mov eax, dword [0x10599728]
mov dword [0x877d50], eax
mov esp, ebp
pop ebp
ret
Function at 0x10010210
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x10599744]
mov ecx, dword [0x10599748]
mov edx, dword [0x10599758]
mov dword [ebp - 0x64], eax
mov eax, dword [0x1059975c]
mov dword [ebp - 0x58], eax
mov eax, dword [0x10599780]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x10599798]
mov dword [ebp - 0x60], ecx
mov ecx, dword [0x1059976c]
mov dword [ebp - 0x5c], edx
mov edx, dword [0x10599770]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1059974c]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x10599784]
mov dword [ebp - 0x50], edx
mov edx, dword [0x10599794]
mov dword [ebp - 0x34], eax
mov eax, dword [0x10599764]
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x105997a8]
mov dword [ebp - 0x44], edx
mov edx, dword [0x105997ac]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10599788]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x10599750]
mov dword [ebp - 0x38], edx
mov edx, dword [0x10599760]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x105997a0]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x10599774]
mov dword [ebp - 0x2c], edx
mov edx, dword [0x10599778]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x1059978c]
mov dword [ebp - 0x20], edx
mov edx, dword [0x1059979c]
push 0x40
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x105997b0]
mov dword [ebp - 0x14], edx
mov edx, dword [0x105997b4]
push 4
push 0x7e4bb8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
call edi
lea ecx, [ebp - 0x68]
push ecx
mov dword [0x7e4bb8], 0xfde8
mov edx, dword [ebp - 0x68]
push edx
push 4
push 0x7e4bb8
call edi
mov esi, 0xd457c8
xor ebx, ebx
lea ebx, [ebx]
lea eax, [ebp - 0x68]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + ebx*8 - 0x64]
lea edx, [ebp - 0x68]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
lea ecx, [ebp - 0x6c]
push ecx
push 0x40
push 4
add esi, 4
push esi
call edi
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + ebx*8 - 0x60]
lea eax, [ebp - 0x6c]
push eax
push ecx
push 4
push esi
mov dword [esi], edx
call edi
inc ebx
add esi, 4
cmp ebx, 6
jl 0x10010330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x10011e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10011e4e
mov eax, dword [eax]
push esi
push edi
push 0x10135c08
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x10011e6f
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
push edi
push 1
lea eax, [ebp - 8]
push 4
push eax
mov dword [ebp - 8], esi
call ebx
add esp, 0x10
mov dword [ebp - 0xc], esi
cmp dword [ebp - 8], esi
jle 0x10011f34
push 0x58
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push edi
push 1
mov esi, eax
push 0x54
push esi
mov dword [ebp - 4], esi
call ebx
push 0x54
push esi
mov ecx, 0x4071a0
call ecx
mov eax, dword [0x10160f28]
lea edx, [ebp - 4]
add esp, 0x1c
cmp edx, eax
jae 0x10011efa
mov ecx, dword [0x10160f24]
cmp ecx, edx
ja 0x10011efa
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [0x10160f2c]
jne 0x10011eef
mov eax, 0x10160f24
call fcn.10124cc0
mov eax, dword [0x10160f28]
mov ecx, dword [0x10160f24]
test eax, eax
je 0x10011f1c
mov ecx, dword [ecx + esi*4]
mov dword [eax], ecx
jmp 0x10011f17
cmp eax, dword [0x10160f2c]
jne 0x10011f11
mov eax, 0x10160f24
call fcn.10124cc0
mov eax, dword [0x10160f28]
test eax, eax
je 0x10011f1c
mov dword [eax], esi
mov eax, dword [0x10160f28]
add eax, 4
mov dword [0x10160f28], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jl 0x10011e93
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100132a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x10013260
push 0x82c4db
mov bl, 0xe9
call fcn.10110d60
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x82d2b4
call esi
mov eax, 0x90909090
mov ecx, 0x82d2b4
mov dword [ecx], eax
mov byte [ecx + 4], al
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push 0x82d2b4
call esi
push 0x10013280
push 0x82d2b9
mov bl, 0xe8
call fcn.10110d60
push 0x10013290
push 0x82d423
call fcn.10110d60
push 0x10013290
push 0x82d44e
call fcn.10110d60
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x10a88858]
sub eax, dword [ecx + 0x30]
cmp eax, 0x12c
jbe 0x10024c56
call esi
mov edx, dword [0x10a88858]
mov dword [edx + 0x30], eax
mov eax, dword [0x10a88858]
cmp byte [eax + 0x29], 0
je 0x10024c2e
mov byte [eax + 0x29], 0
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
mov ecx, 0x28
push eax
mov dword [ebp - 0x28], 0x1dd328c1
mov dword [ebp - 0x24], 1
call fcn.10100800
mov eax, dword [0x10a88858]
add esp, 4
xor byte [eax + 0x29], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100255c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x10a8885c]
sub eax, dword [ecx + 0x30]
cmp eax, 0x12c
jbe 0x100255f9
call esi
mov edx, dword [0x10a8885c]
mov dword [edx + 0x30], eax
mov eax, dword [0x10a8885c]
cmp byte [eax + 0x29], 0
je 0x100255f5
mov byte [eax + 0x29], 0
pop esi
ret
xor byte [eax + 0x29], 1
pop esi
ret
Function at 0x10025a00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
fild dword [0x879340c]
push esi
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp + 8]
fcom st(1)
fnstsw ax
fld dword [ebp + 0x14]
fld dword [ebp + 0x10]
fld dword [ebp + 0xc]
test ah, 0x41
jp 0x10025bec
fld st(3)
fadd st(2)
fcomp st(5)
fnstsw ax
fstp st(4)
test ah, 1
jne 0x10025b90
fild dword [0x8793410]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x10025bf0
fld st(4)
fadd st(3)
fcompp
fnstsw ax
test ah, 1
jne 0x10025b90
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
call esi
mov ecx, dword [edi + 0x138]
add ecx, 0x15e
cmp ecx, eax
jae 0x10025b82
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
fld dword [ebp + 0x14]
mov edx, 0x8000
fld st(0)
fdiv dword [ebp + 0x1c]
push ecx
test dx, ax
je 0x10025b09
fldz
mov eax, 0x637c60
fst dword [esp]
push 1
fxch st(1)
fst dword [ebp + 0x14]
push 1
fld dword [ebp + 0x14]
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [ebp + 0x10]
fld st(0)
fdiv dword [ebp + 0x18]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp + 0x18]
fxch st(1)
fadd st(0), st(0)
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push 0x7a5f
call eax
jmp 0x10025b60
fstp dword [ebp + 0x14]
mov ecx, 0x637c60
fldz
fst dword [esp]
fld dword [ebp + 0x14]
push 1
push 1
sub esp, 0x20
fst dword [esp + 0x1c]
fld dword [ebp + 0x10]
fld st(0)
fdiv dword [ebp + 0x18]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push 0x7a5f
call ecx
add esp, 0x30
push 1
mov edx, 0x791050
call edx
add esp, 4
test al, al
je 0x10025be5
call esi
mov dword [edi + 0x138], eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
fld dword [ebp + 0x10]
fld dword [ebp + 8]
fld dword [ebp + 0x14]
fld dword [ebp + 0xc]
fxch st(3)
fldz
push ecx
fst dword [esp]
mov eax, 0x637c60
fld st(2)
push 1
fdiv dword [ebp + 0x1c]
push 1
sub esp, 0x20
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp + 0x1c]
fld st(1)
fdiv dword [ebp + 0x18]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
push 0x7a5f
call eax
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret 0x18
fstp st(4)
jmp 0x10025b90
fstp st(0)
jmp 0x10025b90
Function at 0x10038660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x7ff
lea eax, [ebp - 0x804]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
push ecx
push edx
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
fld1
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fst dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [0x1013fa00]
fstp dword [esp + 8]
fld dword [0x1013fd08]
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fadd qword [0x10140a00]
fstp dword [ebp - 0x808]
fld dword [ebp - 0x808]
fstp dword [esp]
push ecx
fld dword [ebp + 8]
fstp dword [esp]
call fcn.100107a0
fld dword [ebp + 0xc]
fadd qword [0x1013fbb8]
fst qword [ebp - 0x810]
fld dword [ebp + 8]
fadd qword [0x1013f6b8]
fst qword [ebp - 0x818]
fld1
fst dword [esp + 0x1c]
fldz
fstp dword [esp + 0x18]
fld dword [0x10140cc0]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1013f6f0]
fstp dword [esp + 0xc]
fld dword [0x1013f548]
fstp dword [esp + 8]
fxch st(1)
fstp dword [ebp - 0x808]
fld dword [ebp - 0x808]
fstp dword [esp + 4]
fstp dword [ebp - 0x808]
fld dword [ebp - 0x808]
fstp dword [esp]
call fcn.100107a0
fld qword [ebp - 0x810]
add esp, 0x20
fadd qword [0x1013f6b8]
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0x32
push 0
push 0xffffffffffffffb8
call fcn.1012e5b0
fld qword [ebp - 0x818]
push eax
call fcn.1012e5b0
mov edx, dword [0xe8c58c]
push eax
push edx
mov cl, 3
call fcn.10025780
fld dword [ebp + 0xc]
fadd qword [0x1013f718]
add esp, 0x20
call fcn.1012e5b0
mov edi, eax
fld dword [ebp + 8]
fadd qword [0x1013f598]
call fcn.1012e5b0
mov ecx, dword [esi + 4]
push edi
mov dword [esi + 8], eax
push eax
mov eax, 0x417ec0
mov dword [esi + 0xc], edi
call eax
mov ecx, dword [esi + 4]
mov edx, 0x422320
call edx
fld dword [ebp + 0xc]
fld qword [0x1013f6c0]
push 0x1e
fsub st(1), st(0)
push 0x78
fxch st(1)
call fcn.1012e5b0
fsubr dword [ebp + 8]
push eax
call fcn.1012e5b0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
cmp al, 1
jne 0x10038837
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10038837
mov ecx, dword [esi + 4]
push 1
mov edx, 0x421d80
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x10038a70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movzx ecx, byte [edi + 0xa]
movzx eax, byte [edi + 0xb]
inc ecx
sub esp, 0xc
cmp ecx, eax
jle 0x10038a87
mov byte [edi + 0xa], 0
push ebx
push esi
mov esi, dword [edi + 4]
fld dword [esi + 0x10]
movzx ebx, byte [edi + 0xa]
fdiv dword [esi + 8]
call fcn.1012e5b0
fldz
mov ecx, eax
mov eax, ebx
cdq
idiv ecx
push ecx
mov ecx, dword [esi]
fstp dword [esp]
push 1
fld dword [0x1013f780]
push 1
sub esp, 0x20
fst dword [esp + 0x1c]
fstp dword [esp + 0x18]
movzx eax, dl
sub ebx, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fld dword [esi + 0xc]
fdiv dword [esi + 4]
fdivp st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp dword [ebp - 8]
mov dl, byte [ebp - 8]
movzx eax, dl
mov dword [ebp - 8], eax
fldcw word [ebp - 2]
mov edx, 0x637c60
fild dword [ebp - 8]
fld qword [0x10140268]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
fstp dword [esp + 0x14]
fimul dword [ebp - 0xc]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fstp dword [esp + 0x10]
fld dword [ebp + 0x14]
fstp dword [esp + 0xc]
fld dword [ebp + 0x10]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push ecx
call edx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
cmp dword [edi + 0x10], eax
ja 0x10038b58
inc byte [edi + 0xa]
call esi
add eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10a88a6c]
cmp eax, 0x190
jb 0x10039282
test edi, edi
js 0x10039282
call esi
mov dword [0x10a88a6c], eax
lea eax, [ebp - 8]
mov ecx, 8
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0xf7f308c1
call fcn.10100800
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x10a888f0]
sub eax, dword [ecx + 0x30]
cmp eax, 0x12c
jb 0x10039460
mov dl, byte [ebp + 8]
mov ax, word [ebp + 0xc]
mov byte [ebp - 4], dl
lea edx, [ebp - 8]
mov ecx, 8
push edx
mov dword [ebp - 8], 0x20fa08c1
mov word [ebp - 2], ax
call fcn.10100800
add esp, 4
call esi
mov ecx, dword [0x10a888f0]
mov dword [ecx + 0x30], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003a090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [0x118d2829], 0
mov edx, eax
je 0x1003a109
mov eax, 0x29a
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x1003a109
cmp dword [ebp + 8], 0x201
jne 0x1003a0d1
mov byte [0x118d2a20], 1
mov al, 1
pop esi
pop ebp
ret 4
mov eax, edx
sub eax, dword [0x118d2a1c]
cmp eax, 0x12c
jb 0x1003a109
sub edx, dword [0x118d2a70]
cmp edx, 0x12c
jb 0x1003a109
inc dword [0x10a88aa0]
mov byte [0x118d2a20], 0
call esi
mov dword [0x118d2a1c], eax
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [0x118d2829], 0
mov edx, eax
je 0x1003a189
mov eax, 0x29b
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x1003a189
cmp dword [ebp + 8], 0x201
jne 0x1003a151
mov byte [0x118d2a74], 1
mov al, 1
pop esi
pop ebp
ret 4
mov eax, edx
sub eax, dword [0x118d2a70]
cmp eax, 0x12c
jb 0x1003a189
sub edx, dword [0x118d2a1c]
cmp edx, 0x12c
jb 0x1003a189
dec dword [0x10a88aa0]
mov byte [0x118d2a74], 0
call esi
mov dword [0x118d2a70], eax
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4
Function at 0x1003a200
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x118d2829], 0
mov dword [ebp - 0x10], eax
jne 0x1003a220
xor al, al
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x10a88aa0]
imul eax, eax, 0x19
push ebx
push esi
push edi
mov edi, eax
add eax, 0x19
mov dword [ebp - 8], edi
cmp edi, eax
jge 0x1003a3dd
mov edx, edi
imul edx, edx, 0x54
add edx, 0x118d2ac4
lea esi, [edi - 0x28]
mov dword [ebp - 4], edx
lea esp, [esp]
lea eax, [edi + 0x29c]
movzx eax, ax
mov ecx, 0x879340c
fild dword [ecx]
movsx ecx, ax
imul ecx, ecx, 0x54
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fld dword [ecx + 0x118c4f84]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x1003a3bf
fld dword [ecx + 0x118c4f8c]
fcompp
fnstsw ax
test ah, 5
jnp 0x1003a3c1
fild dword [0x8793410]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fld dword [ecx + 0x118c4f88]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x1003a3bf
fld dword [ecx + 0x118c4f90]
fcompp
fnstsw ax
test ah, 5
jnp 0x1003a3c1
cmp dword [ebp + 8], 0x201
je 0x1003a3e8
mov ecx, dword [ebp - 0x10]
sub ecx, dword [edx]
mov byte [edx + 4], 0
cmp ecx, 0x12c
jb 0x1003a3dd
lea ecx, [esi - 5]
xor ebx, ebx
or eax, 0xffffffff
cmp ecx, 4
ja 0x1003a2f8
lea ebx, [eax + 0xa]
mov eax, ecx
cmp esi, 4
ja 0x1003a304
mov ebx, 8
mov eax, esi
lea ecx, [esi + 5]
cmp ecx, 4
ja 0x1003a313
mov ebx, 7
mov eax, ecx
lea ecx, [esi + 0xa]
cmp ecx, 4
ja 0x1003a322
mov ebx, 6
mov eax, ecx
lea ecx, [esi + 0xf]
cmp ecx, 4
ja 0x1003a331
mov ebx, 5
mov eax, ecx
lea ecx, [esi + 0x14]
cmp ecx, 4
ja 0x1003a340
mov ebx, 4
mov eax, ecx
lea ecx, [esi + 0x19]
cmp ecx, 4
ja 0x1003a34f
mov ebx, 3
mov eax, ecx
lea ecx, [esi + 0x1e]
cmp ecx, 4
ja 0x1003a35e
mov ebx, 2
mov eax, ecx
lea ecx, [esi + 0x23]
cmp ecx, 4
ja 0x1003a36d
mov ebx, 1
mov eax, ecx
lea edx, [esi + 0x28]
cmp edx, 4
ja 0x1003a379
xor ebx, ebx
mov eax, edi
test eax, eax
jne 0x1003a382
lea edi, [eax + 1]
jmp 0x1003a3a8
cmp eax, 1
jne 0x1003a38c
lea edi, [eax + 9]
jmp 0x1003a3a8
cmp eax, 2
jne 0x1003a396
lea edi, [eax + 0x12]
jmp 0x1003a3a8
cmp eax, 3
jne 0x1003a3a0
lea edi, [eax + 0x1b]
jmp 0x1003a3a8
cmp eax, 4
jne 0x1003a3dd
lea edi, [eax + 0x5f]
call fcn.1003a400
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [ecx], eax
mov edx, ecx
jmp 0x1003a3c1
fstp st(0)
mov eax, dword [0x10a88aa0]
inc eax
imul eax, eax, 0x19
inc edi
add edx, 0x54
inc esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp edi, eax
jl 0x1003a250
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
imul edi, edi, 0x54
mov al, 1
mov byte [edi + 0x118d2ac8], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003a400
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10a88a6c]
cmp eax, 0x190
jb 0x1003a458
call esi
sub eax, dword [0x118d2824]
cmp eax, 0x190
jb 0x1003a458
test ebx, ebx
js 0x1003a458
test edi, edi
js 0x1003a458
call esi
mov dword [0x10a88a6c], eax
lea eax, [ebp - 0xc]
mov ecx, 0xc
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 0xf8f30cc1
call fcn.10100800
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x118c7b3d], 0
je 0x1003b334
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x10165048]
cmp byte [0x118c7b3d], 0
mov esi, eax
je 0x1003b320
mov eax, 0x89
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x1003b2bd
cmp dword [ebp + 8], 0x201
je 0x1003b2e2
mov dword [0xe8cb3c], 0
cmp esi, 0x12c
jb 0x1003b332
mov eax, dword [0x10165034]
cmp eax, 1
jle 0x1003b2b6
cmp eax, 3
jg 0x1003b2b6
dec eax
mov dword [0x10165034], eax
call edi
mov dword [0x10165048], eax
cmp byte [0x118c7b3d], 0
je 0x1003b320
mov eax, 0x88
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x1003b320
cmp dword [ebp + 8], 0x201
jne 0x1003b2f2
pop edi
mov dword [0xe8cb3c], 1
pop esi
pop ebp
ret 4
mov dword [0xe8cb3c], 0
cmp esi, 0x12c
jb 0x1003b332
mov eax, dword [0x10165034]
cmp eax, 1
jl 0x1003b319
cmp eax, 3
jge 0x1003b319
inc eax
mov dword [0x10165034], eax
call edi
mov dword [0x10165048], eax
mov eax, 1
cmp dword [0x10165034], eax
jge 0x1003b332
mov dword [0x10165034], eax
pop edi
pop esi
pop ebp
ret 4