joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46683c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466853
add esp, 0xfffffff0
call fcn.0040496c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004231c8
mov eax, dword [0x5672e8]
cmp word [eax + 2], 0
jne 0x46687b
mov eax, dword [0x5672e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046859c
mov eax, dword [0x5675c8]
cmp word [eax + 2], 0
jne 0x466895
mov eax, dword [0x5675c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004687a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4198c0]
call fcn.00404618
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4198c0]
call fcn.00404618
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4198c0]
call fcn.00404618
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x428d0c]
call fcn.00430e5c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466a4c
mov eax, dword [0x566fdc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431230
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x468e7c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x566fdc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00410f8c
test eax, eax
je 0x46699c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ce10
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00410fc0
test eax, eax
je 0x4669b0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004057c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x468010
call fcn.00424344
mov dword [ebx + 0xc8], eax
mov eax, dword [0x566adc]
cmp byte [eax], 0
jne 0x466a01
mov eax, ebx
call fcn.00466b90
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00469090
mov eax, ebx
call fcn.00469bf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466a41
call fcn.004049c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466e10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x466eaf
cmp dword [ebx + 0x94], 0
jne 0x466ea9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466d98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466ea9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x466e6f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466ea9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c194
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466e7e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4670c8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x56ef14]
cmp dword [eax + 0x30], 0
je 0x467225
test bl, bl
jne 0x467176
cmp dword [esi + 0x9c], 0
jne 0x46716b
mov eax, esi
call fcn.00469a70
push eax
push 0x466ff4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46713c
mov eax, dword [0x56ef14]
call fcn.0046a150
test al, al
je 0x46713c
mov eax, dword [0x56ef38]
call fcn.00406b2c
mov edi, eax
cmp edi, 0
jl 0x46713c
push 0
mov eax, dword [0x56ef38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x467126
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46716b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c194
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46714b
inc dword [esi + 0x9c]
jmp 0x467225
cmp dword [esi + 0x9c], 0
jle 0x467225
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x467225
cmp dword [esi + 0x44], 0
je 0x4671d1
mov eax, dword [0x56ef14]
call fcn.0046a150
test al, al
je 0x4671d1
mov eax, dword [0x56ef38]
call fcn.00406b2c
mov edi, eax
cmp edi, 0
jl 0x4671d1
push 5
mov eax, dword [0x56ef38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4671bb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467200
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c194
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4671e0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x56ef38
mov ecx, 1
mov edx, dword [0x466fd4]
call fcn.00406ce0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x467d0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x467d76
mov eax, ebx
call fcn.0046a150
test al, al
jne 0x467d76
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405634
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x467d63
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x467d83
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405598
jmp 0x467d83
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405598
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x469274
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4692e2
mov eax, esi
call fcn.00451c3c
test al, al
je 0x4692e2
mov eax, dword [ebx + 0x84]
call fcn.0045189c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4692e2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4692d6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045189c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004496d4
jmp 0x4692e2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004690b0
pop esi
pop ebx
ret

Function at 0x46abe8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x46ac71
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x56ef48
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x46ac5b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040f8d4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x46ac88
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x567780]
mov dl, 1
mov eax, dword [0x46a3e8]
call fcn.00410210
call fcn.00404ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ac78
lea eax, [ebp - 0x1c]
call fcn.00405544
ret

Function at 0x46b250
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x46b2ac]
cmp al, byte [ebx + 0x28]
je 0x46b274
mov esi, 0x401
mov eax, ebx
call fcn.0046b3a8
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x46b2ac]
cmp al, byte [ebx + 0x28]
jne 0x46b2a4
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46b338
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0046b250
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404844
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x46b3a0
mov eax, ebx
call fcn.0046ab2c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x46b392
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404844
pop esi
pop ebx
ret

Function at 0x46b3c4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004059e4
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403ca8
test ebx, ebx
je 0x46b413
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x46b4f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46b521
mov ecx, dword [0x567464]
mov dl, 1
mov eax, dword [0x46a3e8]
call fcn.004101d4
call fcn.00404ebc
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x46b54e
mov ecx, dword [0x5672d0]
mov dl, 1
mov eax, dword [0x46a3e8]
call fcn.004101d4
call fcn.00404ebc
xor eax, eax
push ebp
push 0x46b5ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404844
cmp byte [ebp + 8], 0
je 0x46b5a6
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046b458
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0046b338
jmp 0x46b5c0
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046ae20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b5e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46b7c8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046b0e8
xor eax, eax
push ebp
push 0x46b93b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x46b925
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x46b814
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46b81e
call fcn.00404f68
jmp 0x46b942
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e8d8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x46b91a
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x46b8cd
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x46b8ba
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404844
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0046b780
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x46b950]
cmp dl, byte [eax + 0x28]
je 0x46b921
call fcn.004100ec
jmp 0x46b921
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e8f8
jmp 0x46b921
cmp edi, ebx
jge 0x46b8e9
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e8f8
jmp 0x46b81e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e8d8
cmp edx, dword [esp + 4]
jne 0x46b909
cmp eax, dword [esp]
pop edx
pop eax
jne 0x46b81e
push ebp
call fcn.0046b780
pop ecx
jmp 0x46b921
push ebp
call fcn.0046b780
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b942
mov eax, dword [ebp - 4]
call fcn.0046b0f4
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b954
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46ba76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046b0e8
xor eax, eax
push ebp
push 0x46ba59
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46b9a4
call fcn.00404f68
jmp 0x46ba60
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46ba43
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46ba43
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404844
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46ba43
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040f8d4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x46ba90
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x567780]
mov dl, 1
mov eax, dword [0x46a3e8]
call fcn.00410210
call fcn.00404ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ba60
mov eax, dword [ebp - 4]
call fcn.0046b0f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ba7d
lea eax, [ebp - 0x28]
call fcn.00405544
ret
Function at 0x46badc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46bc26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046b0e8
xor eax, eax
push ebp
push 0x46bc09
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x46bb41
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46bb41
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x46bbf3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46bb54
call fcn.00404f68
jmp 0x46bc10
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46bbf3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46bbf3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404844
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46bbf3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040f8d4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x46bc40
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x567780]
mov dl, 1
mov eax, dword [0x46a3e8]
call fcn.00410210
call fcn.00404ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bc10
mov eax, dword [ebp - 4]
call fcn.0046b0f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bc2d
lea eax, [ebp - 0x28]
call fcn.00405544
ret
Function at 0x46f374
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x38]
cmp eax, 0xc8
jbe 0x46f3b5
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x34]
cmp eax, 0x20
jbe 0x46f3b5
mov eax, dword [edi + 0x48]
mov ecx, 3
cdq
idiv ecx
cmp eax, dword [edi + 0x40]
jle 0x46f3af
cmp dword [edi + 0x34], 0
je 0x46f3b9
cmp dword [edi + 0x34], 0
jne 0x46f3b9
xor ebx, ebx
jmp 0x46f3bb
mov bl, 1
imul eax, esi, 0x64
cdq
idiv dword [edi + 0x48]
mov ebp, eax
cmp ebp, dword [edi + 0x3c]
jne 0x46f3cd
test bl, bl
je 0x46f417
mov eax, ebp
push eax
push ebx
mov eax, dword [edi + 0x40]
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, dword [edi + 0x8c]
mov edx, dword [edi + 0x34]
xor eax, eax
call fcn.0041ab00
lea eax, [esp + 8]
push eax
mov eax, dword [edi + 0x30]
push eax
mov cl, 1
mov edx, edi
mov eax, edi
mov si, 0xfffd
call fcn.00404844
test bl, bl
je 0x46f414
mov eax, dword [edi + 0x40]
mov dword [edi + 0x34], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebp
inc dword [edi + 0x40]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
cmp eax, 0x2710
jbe 0x472a71
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x472a71
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0041c194
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 8]
cmp eax, 0x1d4c0
jbe 0x472a64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0041c088
xor eax, eax
push ebp
push 0x472a16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00403120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472a2a
xor eax, eax
push ebp
push 0x472a50
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4704b0]
mov eax, dword [ebp - 0xc]
call fcn.00406768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472a64
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x4729c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472aa8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
cmp eax, 0x2710
jbe 0x472b99
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x472b99
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
call fcn.0041c194
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 8]
cmp eax, 0x1d4c0
jbe 0x472b8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
call fcn.0041c088
xor eax, eax
push ebp
push 0x472b3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472b52
xor eax, eax
push ebp
push 0x472b78
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4704dc]
mov eax, dword [ebp - 0xc]
call fcn.00406768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472b8c
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x472aeb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a59c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x47a6c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x24]
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 0xc]
jle 0x47a6b8
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0041c194
mov ebx, eax
cmp ebx, dword [ebp - 8]
je 0x47a697
test ebx, ebx
jl 0x47a697
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x18]
jge 0x47a697
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
cmp dword [edx + eax*8 + 8], 0
jne 0x47a629
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0041c088
jmp 0x47a5cd
mov edi, ebx
add edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
cmp dword [eax + edi*8 + 8], 0
je 0x47a697
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
sub eax, dword [edx + edi*8 + 0xc]
cmp eax, 0x1d4c0
jbe 0x47a697
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0041c088
xor eax, eax
push ebp
push 0x47a688
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
lea eax, [eax + edi*8 + 8]
call fcn.00411d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a5cd
inc dword [ebp - 0xc]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x10]
cmp eax, 0xa
jbe 0x47a5cd
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
cmp byte [ebp - 0x11], 0
jne 0x47a6c6
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret