joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4155f1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push edi
push 2
xor ebx, ebx
mov dword [ebp - 4], 0x10
or edi, 0xffffffff
mov byte [ebp - 0x254], bl
pop eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], edi
jne 0x415629
mov ecx, dword [ebp + 0x10]
mov eax, edi
mov dword [ecx], edi
jmp 0x4156fe
push esi
push str.read_len
call fcn.0041b23e
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x240
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
push esi
push str.len__d
call fcn.0041b23e
pop ecx
pop ecx
cmp esi, 1
jge 0x4156da
cmp esi, edi
jne 0x4156fa
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
je 0x415698
cmp esi, 0x2746
jne 0x41569c
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
call fcn.0040bf66
mov eax, edi
jmp 0x4156fd
cmp esi, 0x2714
je 0x4156d6
push ebx
push ebx
lea eax, [ebp + 8]
push eax
push 0x400
push esi
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp + 8]
push esi
push str.recvfrom_failed:Error_code____d_n_s
call fcn.00401872
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x4156fd
push dword [ebp - 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x254]
movzx eax, ax
push esi
push ecx
push eax
push dword [ebp - 0x10]
call fcn.0040b4a1
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x415704
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x415718
or eax, 0xffffffff
jmp 0x4157d7
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 2
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
pop eax
push ebx
movzx esi, si
push esi
push edi
push dword [ebp + 0xc]
mov word [ebp - 0x10], ax
call fcn.00413d73
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.00413d5e
add esp, 0x20
inc edi
push 0x10
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push 0x483ab0
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
je 0x415758
cmp eax, 0xffffffff
je 0x41577b
xor eax, eax
jmp 0x4157d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2746
jne 0x415798
push str.A_previous_send_operation_resulted_in_an_ICMP_Port_Unreachable_message._n
call fcn.00401872
pop ecx
jmp 0x4157d2
cmp esi, 0x2733
je 0x4157d2
push ebx
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x400
push esi
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp + 0xc]
push esi
push str.sendto_failed:Error_code____d_n_s
call fcn.00401872
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x416ad5
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
test ebp, ebp
jne 0x416af5
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.00418741
xor al, al
jmp 0x416bb2
push edi
call fcn.00416414
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push ebp
call fcn.0042dd61
push ebp
call fcn.0042e3fd
push ebx
mov edi, eax
push ebx
push ebp
mov dword [esp + 0x30], edi
call fcn.0042dd61
add esp, 0x1c
test edi, edi
jg 0x416b30
push ebx
push ebx
push ebx
push 0xc
jmp 0x416b5f
lea eax, [edi + 1]
push eax
call fcn.0042551d
push ebp
mov ebp, dword [esp + 0x1c]
mov edi, eax
push 1
push ebp
push edi
mov byte [edi], bl
call fcn.0042d963
add esp, 0x14
cmp eax, 1
je 0x416b6a
push edi
call fcn.00425585
pop ecx
push ebx
push ebx
push ebx
push 2
mov ecx, esi
call fcn.00418741
xor al, al
jmp 0x416bb1
mov byte [edi + ebp], bl
mov eax, edi
mov dl, byte [edi]
mov ecx, edi
test dl, dl
je 0x416b95
inc eax
lea ebp, [ecx + 1]
cmp dl, 0xd
jne 0x416b8b
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x416b8d
inc eax
jmp 0x416b8d
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebp
test dl, dl
jne 0x416b77
push dword [esp + 0x18]
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.00425585
cmp byte [esi + 0x2c], bl
pop ecx
sete al
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41a0cf
Capabilities:
Create thread
Set console window title

Disassembly:
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov ebp, 0x4000
push ebp
push eax
call fcn.00433deb
mov ebx, 0x44aaf8
push ebx
push eax
call fcn.0043381a
push 1
mov esi, eax
call fcn.00429f5e
mov ecx, dword [esi]
add esp, 0x14
mov dword [eax], ecx
push 0
push 4
push 0
push 1
call fcn.00429f5e
pop ecx
push eax
call fcn.00433943
add esp, 0x10
push 0xfffffffffffffff6
call edi
push ebp
push eax
call fcn.00433deb
push 0x44be64
push eax
call fcn.0043381a
push 0
mov esi, eax
call fcn.00429f5e
mov ecx, dword [esi]
add esp, 0x14
mov dword [eax], ecx
xor eax, eax
push eax
push 4
push eax
push eax
call fcn.00429f5e
pop ecx
push eax
call fcn.00433943
add esp, 0x10
push 0xfffffffffffffff4
call edi
push ebp
push eax
call fcn.00433deb
push ebx
push eax
call fcn.0043381a
push 2
mov esi, eax
call fcn.00429f5e
mov ecx, dword [esi]
add esp, 0x14
xor ebx, ebx
mov dword [eax], ecx
push ebx
push 4
push ebx
push 2
call fcn.00429f5e
pop ecx
push eax
call fcn.00433943
push 1
call fcn.0041a223
add esp, 0x14
push str.RakSAMP_v0.8.6_0.3.7
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push ebx
push ebx
push ebx
push 0x41a1cb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push 0x41a09e
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41a2cb
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x44850a
call fcn.00425528
sub esp, 0x138
cmp dword [0x4a6e78], 0
je 0x41a42a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x503d08]
cmp dword [0x4a6e78], eax
jae 0x41a429
push esi
push edi
lea ecx, [ebp - 0x144]
call fcn.0040129a
mov ax, word [ebp + 0x10]
mov ecx, 0xffff
and dword [ebp - 4], 0
cmp ax, cx
je 0x41a37f
movzx eax, ax
imul eax, eax, 0x153
cmp dword [eax + 0x4a6ed0], 0
je 0x41a41c
push 7
lea esi, [eax + 0x4a6f99]
xorps xmm1, xmm1
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
movss xmm0, dword [ebp - 0x23]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41a3d5
movss xmm0, dword [ebp - 0x1f]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41a3d5
movss xmm0, dword [ebp - 0x1b]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41a3d5
mov dword [ebp - 0x23], 0x3e800000
jmp 0x41a3d5
movzx eax, word [0x4a6ea8]
imul edx, eax, 0x153
cmp dword [ebp + 0xc], 0
je 0x41a39b
or byte [edx + 0x4a6fb6], 0xc0
jmp 0x41a3bd
mov eax, dword [ebp + 8]
cmp eax, 1
movzx ecx, al
mov al, byte [edx + 0x4a6fb6]
push 2
pop esi
cmova ecx, esi
and al, 0x3f
shl cl, 6
or cl, al
mov byte [edx + 0x4a6fb6], cl
push 7
mov byte [edx + 0x4a6fb7], 0x55
lea esi, [edx + 0x4a6f99]
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 1
push 8
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xcb
push eax
lea ecx, [ebp - 0x144]
call fcn.00401731
push 0x1f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x144]
call fcn.004016c5
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x144]
push 0
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
call ebx
mov dword [0x4a6e78], eax
lea ecx, [ebp - 0x144]
call fcn.004012b5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x41a5bf
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x447ac2
call fcn.00425528
sub esp, 0x114
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41a7f6
push ebx
lea ecx, [ebp - 0x120]
call fcn.0040129a
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x4a6e7c], ebx
je 0x41a7ea
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x503d04]
cmp dword [0x4a6e7c], eax
jae 0x41a7e9
mov ax, word [ebp + 0x10]
mov ecx, 0xffff
cmp ax, cx
je 0x41a747
movzx eax, ax
imul ecx, eax, 0x153
cmp dword [ecx + 0x4a6ed0], ebx
je 0x41a7e9
mov ax, word [0x50470f]
mov word [esi], ax
mov ax, word [ecx + 0x4a6f44]
mov word [esi + 2], ax
mov ax, word [ecx + 0x4a6f46]
mov word [esi + 4], ax
mov ax, word [ecx + 0x4a6f48]
mov word [esi + 6], ax
mov eax, dword [ecx + 0x4a6f4a]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x4a6f4e]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x4a6f52]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x4a6f56]
mov dword [esi + 0x14], eax
movss xmm1, dword [ecx + 0x4a6f5a]
addss xmm1, dword [0x504713]
movss dword [esi + 0x18], xmm1
movss xmm0, dword [ecx + 0x4a6f5e]
addss xmm0, dword [0x504717]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [ecx + 0x4a6f62]
addss xmm0, dword [0x50471b]
movss dword [esi + 0x20], xmm0
mov eax, dword [ecx + 0x4a6f66]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x4a6f6a]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x4a6f6e]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x4a6f72]
mov dword [esi + 0x30], eax
cmp byte [0x504733], bl
jne 0x41a705
mov al, byte [ecx + 0x4a6f76]
mov byte [esi + 0x34], al
mov al, byte [ecx + 0x4a6f77]
mov byte [esi + 0x35], al
mov al, byte [0x504751]
test al, al
jne 0x41a714
mov al, byte [ecx + 0x4a6f78]
mov byte [esi + 0x36], al
mov al, byte [ecx + 0x4a6f79]
mov byte [esi + 0x37], al
mov al, byte [ecx + 0x4a6f7a]
mov byte [esi + 0x38], al
mov ax, word [ecx + 0x4a6f7b]
mov word [esi + 0x39], ax
mov eax, dword [ecx + 0x4a6f7d]
mov dword [esi + 0x3b], eax
movss dword [0x504745], xmm1
jmp 0x41a78c
movzx eax, word [esi]
imul ecx, eax, 0x14
cmp dword [ecx + 0x4fa058], ebx
je 0x41a7e9
cmp dword [ebp + 0xc], ebx
je 0x41a77f
movss xmm0, dword [ecx + 0x4fa05c]
movss dword [esi + 0x18], xmm0
mov eax, dword [ecx + 0x4fa060]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x4fa064]
mov dword [esi + 0x20], eax
jmp 0x41a784
movss xmm0, dword [esi + 0x18]
movss dword [0x504745], xmm0
movss xmm0, dword [esi + 0x1c]
lea eax, [ebp + 8]
push 1
movss dword [0x504749], xmm0
lea ecx, [ebp - 0x120]
movss xmm0, dword [esi + 0x20]
push 8
push eax
movss dword [0x50474d], xmm0
mov byte [ebp + 8], 0xc8
call fcn.00401731
push 0x3f
push esi
lea ecx, [ebp - 0x120]
call fcn.004016c5
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x120]
push ebx
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
call edi
mov dword [0x4a6e7c], eax
pop edi
lea ecx, [ebp - 0x120]
call fcn.004012b5
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41a803
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x447ac2
call fcn.00425528
sub esp, 0x114
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41aa16
push ebx
lea ecx, [ebp - 0x120]
call fcn.0040129a
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x4a6e88], ebx
je 0x41aa0a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x503d00]
cmp dword [0x4a6e88], eax
jae 0x41aa09
mov ax, word [ebp + 0x10]
mov ecx, 0xffff
cmp ax, cx
je 0x41a97c
movzx eax, ax
imul ecx, eax, 0x153
cmp dword [ecx + 0x4a6ed0], ebx
je 0x41aa09
cmp dword [0x4a6e70], ebx
jne 0x41aa09
cmp dword [0x4a6e74], ebx
jne 0x41aa09
mov ax, word [ecx + 0x4a6efe]
mov word [esi], ax
mov ax, word [ecx + 0x4a6f00]
mov word [esi + 2], ax
mov ax, word [ecx + 0x4a6f02]
mov word [esi + 4], ax
movss xmm1, dword [ecx + 0x4a6f04]
addss xmm1, dword [0x504713]
movss dword [esi + 6], xmm1
movss xmm0, dword [ecx + 0x4a6f08]
addss xmm0, dword [0x504717]
movss dword [esi + 0xa], xmm0
movss xmm0, dword [ecx + 0x4a6f0c]
addss xmm0, dword [0x50471b]
movss dword [esi + 0xe], xmm0
mov eax, dword [ecx + 0x4a6f10]
mov dword [esi + 0x12], eax
mov eax, dword [ecx + 0x4a6f14]
mov dword [esi + 0x16], eax
mov eax, dword [ecx + 0x4a6f18]
mov dword [esi + 0x1a], eax
mov eax, dword [ecx + 0x4a6f1c]
mov dword [esi + 0x1e], eax
cmp byte [0x504733], bl
jne 0x41a933
mov al, byte [ecx + 0x4a6f20]
mov byte [esi + 0x22], al
mov al, byte [ecx + 0x4a6f21]
mov byte [esi + 0x23], al
mov al, byte [0x504751]
test al, al
jne 0x41a942
mov al, byte [ecx + 0x4a6f22]
mov byte [esi + 0x24], al
mov al, byte [ecx + 0x4a6f23]
mov byte [esi + 0x25], al
mov eax, dword [ecx + 0x4a6f24]
mov dword [esi + 0x26], eax
mov eax, dword [ecx + 0x4a6f28]
mov dword [esi + 0x2a], eax
mov eax, dword [ecx + 0x4a6f2c]
mov dword [esi + 0x2e], eax
mov eax, dword [ecx + 0x4a6f3e]
mov dword [esi + 0x40], eax
movss dword [0x504745], xmm1
jmp 0x41a995
mov al, byte [0x504751]
test al, al
je 0x41a988
mov byte [esi + 0x24], al
movss xmm0, dword [esi + 6]
movss dword [0x504745], xmm0
movss xmm0, dword [esi + 0xa]
lea eax, [ebp + 8]
push 1
movss dword [0x504749], xmm0
lea ecx, [ebp - 0x120]
movss xmm0, dword [esi + 0xe]
push 8
push eax
movss dword [0x50474d], xmm0
mov byte [ebp + 8], 0xcf
call fcn.00401731
push 0x44
push esi
lea ecx, [ebp - 0x120]
call fcn.004016c5
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x120]
push ebx
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
cmp dword [ebp + 0xc], ebx
je 0x41aa02
cmp byte [esi + 0x22], bl
jne 0x41aa02
push 0xffff
push ebx
call fcn.0041aba6
pop ecx
pop ecx
call edi
mov dword [0x4a6e88], eax
pop edi
lea ecx, [ebp - 0x120]
call fcn.004012b5
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41aa23
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4482a8
call fcn.00425528
sub esp, 0x12c
push ebx
mov bx, word [ebp + 8]
movzx eax, bx
push esi
imul esi, eax, 0x14
cmp dword [esi + 0x4fa058], 0
je 0x41ab23
cmp dword [0x4a6e80], 0
je 0x41ab23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503d04]
cmp dword [0x4a6e80], eax
jae 0x41ab23
push edi
lea ecx, [ebp - 0x138]
call fcn.0040129a
movss xmm0, dword [esi + 0x4fa05c]
lea edi, [ebp - 0x24]
push 6
and dword [ebp - 4], 0
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
cvttss2si eax, dword [0x50473c]
lea ecx, [ebp - 0x138]
mov word [ebp - 0x24], bx
push 1
push 8
mov byte [ebp + 8], 0xd3
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [esi + 0x4fa060]
mov byte [ebp - 0x20], al
cvttss2si eax, dword [0x504740]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x4fa064]
mov byte [ebp - 0x1f], al
lea eax, [ebp + 8]
push eax
movss dword [ebp - 0x10], xmm0
call fcn.00401731
push 0x18
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x138]
call fcn.004016c5
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x138]
push 0
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x138]
mov dword [0x4a6e80], eax
call fcn.004012b5
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41d45f
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0
je 0x41d533
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push 0x44a6a8
push 0x104
push eax
call fcn.0041a06a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041d0fe
add esp, 0x18
lea esi, [ebp - 0x14]
push 5
pop edi
mov ebx, edi
movzx eax, byte [esi]
push 0x2f
push eax
call fcn.0041e8cc
mov byte [esi], al
inc esi
pop ecx
pop ecx
sub ebx, 1
jne 0x41d4a9
lea esi, [ebp - 0xf]
mov ebx, edi
movzx eax, byte [esi]
push 0x45
push eax
call fcn.0041e8cc
mov byte [esi], al
inc esi
pop ecx
pop ecx
sub ebx, 1
jne 0x41d4c3
lea esi, [ebp - 0xa]
mov ebx, edi
movzx eax, byte [esi]
push 0x6f
push eax
call fcn.0041e8cc
mov byte [esi], al
inc esi
pop ecx
pop ecx
sub ebx, 1
jne 0x41d4dd
lea esi, [ebp - 5]
movzx eax, byte [esi]
push 0xdb
push eax
call fcn.0041e8cc
mov byte [esi], al
inc esi
pop ecx
pop ecx
sub edi, 1
jne 0x41d4f5
push 0x14
pop edx
pop edi
pop esi
xor ecx, ecx
pop ebx
mov al, byte [ecx + 0x44c3b4]
xor byte [ebp + ecx - 0x14], al
inc ecx
sub edx, 1
jne 0x41d515
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0041d414
pop ecx
pop ecx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [0x4a6ea8]
sub esp, 0x40
imul eax, eax, 0x153
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [eax + 0x4a6ef8], ebx
je 0x41d6ed
push 0x3f
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00426e50
mov ax, word [ebp + 0xc]
push esi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041a5bf
push esi
push ebx
push ebx
call fcn.0041a2cb
add esp, 0x24
cmp dword [0x503ce4], ebx
je 0x41d76e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0x2710
cmp dword [0x503ce4], eax
jae 0x41d76e
movzx eax, word [0x4a6ea8]
imul eax, eax, 0x153
cmp dword [eax + 0x4a6ef8], ebx
jne 0x41d761
movzx eax, si
mov ecx, 0xffff
imul eax, eax, 0x153
cmp word [eax + 0x4a6f42], cx
je 0x41d78a
movzx eax, word [0x50470f]
push ebx
push eax
call fcn.0041a4ab
movzx eax, word [0x4a6ea8]
imul eax, eax, 0x153
pop ecx
pop ecx
mov dword [0x503ce4], ebx
mov dword [eax + 0x4a6ef8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x503ce4], eax
jmp 0x41d78a
movzx eax, word [0x4a6ea8]
imul eax, eax, 0x153
cmp dword [eax + 0x4a6ef8], ebx
jne 0x41d78a
push esi
call fcn.0041d87f
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x41d8b1
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
xor ebp, ebp
cmp byte [0x504744], 0
push edi
mov edi, 0x3ec
je 0x41da7e
cmp byte [0x50421f], 0
je 0x41da7e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x503cd4]
cmp eax, dword [0x5046de]
jb 0x41da7e
mov si, word [0x503cec]
cmp si, di
jae 0x41dacc
cmp si, word [0x4a6ea8]
je 0x41da85
movzx eax, si
imul edi, eax, 0x153
cmp dword [edi + 0x4a6ed0], ebp
je 0x41da85
cmp dword [edi + 0x4a6ed4], ebp
jne 0x41d939
cmp dword [edi + 0x4a6ed8], ebp
je 0x41da85
cmp dword [0x504684], 4
jne 0x41d96d
push 0x5046fb
call fcn.0041d626
pop ecx
movzx eax, ax
mov ecx, 0xffff
cmp ax, cx
je 0x41d96d
cmp ax, si
jne 0x41d96d
inc si
mov word [0x503cec], si
jmp 0x41da85
movss xmm0, dword [0x504745]
movss dword [esp + 0x13], xmm0
movss xmm0, dword [0x504749]
movss dword [esp + 0x17], xmm0
movss xmm0, dword [0x50474d]
movss dword [esp + 0x1b], xmm0
movss xmm0, dword [edi + 0x4a6f04]
movss dword [esp + 0x1f], xmm0
movss xmm0, dword [edi + 0x4a6f08]
movss dword [esp + 0x23], xmm0
movss xmm0, dword [edi + 0x4a6f0c]
mov byte [esp + 0x10], 1
mov word [esp + 0x11], si
movss dword [esp + 0x27], xmm0
call fcn.0043437f
push 0xa
cdq
pop esi
idiv esi
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x44c46c]
movss dword [esp + 0x2b], xmm0
call fcn.0043437f
cdq
idiv esi
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x44c46c]
movss dword [esp + 0x2f], xmm0
call fcn.0043437f
cdq
idiv esi
mov al, byte [0x504751]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x44c46c]
movss dword [esp + 0x33], xmm0
test al, al
jne 0x41da61
mov eax, dword [0x504684]
cmp eax, 4
je 0x41da3d
cmp eax, 5
jne 0x41da65
push 0x5046fb
call fcn.0041d626
pop ecx
movzx eax, ax
mov ecx, 0xffff
cmp ax, cx
je 0x41da65
imul eax, eax, 0x153
mov al, byte [eax + 0x4a6f22]
mov byte [esp + 0x37], al
lea eax, [esp + 0x10]
push eax
call fcn.0041a436
inc word [0x503cec]
pop ecx
call ebx
mov dword [0x503cd4], eax
mov si, word [0x503cec]
mov ebx, 0x3ec
cmp si, bx
jae 0x41dacc
cmp si, word [0x4a6ea8]
je 0x41dab9
movzx eax, si
imul eax, eax, 0x153
cmp dword [eax + 0x4a6ed0], ebp
je 0x41dab9
cmp dword [eax + 0x4a6ed4], ebp
jne 0x41dac0
cmp dword [eax + 0x4a6ed8], ebp
jne 0x41dac0
inc si
cmp si, bx
jb 0x41da8f
mov word [0x503cec], si
cmp si, bx
jb 0x41dad4
xor eax, eax
mov word [0x503cec], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503cd8]
cmp eax, dword [0x5046d6]
jb 0x41dbda
lea eax, [ebp - 0x40]
push 0x3c
push eax
call fcn.0041c61d
lea eax, [ebp - 0x40]
push eax
call fcn.0041e3a5
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x503cd8], eax
leave
ret
Function at 0x41dbdc
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x4a6e90], 0
je 0x41dc34
cmp dword [0x4a6e9c], 0
je 0x41dc34
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503cdc]
cmp eax, dword [0x5046da]
jb 0x41dc34
push dword [0x503ce8]
call fcn.0041e144
pop ecx
call fcn.0041e222
mov eax, dword [0x503ce8]
xor ecx, ecx
inc eax
cmp eax, dword [0x4a6ea0]
cmovge eax, ecx
mov dword [0x503ce8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x503cdc], eax
ret

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

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503cc8]
cmp eax, dword [0x5046ca]
jb 0x41ddf0
push ebx
push ebp
push esi
mov ebp, 0x10000
mov esi, ebp
call fcn.0043437f
push 0x2e
cdq
pop ecx
idiv ecx
mov ebx, edx
cmp esi, 0x3eb
ja 0x41ddb2
movzx eax, word [0x4a6ea8]
cmp esi, eax
je 0x41ddb2
imul eax, esi, 0x153
cmp dword [eax + 0x4a6ed0], 0
je 0x41ddb2
cmp byte [eax + 0x4a6efd], 0
je 0x41ddce
call fcn.0041d5fa
cmp ax, 2
jb 0x41ddd4
call fcn.0043437f
cdq
mov ecx, 0x3ec
idiv ecx
mov esi, edx
jmp 0x41dd87
cmp esi, ebp
je 0x41dde2
jmp 0x41ddd9
mov esi, 0xffff
push esi
push ebx
call fcn.0041aba6
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop esi
pop ebp
mov dword [0x503cc8], eax
pop ebx
ret