joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
push ebp
push 0x4b5649
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov eax, 2
xor esi, esi
xor edx, edx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x4b5638
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x4b55c5
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x4b55c9
xor edx, edx
jmp 0x4b5638
cmp edx, dword [ebp + 0x14]
jge 0x4b5638
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x4b5614
mov ecx, 6
sub ecx, eax
movzx ebx, byte [ebp - 1]
and bl, 0x3f
movzx ebx, bl
shr ebx, cl
mov ecx, ebx
or cl, byte [ebp - 2]
mov byte [ebp - 3], 0xaa
add byte [ebp - 3], dl
xor cl, byte [ebp - 3]
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + edx]
mov byte [esi], cl
inc edx
xor esi, esi
cmp eax, 6
jge 0x4b560d
add eax, 2
jmp 0x4b5614
mov eax, 2
jmp 0x4b562e
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x64a50e]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x4b55aa
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5653
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10

Function at 0x4b565c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x4b5763
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov byte [ebp - 6], 0
xor edx, edx
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x4b5740
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
cmp edx, dword [ebp + 0x14]
jge 0x4b5740
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
movzx ebx, byte [ecx + ebx]
mov byte [ebp - 7], 0xaa
movzx ecx, byte [ebp - 4]
add byte [ebp - 7], cl
xor bl, byte [ebp - 7]
lea ecx, [eax + 2]
movzx esi, bl
shr esi, cl
mov ecx, esi
or cl, byte [ebp - 6]
and cl, 0x3f
mov byte [ebp - 5], cl
lea ecx, [eax + 2]
push ecx
mov ecx, 8
pop esi
sub ecx, esi
movzx ebx, bl
shl ebx, cl
shr ebx, 2
and bl, 0x3f
mov byte [ebp - 6], bl
add eax, 2
cmp eax, 6
jge 0x4b56f8
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ebp - 5]
add bl, 0x3c
mov byte [ecx + edx], bl
inc edx
jmp 0x4b5734
mov eax, dword [ebp + 0x14]
dec eax
cmp edx, eax
jge 0x4b5720
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx + 1], cl
add edx, 2
jmp 0x4b572e
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
xor eax, eax
mov byte [ebp - 6], 0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4b5692
test eax, eax
jle 0x4b5752
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b576d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b8b10
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b8b3e
mov eax, ebx
call fcn.004b95c4
cmp dword [ebx + 0x40], 0
je 0x4b8b37
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b8baf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b8ba1
cmp dword [ebx + 8], 0
je 0x4b8b60
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b8b72
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b8ba1
cmp dword [ebx + 8], 0
je 0x4b8b53
cmp eax, 3
je 0x4b8b85
dec eax
jne 0x4b8b53
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b8b53
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b8b53
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b8bcd
cmp dword [ebx + 0x14], 0xcc
je 0x4b8bcd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b8bd8
pop ebx
ret
Function at 0x4d6630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x7e0]
cmp eax, 0x1388
jb 0x4d66ae
mov esi, dword [ebx + 0x584]
test esi, esi
jl 0x4d66ae
mov eax, dword [0x68fbcc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp esi, eax
jge 0x4d66ae
mov eax, dword [0x68fbcc]
mov eax, dword [eax]
mov edx, dword [ebx + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
cmp dword [esi + 0x2c], 0
je 0x4d6688
mov edx, esi
mov eax, ebx
call fcn.004d4a14
jmp 0x4d66ae
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x7e0], eax
push 0
push 0
push 0
push 0
mov ecx, dword [esi]
mov eax, dword [0x68fc2c]
mov eax, dword [eax]
mov edx, 0x61
call fcn.0050a8f8
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4fc070
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403a78
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4fd8b9
mov eax, dword [0x68ff14]
mov eax, dword [eax]
call fcn.00466e04
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x4fd8ad
pop esi
pop ebx
ret
Function at 0x502474
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x502689
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68fdf8]
cmp dword [eax], 0
je 0x502673
mov eax, dword [esi + 0x40c]
mov ebx, eax
dec ebx
mov edx, ebx
sub edx, 0x14
jae 0x502594
lea eax, [ebx + ebx*2]
mov edx, dword [0x68f918]
cmp byte [edx + eax], 1
jne 0x502587
lea eax, [ebx + ebx*2]
mov edx, dword [0x68f918]
movzx eax, word [edx + eax + 1]
call fcn.005b55f0
mov edi, eax
cmp edi, 0xffffffff
je 0x5024f2
mov edx, edi
mov eax, esi
call fcn.005058ec
jmp 0x502587
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [esi + 0x5a0]
jbe 0x502587
call sub.kernel32.dll_GetTickCount_1
add eax, 0x7d0
mov dword [esi + 0x5a0], eax
push 1
push 0
mov edx, 0x502698
lea eax, [ebp - 0x14]
call fcn.0040395c
lea eax, [ebx + ebx*2]
mov edx, dword [0x68f918]
movzx eax, word [edx + eax + 1]
lea edx, [ebp - 0x7c]
call fcn.0058c704
lea edx, [ebp - 0x7a]
lea eax, [ebp - 0x14]
mov cl, 0xf
call fcn.0040392c
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x98]
call fcn.0040395c
mov edx, 0x50269c
lea eax, [ebp - 0x98]
mov cl, 0x19
call fcn.0040392c
lea edx, [ebp - 0x98]
lea eax, [ebp - 4]
call fcn.004054a8
mov edx, dword [ebp - 4]
mov ecx, 0xffff
mov eax, dword [0x79ade8]
call fcn.0053f540
xor eax, eax
mov dword [esi + 0x40c], eax
jmp 0x502673
mov ebx, eax
neg ebx
test ebx, ebx
jle 0x50266b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68fc24]
sub eax, dword [edx]
mov edx, dword [0x68fac8]
cmp eax, dword [edx]
jbe 0x50266b
mov eax, ebx
call fcn.0058ab58
mov edi, eax
mov eax, edi
sub eax, 0x7e
jae 0x50266b
imul ebx, edi, 0xb7
mov eax, dword [0x68fac4]
cmp byte [eax + ebx*2], 0
je 0x50266b
mov eax, dword [0x68fac4]
cmp byte [eax + ebx*2 + 1], 0
jne 0x50266b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68fac4]
cmp eax, dword [edx + ebx*2 + 7]
jbe 0x502636
mov eax, dword [0x68fac4]
lea eax, [eax + ebx*2]
push eax
mov ecx, dword [0x6901a8]
mov ecx, dword [ecx]
mov edx, dword [0x690300]
mov edx, dword [edx]
mov eax, esi
call fcn.00504c70
xor eax, eax
mov dword [esi + 0x40c], eax
mov eax, dword [0x68fee0]
mov dword [eax], 0xffffffff
jmp 0x50266b
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [esi + 0x59c]
jbe 0x50266b
call sub.kernel32.dll_GetTickCount_1
add eax, 0x7d0
mov dword [esi + 0x59c], eax
push 1
push 0
mov ecx, 0xff00
mov edx, 0x5026b0
mov eax, dword [0x79ade8]
call fcn.0053f540
xor eax, eax
mov dword [esi + 0x40c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502690
lea eax, [ebp - 4]
call fcn.00405234
ret
Function at 0x5058ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x505aab
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68f884]
cmp eax, dword [edx]
jb 0x505a95
mov eax, dword [0x690424]
cmp byte [eax + 8], 0
je 0x505947
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68ff24]
sub eax, dword [edx]
cmp eax, 0x7530
jbe 0x505947
mov eax, dword [0x690424]
mov byte [eax + 8], 0
mov eax, dword [0x690424]
cmp byte [eax + 8], 0
jne 0x505a95
mov eax, ebx
sub eax, 0x6c
jae 0x5059c2
imul edi, ebx, 0x75
mov eax, dword [0x68f828]
cmp byte [eax + edi*2 + 2], 0
je 0x505a2c
mov eax, dword [0x68f828]
mov edx, dword [0x690424]
push esi
push edi
lea esi, [eax + edi*2]
lea edi, [edx + 6]
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [0x690424]
mov dword [eax], ebx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68ff24]
mov dword [edx], eax
mov eax, dword [0x68f828]
lea edx, [eax + edi*2]
mov eax, esi
call fcn.0050c318
mov eax, dword [0x68f828]
movzx eax, byte [eax + edi*2 + 0x12]
call fcn.005b1354
jmp 0x505a2c
inc ebx
jne 0x505a2c
mov eax, dword [0x68f680]
cmp byte [eax], 0
je 0x505a2c
mov eax, dword [0x690420]
mov edx, dword [0x690424]
push esi
mov esi, eax
mov edi, edx
mov ecx, 0x3d
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [0x690424]
mov edx, dword [edx]
mov eax, dword [0x690424]
add eax, 6
call fcn.005b5148
call fcn.005b4db8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x68ff24]
mov dword [edx], eax
mov edx, dword [0x690424]
add edx, 6
mov eax, esi
call fcn.0050c318
mov eax, dword [0x690424]
movzx eax, byte [eax + 0x18]
call fcn.005b1354
mov eax, dword [0x690110]
call fcn.00405234
mov eax, dword [0x690424]
cmp byte [eax + 8], 0
je 0x505a95
mov eax, dword [0x690424]
cmp word [eax + 0x1f], 0
je 0x505a95
lea edx, [ebp - 0x66]
mov eax, dword [0x690424]
movzx eax, word [eax + 0x1f]
inc eax
call fcn.0058c704
cmp byte [ebp - 0x64], 0
je 0x505a95
lea eax, [ebp - 0x6c]
mov edx, dword [0x690424]
add edx, 8
call fcn.004054a8
mov eax, dword [ebp - 0x6c]
mov dx, 2
call fcn.005b4c1c
cmp ax, 2
jae 0x505a95
mov eax, dword [0x690110]
lea edx, [ebp - 0x64]
call fcn.004054a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505ab2
lea eax, [ebp - 0x6c]
call fcn.00405234
ret
Function at 0x50d93c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x68fdf8]
mov eax, dword [eax]
movsx edx, byte [eax + 0xb0]
mov eax, dword [0x68fdf8]
mov eax, dword [eax]
movzx eax, word [eax + 0x71]
call fcn.0047fdf4
mov ebx, 0x44c
sub ebx, eax
test ebx, ebx
jge 0x50d96b
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x3a8]
cmp eax, ebx
jbe 0x50d98a
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x3a8], eax
mov al, 1
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret
Function at 0x526c84
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x526e07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68f62c]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x526d0c
mov eax, dword [0x68f62c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041b280
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [esi + 0x10]
jb 0x526d06
push 0
push 0
push 0
push 0
mov eax, dword [0x68fc2c]
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, 0x86
call fcn.0050a8f8
mov edx, dword [0x52e414]
mov eax, esi
call fcn.00406510
mov eax, dword [0x68f62c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041b124
dec ebx
cmp ebx, 0xffffffff
jne 0x526cb6
xor edi, edi
mov eax, dword [0x68fcf4]
mov eax, dword [eax]
sub eax, 0xdc
mov dword [ebp - 8], eax
mov eax, dword [0x68f62c]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x526de4
cmp edi, 5
jge 0x526de4
mov eax, dword [0x68f62c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041b280
mov esi, eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetTickCount_1
push eax
mov eax, dword [esi + 0x10]
pop edx
sub eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, eax
mov eax, 1
call fcn.0047fa80
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [esi + 0xc]
call fcn.0040b25c
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405bc0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00405bc0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x68f780]
mov eax, dword [eax]
call fcn.0047ccf8
mov edx, dword [0x68fd1c]
mov edx, dword [edx]
sub edx, eax
sar edx, 1
jns 0x526dc1
adc edx, 0
mov eax, edi
add eax, eax
lea eax, [eax + eax*8]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov eax, dword [0x68f780]
mov eax, dword [eax]
call fcn.0047c8b4
inc edi
dec ebx
cmp ebx, 0xffffffff
jne 0x526d31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526e0e
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405a64
lea eax, [ebp - 4]
call fcn.00405234
ret
Function at 0x52eec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x52eec8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004056c4
xor eax, eax
push ebp
push 0x52f0db
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
lea ecx, [ebp - 0x24]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.004052cc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.004052cc
xor esi, esi
push 1
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.004052cc
push 1
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004052cc
push 1
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.004052cc
push 1
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.004052cc
mov edx, 0x52f0f4
mov eax, dword [ebp - 8]
call fcn.00409d04
test eax, eax
jne 0x52efd6
mov esi, 1
jmp 0x52f004
mov edx, 0x52f100
mov eax, dword [ebp - 8]
call fcn.00409d04
test eax, eax
jne 0x52efee
mov esi, 2
jmp 0x52f004
mov edx, 0x52f110
mov eax, dword [ebp - 8]
call fcn.00409d04
test eax, eax
jne 0x52f004
mov esi, 3
test esi, esi
jle 0x52f0b3
mov edx, dword [0x52e3d0]
mov eax, 0x28
call fcn.004064fc
mov ebx, eax
mov dword [ebx], esi
lea eax, [ebx + 4]
mov edx, dword [ebp - 0xc]
call fcn.00405288
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.00405288
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00405288
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00405288
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.00405288
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0040a364
mov dword [ebx + 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a364
mov dword [ebx + 0x18], eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a364
mov dword [ebx + 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0040a364
mov dword [ebx + 0x20], eax
cmp dword [edi + 0x10c], 0
jne 0x52f0a6
mov dl, 1
mov eax, dword [0x41894c]
call fcn.004042f8
mov dword [edi + 0x10c], eax
mov eax, dword [edi + 0x10c]
mov edx, ebx
call fcn.0041b0d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f0e2
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405258
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405258
ret
Function at 0x536e98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, eax
xor ebx, ebx
mov eax, dword [ebp + 0x1d8]
cmp eax, 0x138e
je 0x537023
cmp eax, 0x138c
je 0x537023
cmp eax, 0x1390
je 0x537023
cmp eax, 0x1480
je 0x537023
mov byte [ebp + 0x31c], 0
mov eax, dword [ebp + 0x358]
cmp dword [eax + 8], 2
jl 0x536eef
mov byte [ebp + 0x31c], 1
mov edx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x24]
mov eax, ebp
mov si, 0xfff4
call fcn.00404524
mov edx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x24]
mov eax, ebp
mov si, 0xfff3
call fcn.00404524
mov edi, dword [ebp + 0x20]
cmp dword [ebp + 0x1d8], 0
je 0x536fb0
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
cmp edx, eax
jg 0x536f30
cmp eax, dword [ebp + 0x28]
jle 0x536f33
mov dword [ebp + 0x20], edx
cmp byte [ebp + 0x31c], 0
je 0x536f5f
mov eax, dword [ebp + 0x308]
add eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fdiv dword [0x53702c]
call fcn.004034f8
mov esi, eax
jmp 0x536f65
mov esi, dword [ebp + 0x308]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x30c]
cmp esi, eax
jae 0x536f9b
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x28]
jge 0x536f8c
inc dword [ebp + 0x20]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x30c], eax
jmp 0x536f9b
xor eax, eax
mov dword [ebp + 0x1d8], eax
mov byte [ebp + 0x156], 0
xor eax, eax
mov dword [ebp + 0x324], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x328], eax
jmp 0x537006
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x338]
cmp eax, 0xc8
jbe 0x537006
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x328]
cmp eax, 0x1f4
jbe 0x536ffb
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x328], eax
inc dword [ebp + 0x324]
mov eax, dword [ebp + 0x324]
cmp eax, dword [ebp + 0x330]
jl 0x536ffb
xor eax, eax
mov dword [ebp + 0x324], eax
mov eax, ebp
mov si, 0xfffe
call fcn.00404524
cmp edi, dword [ebp + 0x20]
je 0x537023
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x258], eax
mov eax, ebp
mov si, 0xfff0
call fcn.00404524
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x537548
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, eax
xor ebx, ebx
mov eax, dword [ebp + 0x1d8]
cmp eax, 0x138e
je 0x53776b
cmp eax, 0x138c
je 0x53776b
cmp eax, 0x1390
je 0x53776b
cmp eax, 0x1480
je 0x53776b
mov byte [ebp + 0x31c], 0
mov eax, dword [ebp + 0x358]
cmp dword [eax + 8], 2
jl 0x53759f
mov byte [ebp + 0x31c], 1
mov edx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x24]
mov eax, ebp
mov si, 0xfff4
call fcn.00404524
mov edx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x24]
mov eax, ebp
mov si, 0xfff3
call fcn.00404524
mov edi, dword [ebp + 0x20]
cmp dword [ebp + 0x1d8], 0
je 0x5376f8
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
cmp edx, eax
jg 0x5375e0
cmp eax, dword [ebp + 0x28]
jle 0x5375e3
mov dword [ebp + 0x20], edx
cmp byte [ebp + 0x31c], 0
je 0x53760f
mov eax, dword [ebp + 0x308]
add eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fdiv dword [0x537774]
call fcn.004034f8
mov esi, eax
jmp 0x537615
mov esi, dword [ebp + 0x308]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x30c]
cmp esi, eax
jae 0x5376e3
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x28]
jge 0x537640
inc dword [ebp + 0x20]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x30c], eax
jmp 0x53764f
xor eax, eax
mov dword [ebp + 0x1d8], eax
mov byte [ebp + 0x156], 0
cmp dword [ebp + 0x1d8], 0x1399
jne 0x5376e3
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x24]
cmp eax, 4
jne 0x5376e3
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x128]
push eax
mov eax, dword [ebp + 0x12c]
push eax
mov eax, dword [ebp + 0x130]
push eax
push 0xb
mov eax, dword [0x68f6f8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, ebp
call fcn.0052b934
test eax, eax
je 0x5376e3
cmp word [ebp + 0x3a], 0x20b
jne 0x5376c7
cmp dword [ebp + 0x268], 0
je 0x5376c7
mov edx, dword [ebp + 0x268]
mov dword [eax + 0x18], edx
mov dword [eax + 0x7c], 0x1e
mov dword [eax + 0xd8], 0x5e6
jmp 0x5376e3
mov edx, dword [0x6902cc]
mov edx, dword [edx]
mov dword [eax + 0x18], edx
mov dword [eax + 0x7c], 0x1e
mov dword [eax + 0xd8], 0x110
xor eax, eax
mov dword [ebp + 0x324], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x328], eax
jmp 0x53774e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x338]
cmp eax, 0xc8
jbe 0x53774e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp + 0x328]
cmp eax, 0x1f4
jbe 0x537743
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x328], eax
inc dword [ebp + 0x324]
mov eax, dword [ebp + 0x324]
cmp eax, dword [ebp + 0x330]
jl 0x537743
xor eax, eax
mov dword [ebp + 0x324], eax
mov eax, ebp
mov si, 0xfffe
call fcn.00404524
cmp edi, dword [ebp + 0x20]
je 0x53776b
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp + 0x258], eax
mov eax, ebp
mov si, 0xfff0
call fcn.00404524
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57d1d8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x57d229
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x57d210
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x57d200
jmp 0x57d229
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x57d211
pop ebx
mov esp, ebp
pop ebp
ret