joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458652
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x55de2a
call fcn.0054f7b0
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x3c], 0
jne 0x4586cf
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.004025d1
lea edi, [esi + 0x20]
lea eax, [ebp + 0x20]
cmp edi, eax
je 0x4586a8
mov ecx, edi
call fcn.0040265d
mov ecx, dword [ebp + 0x30]
test ecx, ecx
jne 0x458695
and dword [edi + 0x10], ecx
jmp 0x4586a8
lea eax, [ebp + 0x20]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x4586a1
push edi
jmp 0x4586a3
push 0
call dword [eax]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x40], eax
xor eax, eax
push eax
push eax
push esi
push 0x45872a
push eax
push eax
mov byte [esi + 0x38], al
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4586cf
mov dword [esi + 0x3c], eax
jmp 0x4586d1
xor bl, bl
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0040265d
lea ecx, [ebp + 8]
call fcn.0040265d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040265d
lea ecx, [ebp + 0x20]
call fcn.0040265d
mov al, bl
call fcn.0054f77e
ret 0x34
Function at 0x45a8c3
Capabilities:
Read file on windows

Disassembly:
push 0x45c
mov eax, 0x55e3d5
call fcn.0054f7e3
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x468]
mov edx, dword [ebp + 8]
or dword [ebp - 0x468], 0xffffffff
or dword [ebp - 0x464], 0xffffffff
push eax
push edx
call fcn.0051ffba
test al, al
je 0x45aa6d
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], ecx
mov byte [ebp - 0x444], cl
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x42c], ax
push 0x3ff
mov byte [ebp - 4], 1
mov byte [ebp - 0x414], cl
push ecx
jmp 0x45a996
cmp dword [ebp - 0x460], 0
je 0x45a9ca
push dword [ebp - 0x460]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x444]
call fcn.0040ecd3
push 0x3ff
mov byte [ebp - 0x414], 0
push 0
lea eax, [ebp - 0x413]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x460]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45a967
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea edx, [ebp - 0x444]
lea ecx, [ebp - 0x45c]
call fcn.00458112
pop ecx
push eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.004076c9
push 0
push 1
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 1
call fcn.00401c9b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00409902
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
lea ecx, [ebx + 8]
cmovae eax, dword [ebp - 0x42c]
push eax
push 1
call fcn.0045af41
xor ebx, ebx
lea ecx, [ebp - 0x42c]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00401c9b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
push ebx
push 1
call fcn.00401c56
mov al, 1
jmp 0x45aa6f
xor al, al
call fcn.0054f792
ret 8
Function at 0x45c6ab
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ecx
push esi
push edi
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
sub edx, 0xc
push dword [ecx + 8]
add ecx, 0xc
call fcn.0051ff82
pop ecx
test al, al
je 0x45c747
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], ebx
test byte [eax + 1], 2
je 0x45c706
lea esi, [ebx + 0x10]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 2]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 6]
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x44], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 0x14]
mov word [ebp - 0x14], ax
mov al, byte [ecx + 0x16]
mov byte [ebp - 0x11], al
mov al, byte [ecx + 0x17]
mov byte [ebp - 0x12], al
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x18]
add dword [ebx + 0xc], 0xffffffe4
push eax
call fcn.0045c750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45ec0c
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5b31c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x50], 0
je 0x45ec2e
mov al, 1
jmp 0x45ed6c
lea ecx, [ebp - 0x15]
call fcn.00448595
push 1
xor ebx, ebx
push ebx
push ebx
push 0x11
push 2
pop eax
push eax
push eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45ed6a
push 1
lea eax, [ebp - 0x15]
mov byte [ebp - 0x15], 1
push eax
push 0xfffffffffffffffb
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 1
lea eax, [ebp - 0x15]
push eax
push 0xffffff7f
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 1
lea eax, [ebp - 0x15]
push eax
push 0x20
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [esi + 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx]
push 2
mov dword [ebp - 0x20], eax
pop eax
push ebx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x45ed12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2740
je 0x45ece9
cmp eax, 0x2726
jne 0x45ed09
cmp dword [ebp - 0x20], 0xffff
jge 0x45ed09
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
inc eax
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
cmp eax, 2
jl 0x45eca0
jmp 0x45ed1e
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x45ed6a
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x44], edi
cmp eax, 2
je 0x45ed09
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x24]
push 4
push eax
push 0x1001
push 0xffff
push dword [esi + 0x44]
mov dword [ebp - 0x24], 0x10000
call ebx
cmp eax, 0xffffffff
je 0x45ed5f
push 4
lea eax, [ebp - 0x24]
push eax
push 0x1002
push 0xffff
push dword [esi + 0x44]
call ebx
cmp dword [esi + 0x44], 0xffffffff
mov byte [esi + 0x50], 1
setne bl
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
Function at 0x45ed7d
Capabilities:
Send data
Send data on socket

Disassembly:
push 0x44
mov eax, 0x55ea91
call fcn.0054f84f
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
call fcn.0044d5a6
mov esi, eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebx + 0x3c], esi
push 7
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x40]
lea edi, [ebp - 0x27]
mov ecx, dword [eax + 0x240]
movzx edx, word [eax + 0x28]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2e], esi
lea esi, [ebx + 0x20]
mov dword [ebp - 0x32], ecx
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ebp - 0x34], ax
mov word [ebp - 0x2a], dx
mov ax, word [ecx]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x44], ax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movzx eax, word [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x16], 0
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1f
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x45ee31
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0054f7a1
ret 0xc
Function at 0x45ee3f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b31c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x40], ebx
je 0x45ef34
call fcn.0045ec0c
test al, al
je 0x45ef34
mov eax, dword [esi + 0x40]
push 6
add eax, 0x36
mov byte [esi + 0x58], bl
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push 6
push eax
mov word [ebp - 8], bx
call dword [sym.imp.MSVCR120.dll_memcpy_s]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push str._02x__02x__02x__02x__02x__02x
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
push 0x12
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0x3c
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov edi, eax
test edi, edi
je 0x45eeff
push 1
push edi
push dword [esi + 0x44]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x45eef8
mov dword [esi + 0x54], edi
jmp 0x45eeff
push edi
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
push ebx
push ebx
push esi
push 0x45f00c
push ebx
push ebx
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x45ef34
lea edx, [esi + 0x5c]
mov dword [esi + 0x4c], eax
push edx
call fcn.0045f311
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push ecx
mov ecx, esi
call fcn.0045efb4
mov al, 1
jmp 0x45ef36
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
Function at 0x45f01b
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x114c
call fcn.0054f020
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x58], 0
jne 0x45f223
lea ebx, [esi + 0x54]
mov edi, 0x800
cmp dword [ebx], 0
je 0x45f139
push 0
push 0xffffffffffffffff
push 0
push ebx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp byte [esi + 0x58], 0
mov edi, eax
jne 0x45f223
cmp edi, 0xc0
je 0x45f21d
cmp edi, 0xffffffff
je 0x45f21d
push dword [ebx]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
test edi, edi
jne 0x45f20e
push 0x7ff
lea eax, [esp + 0x155]
mov byte [esp + 0x154], 0
push edi
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
mov edi, 0x800
lea eax, [esp + 0x15c]
push edi
push eax
push dword [esi + 0x44]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, eax
mov dword [esp + 0xc], ecx
lea eax, [ecx - 1]
cmp eax, 0x7fe
ja 0x45f213
cmp ecx, edi
jae 0x45f243
push dword [esp + 0x2a]
mov byte [esp + ecx + 0x154], 0
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x15c]
push eax
mov ecx, esi
call fcn.0045f3c6
jmp 0x45f213
mov eax, dword [esi + 0x44]
and dword [esp + 0x20], 0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 0x64
push eax
push 1
mov dword [esp + 0x5c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x45f213
test eax, eax
jle 0x45f213
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x44]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x45f213
push 0x7ff
lea eax, [esp + 0x955]
mov byte [esp + 0x954], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x14], 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push edi
lea eax, [esp + 0x960]
push eax
push dword [esi + 0x44]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 1]
cmp eax, 0x7fe
ja 0x45f213
cmp ecx, edi
jae 0x45f243
lea eax, [esp + 0x3a]
mov byte [esp + ecx + 0x950], 0
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x95c]
jmp 0x45f12c
mov edi, 0x800
cmp byte [esi + 0x58], 0
je 0x45f050
cmp byte [esi + 0x58], 0
je 0x45f22b
mov byte [esi + 0x58], 0
xor eax, eax
jmp 0x45f22e
xor eax, eax
inc eax
mov ecx, dword [esp + 0x1154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
call fcn.0054f333
int3
Function at 0x45fced
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
xor ebx, ebx
or dword [eax], 0xffffffff
inc ebx
mov eax, dword [ebp + 0x10]
push edi
push ebx
mov dword [ebp - 4], ecx
mov dword [eax], ecx
lea eax, [ebp - 4]
push eax
push ecx
call esi
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
inc eax
push eax
call fcn.00445a3d
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push ebx
push eax
push edi
call esi
test eax, eax
jne 0x45fdbe
mov ecx, dword [edi]
xor esi, esi
and dword [ebp - 0xc], esi
or eax, 0xffffffff
or edx, 0xffffffff
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x45fdbe
lea ecx, [edi + 0x28]
cmp dword [ebp + 8], 0xffffffff
je 0x45fd76
cmp dword [ebp + 8], 0
jbe 0x45fd76
mov edi, dword [ecx - 0x24]
cmp edi, 0xffffffff
je 0x45fd76
test edi, edi
je 0x45fd76
mov eax, dword [ecx - 0x20]
and eax, dword [ebp + 8]
cmp eax, edi
je 0x45fda7
mov eax, dword [ebp - 8]
cmp dword [ecx - 0x24], 0
jne 0x45fd96
cmp dword [ecx - 0x20], 0
jne 0x45fd96
cmp eax, 0xffffffff
je 0x45fd8b
cmp dword [ecx], eax
jae 0x45fd96
mov eax, dword [ecx]
mov edx, dword [ecx - 0x14]
mov esi, dword [ecx - 0x18]
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
add ecx, 0x38
inc edi
mov dword [ebp - 0xc], edi
cmp edi, dword [ebp - 0x10]
jl 0x45fd51
jmp 0x45fdad
mov edx, dword [ecx - 0x14]
mov esi, dword [ecx - 0x18]
cmp edx, 0xffffffff
je 0x45fdbe
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x45fdc0
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.00408eb1
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4603b2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x24
mov eax, 0x55ed01
call fcn.0054f84f
mov ebx, ecx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
and dword [ebp - 0x1c], eax
and dword [ebp - 0x18], eax
mov word [ebp - 0x20], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x28], esi
sub ecx, dword [ebx + 0x2c]
cmp ecx, 0x7d0
jbe 0x46056d
mov ecx, ebx
mov dword [ebx + 0x2c], esi
call fcn.00461705
test al, al
jne 0x4604d3
cmp byte [ebx + 0x1c], al
jne 0x4604d9
mov eax, esi
sub eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x94]
jbe 0x4604d3
inc dword [ebx + 0x20]
mov ecx, ebx
push 2
pop edi
cmp dword [ebx + 0x20], edi
jl 0x4604c6
lea eax, [ebp - 0x20]
push eax
call fcn.00461669
test al, al
je 0x4604bd
lea esi, [ebx + 0x30]
mov ecx, esi
mov dword [ebp - 0x30], esi
call fcn.00529310
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp byte [ebx + 0x90], 0
je 0x4604ad
cmp byte [ebx + 0x1c], 0
jne 0x4604ad
mov eax, dword [ebp - 0x20]
add ebx, 8
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov word [ebx], di
mov edi, dword [ebp - 0x24]
add edi, 0x10
mov dword [ebx + 4], eax
mov ax, word [ebp - 0x18]
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x24]
push edi
push ebx
mov ebx, ecx
and dword [ecx + 0x20], 0
mov dword [ecx + 0x14], eax
mov byte [ecx + 0x1c], 0
call fcn.004609eb
mov byte [ebx + 0x54], 1
jmp 0x4604ad
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00529320
mov esi, dword [ebp - 0x28]
jmp 0x4604d3
mov ecx, ebx
call fcn.0046149c
jmp 0x4604d3
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004609eb
cmp byte [ebx + 0x1c], 0
je 0x460535
mov eax, esi
sub eax, dword [ebx + 0x18]
cmp eax, 0x2710
jbe 0x460535
mov ecx, dword [ebx + 0x24]
lea edi, [ebp - 0x1f]
xor eax, eax
mov byte [ebx + 0x1c], 0
stosd dword es:[edi], eax
mov dword [ebx + 0x14], esi
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, 0x131
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0x68
test ecx, ecx
je 0x460535
call fcn.0044d5a6
mov ecx, dword [ebx + 0x24]
sub esp, 0xc
mov dword [ebp - 0x1d], eax
lea eax, [ebp - 0x20]
push 7
push eax
movzx eax, word [ebx + 0x10]
push 0
push 0
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x70000002
call fcn.0044ec89
mov ecx, ebx
call fcn.00461705
test al, al
je 0x460575
mov eax, dword [ebx + 0x68]
jmp 0x460566
mov ecx, esi
sub ecx, dword [eax + 0x14]
cmp ecx, 0x3a98
jbe 0x460563
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x68]
call fcn.00461bf3
mov eax, dword [eax]
jmp 0x460566
add eax, 0x20
cmp eax, dword [ebx + 0x6c]
jne 0x460545
jmp 0x460575
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0054f7a1
ret
Function at 0x4609eb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx + 0xc0]
cmp dword [edi + 0x14], 2
jne 0x460a24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x10]
add dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 1
xor eax, eax
mov ecx, dword [ebx + 0x24]
lea edi, [esp + 9]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, 0x131
mov word [esp + 8], ax
mov byte [esp + 0xa], 0x64
test ecx, ecx
je 0x460a7d
call fcn.0044d5a6
sub esp, 0xc
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x17], eax
lea eax, [esp + 0x14]
push 7
push eax
mov eax, dword [ebp + 0xc]
push 0
push 0
movzx eax, word [eax]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x70000002
call fcn.0044ec89
mov ecx, dword [esp + 0x14]
pop edi
pop ebx
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret 8

Function at 0x460b46
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
push 0x46038b
push 0x131
mov ecx, dword [edi + 0x24]
call fcn.0044eb62
xor ebx, ebx
cmp dword [edi + 0x28], ebx
jne 0x460b9a
push esi
push 0xc
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
pop ecx
test esi, esi
je 0x460b94
push ebx
push ebx
push esi
push 0x461a94
push ebx
mov dword [esi], edi
mov dword [esi + 4], ebx
push ebx
mov byte [esi + 8], bl
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
jmp 0x460b96
mov esi, ebx
mov dword [edi + 0x28], esi
pop esi
pop edi
pop ebx
ret
Function at 0x46149c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x40
mov eax, 0x55eefd
call fcn.0054f819
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edi, edi
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebx + 0x74]
jl 0x4614f4
call esi
sub eax, dword [ebx + 0x4c]
cmp eax, 0xea60
jbe 0x4614f4
mov dword [ebx + 0x48], edi
mov eax, dword [ebx + 0x48]
cmp eax, dword [ebx + 0x74]
jge 0x46164b
mov edi, dword [ebx + 0xc0]
cmp dword [edi + 0x14], 1
jne 0x461519
call esi
sub eax, dword [edi + 0x10]
add dword [edi + 8], eax
call esi
mov dword [edi + 0x10], eax
and dword [edi + 0x14], 0
call esi
mov ecx, dword [ebx + 0x24]
mov dword [ebx + 0x4c], eax
mov eax, dword [ecx + 0x240]
mov word [ebp - 0x4c], ax
call fcn.0044d5a6
push 3
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.00461b18
mov edi, dword [sym.imp.MSVCR120.dll_rand]
call edi
push 0x64
cdq
pop ecx
idiv ecx
mov esi, dword [ebp - 0x44]
mov byte [esi], dl
call edi
push 0x64
cdq
pop ecx
idiv ecx
mov byte [esi + 1], dl
call edi
push 0x64
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
lea eax, [ebp - 0x4c]
mov byte [esi + 2], dl
push eax
call fcn.00460f74
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
sub eax, dword [ebp - 0x30]
push 0xc
pop esi
cdq
idiv esi
cmp dword [ebp - 0x38], 0
mov edi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jle 0x461648
cmp dword [ebp - 0x30], ecx
je 0x461648
add ebx, 0x30
mov byte [ebp - 4], 2
mov ecx, ebx
mov dword [ebp - 0x24], ebx
call fcn.00529310
mov byte [ebp - 4], 3
xor esi, esi
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp esi, edi
jae 0x46160f
lea edi, [ecx + 0x7c]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp - 0x1c]
cmp eax, dword [ecx + 0x78]
jae 0x46160f
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0xc
pop ecx
cdq
idiv ecx
mov ecx, edi
inc eax
push eax
call fcn.00461b5e
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0xc
pop ecx
cdq
idiv ecx
mov edi, dword [edi]
imul esi, esi, 0xc
add edi, 0xfffffff4
imul ecx, eax, 0xc
add esi, dword [ebp - 0x30]
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
inc esi
jmp 0x4615b9
mov esi, dword [ecx + 0xc0]
cmp dword [esi + 0x14], 0
jne 0x461635
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x10]
add dword [esi + 4], eax
call edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00529320
jmp 0x46164b
inc dword [ebx + 0x48]
lea ecx, [ebp - 0x30]
call fcn.00408eb1
lea ecx, [ebp - 0x44]
call fcn.00408eb1
call fcn.0054f77e
ret
Function at 0x46171a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xc0]
call ebx
sub eax, dword [esi]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x14], 0
jne 0x461754
call ebx
sub eax, dword [esi + 0x10]
add dword [esi + 4], eax
call ebx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0xb4], eax
cmp dword [esi + 0x14], 1
jne 0x461776
call ebx
sub eax, dword [esi + 0x10]
add dword [esi + 8], eax
call ebx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0xb8], eax
cmp dword [esi + 0x14], 2
jne 0x461798
call ebx
sub eax, dword [esi + 0x10]
add dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
lea edx, [edi + 0x98]
push 0xa
mov dword [edi + 0xbc], eax
mov esi, edx
mov edi, dword [ebp + 8]
xor eax, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0xa
pop ecx
push 0xa
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
pop ecx
lea esi, [ebp - 0x28]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4