joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485424
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485595
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004847dc
xor eax, eax
push ebp
push 0x485578
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x485489
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x485489
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 0x485562
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48549c
call fcn.00404d90
jmp 0x48557f
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x4854c3
cmp dword [ebp - 0x10], 0
jle 0x4854c3
cmp ebx, dword [ebp - 0x10]
jle 0x4854c3
mov ebx, dword [ebp - 0x10]
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 0x485562
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x485562
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040462c
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 0x485562
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040ee38
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x4855b0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x6c1034]
mov dl, 1
mov eax, dword [0x4832d0]
call fcn.0040f768
call fcn.00404ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48557f
mov eax, dword [ebp - 4]
call fcn.004847e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48559c
lea eax, [ebp - 0x2c]
call fcn.00405394
ret
Function at 0x4996d0
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 0x4997a9
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 0x499798
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x499725
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x499729
xor edx, edx
jmp 0x499798
cmp edx, dword [ebp + 0x14]
jge 0x499798
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x499774
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 0x49976d
add eax, 2
jmp 0x499774
mov eax, 2
jmp 0x49978e
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x67c5b6]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x49970a
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 0x4997b3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10

Function at 0x4997bc
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 0x4998c3
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 0x4998a0
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
cmp edx, dword [ebp + 0x14]
jge 0x4998a0
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 0x499858
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ebp - 5]
add bl, 0x3c
mov byte [ecx + edx], bl
inc edx
jmp 0x499894
mov eax, dword [ebp + 0x14]
dec eax
cmp edx, eax
jge 0x499880
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 0x49988e
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 0x4997f2
test eax, eax
jle 0x4998b2
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 0x4998cd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49a454
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x49a478
cmp eax, 0
jbe 0x49a581
jmp 0x49a47e
jle 0x49a581
mov eax, dword [ebp + 8]
add eax, 0xffffff04
xor ecx, ecx
mov edx, 0xf8
call fcn.00403ae0
mov eax, dword [ebp + 8]
lea edx, [eax - 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x40
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x40
jne 0x49a581
mov eax, dword [ebp + 8]
cmp word [eax - 0x13c], 0x5a4d
jne 0x49a581
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x100]
jne 0x49a581
mov eax, dword [ebp + 8]
lea edx, [eax - 0xfc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 4
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 4
jne 0x49a581
mov eax, dword [ebp + 8]
cmp dword [eax - 0xfc], 0x4550
jne 0x49a581
mov eax, dword [ebp + 8]
lea edx, [eax - 0xf8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x14
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x14
jne 0x49a581
mov eax, dword [ebp + 8]
cmp word [eax - 0xf8], 0x14c
jne 0x49a581
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 0xe8]
mov eax, dword [ebp + 8]
lea edx, [eax - 0xe4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp + 8]
movzx edx, word [edx - 0xe8]
cmp eax, edx
jne 0x49a581
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x49abd0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor edx, edx
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xf6]
test ax, ax
jbe 0x49acb0
mov edx, dword [ebp + 8]
movzx eax, ax
dec eax
test eax, eax
jl 0x49acae
inc eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 0xc]
xor edx, edx
test eax, 0x20000000
je 0x49ac46
test eax, 0x40000000
je 0x49ac32
test eax, 0x80000000
je 0x49ac2d
or edx, 0x40
jmp 0x49ac6d
or edx, 0x20
jmp 0x49ac6d
test eax, 0x80000000
je 0x49ac41
or edx, 0x80
jmp 0x49ac6d
or edx, 0x10
jmp 0x49ac6d
test eax, 0x40000000
je 0x49ac5e
test eax, 0x80000000
je 0x49ac59
or edx, 4
jmp 0x49ac6d
or edx, 2
jmp 0x49ac6d
test eax, 0x80000000
je 0x49ac6a
or edx, 8
jmp 0x49ac6d
or edx, 1
test eax, 0x4000000
je 0x49ac7a
or edx, 0x200
mov eax, dword [ebp + 8]
add eax, 0xfffffebc
push eax
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec dword [ebp - 4]
jne 0x49ac00
mov dl, 1
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49c774
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.00403ae0
ret
Function at 0x4cb310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cb506
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6c092c]
cmp dword [eax], 0
je 0x4cb4eb
test ebx, ebx
je 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx]
cmp eax, dword [ebx + 4]
jbe 0x4cb4eb
mov eax, dword [ebx + 8]
sub eax, 0x64
jne 0x4cb4eb
mov eax, dword [ebx + 0xc]
cmp eax, 0x12d
jg 0x4cb3a4
je 0x4cb4b6
cmp eax, 0xca
jg 0x4cb38b
je 0x4cb43f
sub eax, 0xc8
je 0x4cb3c9
dec eax
je 0x4cb404
jmp 0x4cb4eb
sub eax, 0xcb
je 0x4cb477
sub eax, 0x61
je 0x4cb4ab
jmp 0x4cb4eb
sub eax, 0x12e
je 0x4cb4c1
dec eax
je 0x4cb4cc
dec eax
je 0x4cb4d7
dec eax
je 0x4cb4e2
jmp 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x5265c00
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6c092c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006274dc
jmp 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x36ee80
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6c092c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006274dc
jmp 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0xea60
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x6c092c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006274dc
jmp 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [ebx]
jb 0x4cb4eb
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebx + 0x20], 0x3e8
add eax, edx
mov dword [ebx], eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x6c092c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x24]
mov edx, esi
call fcn.006274dc
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb6cc
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb5fc
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb6c0
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb6c4
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb6c8
jmp 0x4cb4eb
mov edx, ebx
mov eax, esi
call fcn.004cb514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb50d
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b8
ret
Function at 0x4cfe10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [eax + 0x58]
mov edx, dword [edi + 0x14]
test edx, edx
je 0x4cfeae
cmp byte [eax + 0x41], 0
jne 0x4cfeae
movzx eax, word [edx + 0x11e]
cmp ax, word [edx + 0x122]
jae 0x4cfeae
cmp byte [edx + 0x2ec], 0
jne 0x4cfe74
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [edi + 0x14]
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x4cfeae
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov eax, esi
call fcn.004d32b4
mov bl, 1
jmp 0x4cfeae
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [edi + 0x14]
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x4cfeae
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov byte [esi + 0x2ec], 0
mov byte [esi + 0xc10], 0
mov eax, esi
call fcn.004d32b4
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
xor ebx, ebx
xor esi, esi
dec edx
je 0x4cfec5
dec edx
je 0x4cfecd
dec edx
je 0x4cfed5
jmp 0x4cfedb
mov esi, dword [eax + 0x84]
jmp 0x4cfedb
mov esi, dword [eax + 0x9c]
jmp 0x4cfedb
mov esi, dword [eax + 0xb4]
test esi, esi
je 0x4cff59
cmp byte [eax + 0x41], 0
jne 0x4cff59
movzx eax, word [esi + 0x11e]
cmp ax, word [esi + 0x122]
jae 0x4cff59
cmp byte [esi + 0x2ec], 0
jne 0x4cff29
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x4cff59
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov eax, esi
call fcn.004d33b0
mov bl, 1
jmp 0x4cff59
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x4cff59
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov byte [esi + 0x2ec], 0
mov eax, esi
call fcn.004d33b0
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
cmp byte [ebx + 0x2e4], 0
jne 0x4d1a5d
cmp byte [ebx + 0x2ec], 0
jne 0x4d1a5d
mov eax, ebx
call fcn.00661c1c
test al, al
je 0x4d1a5d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x400]
cmp eax, dword [ebx + 0xb48]
jle 0x4d1a5d
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x400], eax
cmp byte [ebx + 0x2a5], 0
je 0x4d19e1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x9c]
jmp 0x4d1a5d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x3fc]
cmp eax, dword [ebx + 0xb60]
jle 0x4d19fb
mov eax, ebx
call fcn.006722b0
xor ecx, ecx
cmp dword [ebx + 0x380], 0
je 0x4d1a34
mov esi, dword [ebx + 0x380]
mov eax, dword [esi + 0x24]
sub eax, dword [ebx + 0x24]
cdq
xor eax, edx
sub eax, edx
mov edi, dword [ebx + 0xc0c]
cmp eax, edi
jg 0x4d1a30
mov eax, dword [esi + 0x28]
sub eax, dword [ebx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jge 0x4d1a36
mov cl, 1
jmp 0x4d1a36
mov cl, 1
test cl, cl
je 0x4d1a46
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xa4]
jmp 0x4d1a5d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x98]
test al, al
je 0x4d1a5d
mov eax, ebx
call fcn.00672640
jmp 0x4d1a64
mov eax, ebx
call fcn.00672640
pop edi
pop esi
pop ebx
ret
Function at 0x4d3778
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006778e4
xor eax, eax
push ebp
push 0x4d3862
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4d3849
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0041fbf0
mov ebx, eax
cmp byte [ebx + 0x3d], 0
je 0x4d383c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jbe 0x4d383c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x34], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp byte [ebx + 0x28], 0
je 0x4d383c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.006778e4
xor eax, eax
push ebp
push 0x4d3827
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.0041fa48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d382e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.006778f0
ret
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x4d37b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3869
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006778f0
ret
Function at 0x4d46cc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4d46de
add esp, 0xfffffff0
call fcn.00404794
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x4d484b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404400
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.004053e8
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [esi + 0xc], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [esi + 0x10], eax
mov dl, 1
mov eax, dword [0x41cf4c]
call fcn.00404400
mov dword [esi + 0x14], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x36ee80
mov dword [esi + 0x68], eax
lea eax, [esi + 0x1c]
call fcn.00405394
call fcn.0040d634
fstp qword [esi + 0x20]
wait
mov byte [esi + 0x6c], 0
mov eax, dword [select]
movzx eax, byte [eax + 0x5f4c]
mov byte [esi + 0x30], al
mov byte [esi + 0x31], 0
mov byte [esi + 0x32], 0
xor eax, eax
mov dword [esi + 0x70], eax
xor eax, eax
mov dword [esi + 0x74], eax
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esi + 0x7c], eax
xor eax, eax
mov dword [esi + 0x80], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
mov byte [esi + 0x4c], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x50], eax
lea eax, [esi + 0x54]
mov edx, dword [0x4d3fd8]
call fcn.00406d00
lea eax, [esi + 0x58]
mov edx, dword [0x4d3ff8]
call fcn.00406d00
call fcn.0040d634
fstp qword [esi + 0x28]
wait
xor eax, eax
mov dword [esi + 0x34], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], 0
mov byte [esi + 0x41], 0
mov dl, 1
mov eax, dword [0x41cf4c]
call fcn.00404400
mov dword [esi + 0x44], eax
mov word [esi + 0x5c], 1
mov word [esi + 0x5e], 1
mov word [esi + 0x60], 1
mov word [esi + 0x62], 1
lea eax, [esi + 0x18]
call fcn.00405394
mov byte [esi + 0x64], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4852
lea eax, [ebp - 4]
call fcn.00405394
ret
Function at 0x4d853c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [esp + 8], eax
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4d8643
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov edx, dword [esp + 4]
call fcn.0041fbf0
mov ebp, eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
cmp edi, 0
jl 0x4d85db
mov edx, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jbe 0x4d85d5
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
xor ecx, ecx
mov eax, ebp
call fcn.004d735c
mov edx, dword [esi]
mov eax, ebp
call fcn.004d4c2c
mov edx, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0xc
mov eax, esi
call fcn.00402fb0
mov byte [ebp + 0x4c], 1
mov bl, 1
dec edi
cmp edi, 0xffffffff
jne 0x4d8589
mov eax, dword [esp + 8]
cmp eax, dword [ebp + 0x68]
jbe 0x4d8622
mov eax, dword [esp + 8]
add eax, 0x36ee80
mov dword [ebp + 0x68], eax
mov edx, 3
mov eax, ebp
call fcn.004d4870
cmp dword [ebp + 0x78], 0
jg 0x4d8622
mov eax, ebp
call fcn.004d4954
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov edx, dword [esp + 4]
call fcn.0041fa94
mov eax, dword [esp]
call fcn.004d864c
jmp 0x4d8634
test bl, bl
je 0x4d862d
mov eax, ebp
call fcn.004d542c
mov eax, ebp
call fcn.004d45e8
dec dword [esp + 4]
cmp dword [esp + 4], 0xffffffff
jne 0x4d8566
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dba34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
xor eax, eax
test ebx, ebx
je 0x4dbc51
cmp byte [ebx + 0x22a], 0x32
jb 0x4dbc51
cmp byte [ebx + 0x22a], 0
je 0x4dbc4f
mov eax, 4
sub eax, esi
call fcn.00403484
test eax, eax
jne 0x4dbc4f
xor eax, eax
mov dword [ebx + 0x380], eax
mov eax, 2
call fcn.00403484
test eax, eax
jne 0x4dbc4f
movzx eax, word [ebx + 0x34]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 0x34]
add edx, 2
cmp eax, edx
ja 0x4dbc30
mov eax, 3
call fcn.00403484
test eax, eax
jne 0x4dbc01
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x34]
add eax, 0x14
lea edx, [esi + esi*4]
add eax, edx
call fcn.00403484
movzx edx, word [ebx + 0x34]
mov ecx, dword [select]
add edx, dword [ecx + 0x6460]
cmp eax, edx
jle 0x4dbc4f
cmp byte [ebx + 0x264], 0
jne 0x4dbc4f
movzx eax, word [ebx + 0x34]
mov edx, dword [select]
cmp eax, dword [edx + 0x645c]
jge 0x4dbc4f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
mov eax, dword [eax + 8]
mov edx, dword [select]
cmp eax, dword [edx + 0x650c]
jge 0x4dbc4f
mov eax, dword [ebp - 4]
mov dword [ebx + 0x278], eax
mov byte [ebx + 0xbbd], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x34]
add eax, eax
call fcn.00403484
mov edx, esi
add edx, edx
add edx, edx
lea edx, [edx + edx*4]
add eax, edx
add eax, 0x14
imul eax, eax, 0x3c
imul edi, eax, 0x3e8
call sub.kernel32.dll_GetTickCount_1
add edi, eax
mov dword [ebx + 0x27c], edi
mov eax, esi
mov byte [ebx + 0x289], al
cmp dword [ebx + 0x280], 0
jne 0x4dbb88
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x280], eax
mov eax, ebx
call fcn.00667e24
imul eax, esi, 0xc8
mov edx, 0x5dc
sub edx, eax
cmp edx, dword [ebx + 0xb48]
jae 0x4dbbaa
mov dword [ebx + 0xb48], edx
mov edx, 0x7d0
sub edx, eax
cmp edx, dword [ebx + 0xb60]
jae 0x4dbbcc
imul eax, esi, 0xc8
mov edx, 0x7d0
sub edx, eax
mov dword [ebx + 0xb60], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x58]
movzx eax, word [ebx + 0x122]
mov word [ebx + 0x11e], ax
mov eax, ebx
call fcn.00667a90
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
mov edx, ebx
call fcn.0041fa48
jmp 0x4dbc4f
cmp byte [ebx + 0x264], 1
je 0x4dbc4f
mov eax, 0x14
call fcn.00403484
test eax, eax
jne 0x4dbc4f
mov eax, 0x14
call fcn.00403484
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.00667e3c
jmp 0x4dbc4f
cmp byte [ebx + 0x264], 1
je 0x4dbc4f
mov eax, 0x14
call fcn.00403484
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.00667e3c
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc