joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498f4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x498fee
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x497dd4]
mov eax, 0x14
call fcn.004055b4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004087f8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.004046d8
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [0x52eab8]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0xc]
mov dword [0x52eab8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498ff5
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004046a8
ret

Function at 0x498ffc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499092
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x497dfc]
mov eax, 0x10
call fcn.004055b4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004087f8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.004046d8
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [0x52eabc]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [0x52eabc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499099
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004046a8
ret

Function at 0x499114
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x49914e
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
dec eax
mov al, byte [eax]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
dec edx
xor byte [edx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x499134
mov esp, ebp
pop ebp
ret
Function at 0x499818
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0x100
jne 0x4998cf
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x52270c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x52270c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0xc0
jl 0x499947
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x52270c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x52270c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
and edx, 0xff
xor eax, edx
movzx eax, byte [eax + 0x52260c]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x52eac8]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x52270c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x52260c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x52eec8]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx + 0x52260c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x52270c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x52f2c8]
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x52270c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x18
xor edx, ecx
movzx edx, byte [edx + 0x52270c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x52f6c8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x499a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0x1010101
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0x40
jge 0x499ab0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 4]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 8]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 0xc]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0xc], eax
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0x40
jl 0x499a4c
mov esp, ebp
pop ebp
ret

Function at 0x49ac90
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x52260c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00499670
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00499690
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x52270c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00499670
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00499690
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x52eac8], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 8]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x52eec8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 4]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x52f2c8], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x52f6c8], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x49ac9b
mov esp, ebp
pop ebp
ret
Function at 0x49b2e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 1
and eax, 0xff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and eax, 1
mov edx, dword [ebp - 4]
and edx, 0x200
shr edx, 8
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x52283c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x52287c]
xor eax, dword [ebp - 8]
call fcn.0049b240
shl eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049b2a4
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x52fad0], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x52284c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x52288c]
xor eax, dword [ebp - 8]
call fcn.0049b240
shl eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049b2a4
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x530ad0], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x52285c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x52289c]
xor eax, dword [ebp - 8]
call fcn.0049b240
shl eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049b2a4
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x531ad0], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x52286c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5228ac]
xor eax, dword [ebp - 8]
call fcn.0049b240
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049b2a4
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x532ad0], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jne 0x49b2f3
mov esp, ebp
pop ebp
ret
Function at 0x49b4d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x49b508
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 3
cdq
idiv ecx
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
and eax, 3
mov edx, dword [ebp - 8]
lea eax, [edx + eax*2]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
and ax, 1
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, eax
or eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
shr eax, 1
mov dx, word [ebp - 0x2c]
xor dx, 1
shl edx, 0xf
or ax, dx
mov edx, dword [ebp - 0x28]
mov word [edx], ax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jne 0x49b53a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x49b521
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x49b4e4
mov esp, ebp
pop ebp
ret 4

Function at 0x4a1b88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [ebp - 5]
dec eax
test eax, eax
jl 0x4a1c1a
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
lea eax, [eax*4 + 0x527e48]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 1]
lea edx, [edx*4 + 0x528248]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 2]
lea edx, [edx*4 + 0x528648]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 3]
lea edx, [edx*4 + 0x528a48]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4a1ba9
mov esp, ebp
pop ebp
ret
Function at 0x4a874c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x4a88c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call fcn.0048e854
xor eax, eax
push ebp
push 0x4a88a1
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x2a4]
push eax
call fcn.0048e824
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 4]
call fcn.004096b0
lea eax, [ebp - 0x2a4]
push eax
call fcn.0048e814
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a8879
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4a8873
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a886d
lea eax, [ebp - 0x2a8]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
lea edx, [ebp - 0x2c8]
mov ecx, 3
mov eax, 0x4a88e0
call fcn.00409cf4
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 8]
call fcn.004046d8
mov byte [ebp - 9], 1
jmp 0x4a887d
mov byte [ebp - 9], 0
jmp 0x4a887d
mov byte [ebp - 9], 0
jmp 0x4a887d
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a88a8
cmp byte [ebp - 9], 0
jne 0x4a889b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004046d8
call fcn.0048e85c
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call fcn.00406bb0
mov dword [ebp - 8], eax
jmp 0x4a8f2b
mov eax, dword [0x52bc1c]
mov eax, dword [eax]
call fcn.0045e7dc
call fcn.00406bb0
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4a8f1f
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b1598
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [0x534350], 0
je 0x4b162a
call fcn.00406bb0
sub eax, dword [0x535cf0]
cmp eax, 0x9c4
jbe 0x4b162a
mov eax, dword [0x534350]
cmp byte [eax + 0x12], 0
jne 0x4b162a
mov eax, dword [0x535cec]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b162a
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x535cec]
call fcn.00418734
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x1a
jne 0x4b1622
push 0xae
push 0x1a
push 0
mov ecx, 0x23b
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.004b3aa0
call fcn.00406bb0
mov dword [0x535cf0], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4b15e3
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4b16e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [0x534350], 0
je 0x4b1952
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [0x534350]
cmp byte [eax + 0x12], 1
jne 0x4b1850
call fcn.00406bb0
sub eax, dword [0x535cf0]
cmp eax, 0xdac
jbe 0x4b1850
cmp byte [0x54e03e], 1
jne 0x4b179a
mov dword [ebp - 0x14], 0x1f
mov al, byte [0x54dfd8]
sub al, 1
jb 0x4b174b
je 0x4b177f
dec al
je 0x4b1766
jmp 0x4b1793
cmp byte [0x54e7a4], 0
je 0x4b175d
mov byte [0x54e7a4], 0
jmp 0x4b179a
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4b179a
push ebp
mov eax, 3
call fcn.004b1634
pop ecx
test al, al
jne 0x4b179a
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4b179a
mov eax, dword [0x534350]
test byte [eax + 0x22], 0x10
je 0x4b179a
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4b179a
mov dword [ebp - 0x14], 0xffffffff
cmp byte [0x54e043], 1
jne 0x4b17ba
push ebp
mov eax, 2
call fcn.004b1634
pop ecx
test al, al
je 0x4b17ba
mov dword [ebp - 0x14], 8
mov eax, dword [0x535cec]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b1850
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x535cec]
call fcn.00418734
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
cmp eax, dword [ebp - 0x14]
jne 0x4b1848
cmp dword [ebp - 0x14], 8
jne 0x4b1818
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x534350]
movzx ecx, word [eax + 0xa]
mov eax, dword [0x534350]
movzx edx, word [eax + 8]
mov eax, dword [ebp - 4]
call fcn.004ae42c
jmp 0x4b183e
mov eax, dword [0x534350]
movzx eax, word [eax + 0xa]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [0x534350]
movzx ecx, word [eax + 8]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.004b3aa0
call fcn.00406bb0
mov dword [0x535cf0], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4b17d6
mov eax, dword [0x534350]
cmp byte [eax + 0x12], 2
jne 0x4b1952
call fcn.00406bb0
sub eax, dword [0x535cf0]
cmp eax, 0x157c
jbe 0x4b1952
cmp byte [0x54e040], 1
jne 0x4b1952
cmp byte [0x54dfd9], 0
jne 0x4b189a
mov eax, dword [0x534350]
test byte [eax + 0x22], 0x80
jne 0x4b1952
cmp byte [0x54dfd9], 1
jne 0x4b18b7
push ebp
mov eax, 3
call fcn.004b1634
pop ecx
test al, al
je 0x4b1952
mov eax, dword [0x535cec]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b1952
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x535cec]
call fcn.00418734
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x12
jne 0x4b194a
mov eax, 0x5344a8
mov edx, 0x4b195c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403108
jne 0x4b1952
mov eax, dword [0x534350]
movzx eax, word [eax + 0xa]
push eax
push 0x12
push 0
mov eax, dword [0x534350]
movzx ecx, word [eax + 8]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.004b3aa0
call fcn.00406bb0
mov dword [0x535cf0], eax
push 0xffffff
mov ecx, 0x8000
mov edx, 0x4b196c
mov eax, dword [0x5342d8]
call fcn.004cde58
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4b18d3
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4b5420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [0x534350]
movzx eax, word [eax + 0x4c]
imul edx, eax, 0xe
mov eax, 0x172
call fcn.0047c5f0
mov dword [ebp - 0x10], eax
mov eax, dword [0x534350]
movsx eax, byte [eax + 0x84]
imul edx, eax, 0x3c
add edx, dword [ebp - 0x10]
mov eax, 0x320
call fcn.0047c5f0
mov dword [ebp - 0x10], eax
cmp byte [0x536051], 0
je 0x4b547c
mov eax, 0x514
sub eax, dword [ebp - 0x10]
add eax, 0x5dc
mov dword [ebp - 0xc], eax
jmp 0x4b5487
mov eax, 0x514
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x4b5492
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00406bb0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4bc]
cmp eax, dword [ebp - 0xc]
jbe 0x4b54b9
call fcn.00406bb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4bc], eax
mov byte [ebp - 5], 1
jmp 0x4b54bd
mov byte [ebp - 5], 0
mov eax, dword [0x534350]
cmp byte [eax + 0x1e], 0
jbe 0x4b54cc
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4be9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov byte [ebp - 9], 1
mov dl, byte [ebp - 1]
add dl, 0x31
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ae370
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4be9f3
mov byte [ebp - 9], 0
jmp 0x4bead0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b5354
test al, al
je 0x4bead0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b5310
test al, al
je 0x4bead0
call fcn.00406bb0
sub eax, dword [0x53602c]
mov edx, dword [0x5360b4]
add edx, 0x1f4
cmp eax, edx
jbe 0x4bead0
call fcn.00406bb0
mov dword [0x53602c], eax
mov eax, 0x24
call fcn.0040279c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, 0x24
call fcn.00403178
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
push eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 8]
mov edx, 0xaf
mov eax, 0x186
call fcn.0050b7d8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 8]
mov dx, 0xbc9
mov eax, dword [0x534350]
call fcn.00500504
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret