joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ace5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00405158
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403a7c
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x4acf66
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.004055f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4acf4f
xor edx, edx
push ebp
push 0x4acf48
push dword fs:[edx]
mov dword fs:[edx], esp
test edi, edi
jne 0x4acef9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
jmp 0x4acf1b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, edi
call fcn.004055f8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4acf31
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.004053d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acf4f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acf6d
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret

Function at 0x4adcdc
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 0x4addb5
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 0x4adda4
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x4add31
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x4add35
xor edx, edx
jmp 0x4adda4
cmp edx, dword [ebp + 0x14]
jge 0x4adda4
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x4add80
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 0x4add79
add eax, 2
jmp 0x4add80
mov eax, 2
jmp 0x4add9a
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x646332]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x4add16
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 0x4addbf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10
Function at 0x4addc8
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 0x4adecf
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 0x4adeac
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
cmp edx, dword [ebp + 0x14]
jge 0x4adeac
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 0x4ade64
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ebp - 5]
add bl, 0x3c
mov byte [ecx + edx], bl
inc edx
jmp 0x4adea0
mov eax, dword [ebp + 0x14]
dec eax
cmp edx, eax
jge 0x4ade8c
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 0x4ade9a
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 0x4addfe
test eax, eax
jle 0x4adebe
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 0x4aded9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4b1438
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b1466
mov eax, ebx
call fcn.004b1eec
cmp dword [ebx + 0x40], 0
je 0x4b145f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b14d7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b14c9
cmp dword [ebx + 8], 0
je 0x4b1488
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 0x4b149a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b14c9
cmp dword [ebx + 8], 0
je 0x4b147b
cmp eax, 3
je 0x4b14ad
dec eax
jne 0x4b147b
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 0x4b147b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b147b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b14f5
cmp dword [ebx + 0x14], 0xcc
je 0x4b14f5
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.004b1500
pop ebx
ret
Function at 0x4c1e60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4085bc]
call fcn.00405dc8
xor eax, eax
push ebp
push 0x4c2001
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x646c44], 0
jne 0x4c1ebb
mov ecx, dword [0x6882f8]
mov dl, 1
mov eax, dword [0x408be8]
call fcn.0040e194
call fcn.00404ba0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403a7c
mov eax, ebx
call fcn.00405aec
mov dword [ebp - 0x24], eax
mov esi, 0x4c2010
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004070d0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405afc
test eax, eax
jle 0x4c1fa4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c1f90
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004053d8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4c1f36
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004053f0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4c1f4c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004053f0
mov eax, dword [ebp - 0x54]
call fcn.004055f8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004053d8
mov eax, dword [ebp - 0x58]
call fcn.004055f8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA
sub eax, 2
test eax, eax
sete al
jmp 0x4c1f92
xor eax, eax
test al, al
je 0x4c1f9d
mov ebx, 0x15
jmp 0x4c1fa9
mov ebx, 0x10
jmp 0x4c1fa9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x646c44]
call fcn.004c1ce0
mov eax, dword [ebp - 4]
call fcn.004c1ce0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004070e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2008
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040517c
lea eax, [ebp - 0xc]
mov edx, dword [0x4085bc]
call fcn.00405e98
ret
Function at 0x4d0324
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
sub eax, dword [ebx + 0x820]
cmp eax, 0x1388
jb 0x4d03a2
mov esi, dword [ebx + 0x584]
test esi, esi
jl 0x4d03a2
mov eax, dword [0x688868]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp esi, eax
jge 0x4d03a2
mov eax, dword [0x688868]
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 0x4d037c
mov edx, esi
mov eax, ebx
call fcn.004ce5f0
jmp 0x4d03a2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x820], eax
push 0
push 0
push 0
push 0
mov ecx, dword [esi]
mov eax, dword [0x6888d0]
mov eax, dword [eax]
mov edx, 0x61
call fcn.0050a960
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4f1274
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4f1316
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x646e24], 0
je 0x4f1300
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4182c0]
call fcn.0041c9b4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f12f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x688498]
mov ecx, 0x6dec
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1300
mov eax, dword [ebp - 8]
call fcn.0040432c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f131d
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x4f1c0c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, 0x6943e4
mov eax, dword [0x4f0fb0]
push eax
mov ecx, 0xf
mov eax, ebx
pop edx
call fcn.00405ee4
xor ecx, ecx
mov edx, 0xf0
call fcn.00488380
movzx eax, byte [0x4f1e78]
mov byte [ebx + 0x10], al
mov word [ebx + 0x12], 0x48
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1c]
mov edx, 0x4f1e84
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx], al
mov word [ebx + 2], 9
mov byte [ebx + 8], 1
lea eax, [ebx + 0xc]
mov edx, 0x4f1ea0
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx + 0x30], al
mov word [ebx + 0x32], 0x13
mov byte [ebx + 0x38], 0
lea eax, [ebx + 0x3c]
mov edx, 0x4f1eb4
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx + 0xa0], al
mov word [ebx + 0xa2], 0x78
mov byte [ebx + 0xa8], 1
lea eax, [ebx + 0xac]
mov edx, 0x4f1ec8
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx + 0xb0], al
mov word [ebx + 0xb2], 0x79
mov byte [ebx + 0xb8], 1
lea eax, [ebx + 0xbc]
mov edx, 0x4f1edc
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx + 0xc0], al
mov word [ebx + 0xc2], 0x7a
mov byte [ebx + 0xc8], 1
lea eax, [ebx + 0xcc]
mov edx, 0x4f1ef0
call fcn.004051ac
movzx eax, byte [0x4f1e78]
mov byte [ebx + 0x20], al
mov word [ebx + 0x22], 0x41
mov byte [ebx + 0x28], 1
lea eax, [ebx + 0x2c]
mov edx, 0x4f1f04
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x40], al
mov word [ebx + 0x42], 0x58
mov byte [ebx + 0x48], 1
lea eax, [ebx + 0x4c]
mov edx, 0x4f1f20
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x50], al
mov word [ebx + 0x52], 0x51
mov byte [ebx + 0x58], 1
lea eax, [ebx + 0x5c]
mov edx, 0x4f1f34
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x90], al
mov word [ebx + 0x92], 0x52
mov byte [ebx + 0x98], 1
lea eax, [ebx + 0x9c]
mov edx, 0x4f1f48
call fcn.004051ac
movzx eax, byte [0x4f1e94]
mov byte [ebx + 0xd0], al
mov word [ebx + 0xd2], 0x7b
mov byte [ebx + 0xd8], 1
lea eax, [ebx + 0xdc]
mov edx, 0x4f1f60
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x80], al
mov word [ebx + 0x82], 0x53
mov byte [ebx + 0x88], 1
lea eax, [ebx + 0x8c]
mov edx, 0x4f1f74
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x60], al
mov word [ebx + 0x62], 0x57
mov byte [ebx + 0x68], 1
lea eax, [ebx + 0x6c]
mov edx, 0x4f1f8c
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0x70], al
mov word [ebx + 0x72], 0x45
mov byte [ebx + 0x78], 1
lea eax, [ebx + 0x7c]
mov edx, 0x4f1fa4
call fcn.004051ac
movzx eax, byte [0x4f1f14]
mov byte [ebx + 0xe0], al
mov word [ebx + 0xe2], 0x4a
mov byte [ebx + 0xe8], 1
lea eax, [ebx + 0xec]
mov edx, 0x4f1fa4
call fcn.004051ac
pop ebx
ret
Function at 0x4fd268
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x4fd281
mov eax, dword [0x688bc0]
mov eax, dword [eax]
call fcn.00466c78
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
ja 0x4fd275
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x50217d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x688a9c]
cmp dword [eax], 0
je 0x502167
mov eax, dword [esi + 0x414]
mov ebx, eax
dec ebx
mov edx, ebx
sub edx, 0x14
jae 0x502086
lea eax, [ebx + ebx*2]
mov edx, dword [0x6885a4]
cmp byte [edx + eax], 1
jne 0x502079
lea eax, [ebx + ebx*2]
mov edx, dword [0x6885a4]
movzx eax, word [edx + eax + 1]
call fcn.005b1c78
mov edi, eax
cmp edi, 0xffffffff
je 0x501fde
mov edx, edi
mov eax, esi
call fcn.00504db0
jmp 0x502079
call sub.kernel32.dll_GetTickCount
cmp eax, dword [esi + 0x5a8]
jbe 0x502079
call sub.kernel32.dll_GetTickCount
add eax, 0x7d0
mov dword [esi + 0x5a8], eax
push 1
push 0
mov edx, 0x50218c
lea eax, [ebp - 0x14]
call fcn.00403960
lea eax, [ebx + ebx*2]
mov edx, dword [0x6885a4]
movzx eax, word [edx + eax + 1]
lea edx, [ebp - 0xac]
call fcn.0057d7c8
lea edx, [ebp - 0xaa]
lea eax, [ebp - 0x14]
mov cl, 0xf
call fcn.00403930
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xc8]
call fcn.00403960
mov edx, 0x502190
lea eax, [ebp - 0xc8]
mov cl, 0x19
call fcn.00403930
lea edx, [ebp - 0xc8]
lea eax, [ebp - 4]
call fcn.004053cc
mov edx, dword [ebp - 4]
mov ecx, 0xffff
mov eax, dword [0x69458c]
call fcn.0053ca7c
xor eax, eax
mov dword [esi + 0x414], eax
jmp 0x502167
mov ebx, eax
neg ebx
test ebx, ebx
jle 0x50215f
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x6888c8]
sub eax, dword [edx]
mov edx, dword [0x688760]
cmp eax, dword [edx]
jbe 0x50215f
mov eax, ebx
call fcn.0057bc3c
mov edi, eax
mov eax, edi
sub eax, 0xde
jae 0x50215f
imul ebx, edi, 0xbf
mov eax, dword [0x68875c]
cmp byte [eax + ebx*2], 0
je 0x50215f
mov eax, dword [0x68875c]
cmp byte [eax + ebx*2 + 1], 0
jne 0x50215f
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68875c]
cmp eax, dword [edx + ebx*2 + 7]
jbe 0x50212a
mov eax, dword [0x68875c]
lea eax, [eax + ebx*2]
push eax
mov ecx, dword [0x688ea8]
mov ecx, dword [ecx]
mov edx, dword [0x689024]
mov edx, dword [edx]
mov eax, esi
call fcn.005041f4
xor eax, eax
mov dword [esi + 0x414], eax
mov eax, dword [0x688b88]
mov dword [eax], 0xffffffff
jmp 0x50215f
call sub.kernel32.dll_GetTickCount
cmp eax, dword [esi + 0x5a4]
jbe 0x50215f
call sub.kernel32.dll_GetTickCount
add eax, 0x7d0
mov dword [esi + 0x5a4], eax
push 1
push 0
mov ecx, 0xff00
mov edx, 0x5021a4
mov eax, dword [0x69458c]
call fcn.0053ca7c
xor eax, eax
mov dword [esi + 0x414], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502184
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x504db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x504fef
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x6884fc]
cmp eax, dword [edx]
jb 0x504fd6
mov eax, dword [0x689160]
cmp byte [eax + 8], 0
je 0x504e11
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x688bd8]
sub eax, dword [edx]
cmp eax, 0x7530
jbe 0x504e11
mov eax, dword [0x689160]
mov byte [eax + 8], 0
mov eax, dword [0x689160]
cmp byte [eax + 8], 0
jne 0x504fd6
mov eax, ebx
sub eax, 0x69
jae 0x504e8d
imul edi, ebx, 0x43
mov eax, dword [0x688498]
cmp byte [eax + edi*4 + 2], 0
je 0x504f5e
mov eax, dword [0x688498]
mov edx, dword [0x689160]
push esi
push edi
lea esi, [eax + edi*4]
lea edi, [edx + 6]
mov ecx, 0x43
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x689160]
mov dword [eax], ebx
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x688bd8]
mov dword [edx], eax
mov eax, dword [0x688498]
lea edx, [eax + edi*4]
mov eax, esi
call fcn.0050c040
mov eax, dword [0x688498]
movzx eax, byte [eax + edi*4 + 0x12]
call fcn.005ad254
jmp 0x504f5e
inc ebx
jne 0x504f5e
mov eax, dword [0x6882d4]
cmp byte [eax], 0
je 0x504f5e
mov eax, dword [0x68915c]
mov edx, dword [0x689160]
push esi
mov esi, eax
mov edi, edx
mov ecx, 0x45
rep movsd dword es:[edi], dword [esi]
pop esi
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x688bd8]
mov dword [edx], eax
mov eax, dword [0x689160]
cmp dword [eax + 0x9d], 0
jne 0x504f40
mov eax, dword [0x689160]
movzx eax, byte [eax]
mov edx, dword [0x689160]
mov edx, dword [edx]
shr edx, 0x10
mov word [ebp - 2], dx
cmp al, 1
jne 0x504f40
cmp word [ebp - 2], 0
jbe 0x504f40
mov edi, 0x69
mov ebx, dword [0x688498]
add ebx, 2
cmp byte [ebx], 0
je 0x504f37
movzx eax, word [ebx + 0x99]
cmp ax, word [ebp - 2]
jne 0x504f37
mov eax, dword [0x689160]
push esi
push edi
lea edi, [eax + 0x9d]
lea esi, [ebx + 0x95]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x504f40
add ebx, 0x10c
dec edi
jne 0x504f05
mov edx, dword [0x689160]
add edx, 6
mov eax, esi
call fcn.0050c040
mov eax, dword [0x689160]
movzx eax, byte [eax + 0x18]
call fcn.005ad254
mov eax, dword [0x688e0c]
call fcn.00405158
mov eax, dword [0x689160]
cmp byte [eax + 8], 0
je 0x504fd6
mov eax, dword [0x689160]
cmp word [eax + 0x20], 0
je 0x504fd6
lea edx, [ebp - 0x99]
mov eax, dword [0x689160]
movzx eax, word [eax + 0x20]
inc eax
call fcn.0057d7c8
cmp byte [ebp - 0x97], 0
je 0x504fd6
lea eax, [ebp - 0xa0]
mov edx, dword [0x689160]
add edx, 8
call fcn.004053cc
mov eax, dword [ebp - 0xa0]
mov dx, 2
call fcn.005b1238
cmp ax, 2
jae 0x504fd6
mov eax, dword [0x688e0c]
lea edx, [ebp - 0x97]
call fcn.004053cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504ff6
lea eax, [ebp - 0xa0]
call fcn.00405158
ret
Function at 0x50d7e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x688a9c]
mov eax, dword [eax]
movsx edx, byte [eax + 0xc4]
mov eax, dword [0x688a9c]
mov eax, dword [eax]
movzx eax, word [eax + 0x59]
call fcn.0048a304
mov ebx, dword [0x688f38]
mov ebx, dword [ebx + 0x12]
sub ebx, eax
test ebx, ebx
jge 0x50d813
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
sub eax, dword [esi + 0x3a8]
cmp eax, ebx
jbe 0x50d832
call sub.kernel32.dll_GetTickCount
mov dword [esi + 0x3a8], eax
mov al, 1
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret
Function at 0x526250
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 0x5263d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68827c]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x5262d8
mov eax, dword [0x68827c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041a308
mov esi, eax
call sub.kernel32.dll_GetTickCount
cmp eax, dword [esi + 0x10]
jb 0x5262d2
push 0
push 0
push 0
push 0
mov eax, dword [0x6888d0]
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, 0x86
call fcn.0050a960
mov edx, dword [0x59523c]
mov eax, esi
call fcn.00406324
mov eax, dword [0x68827c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041a1fc
dec ebx
cmp ebx, 0xffffffff
jne 0x526282
xor edi, edi
mov eax, dword [0x688994]
mov eax, dword [eax]
sub eax, 0xdc
mov dword [ebp - 8], eax
mov eax, dword [0x68827c]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x5263b1
cmp edi, 5
jge 0x5263b1
mov eax, dword [0x68827c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041a308
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0
push 1
call sub.kernel32.dll_GetTickCount
push eax
mov eax, dword [esi + 0x10]
pop edx
sub eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
xor edx, edx
push edx
push eax
call fcn.004892a0
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [esi + 0xc]
call fcn.0040b0c8
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405adc
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00405adc
mov edx, dword [ebp - 0x18]
mov eax, dword [0x6883dc]
mov eax, dword [eax]
call fcn.004857a0
mov edx, dword [0x6889bc]
mov edx, dword [edx]
sub edx, eax
sar edx, 1
jns 0x52638e
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 [0x6883dc]
mov eax, dword [eax]
call fcn.0048535c
inc edi
dec ebx
cmp ebx, 0xffffffff
jne 0x5262fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5263db
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x56e2f4
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 0x56e345
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x56e32c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x56e31c
jmp 0x56e345
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 0x56e32d
pop ebx
mov esp, ebp
pop ebp
ret