joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4efa00
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 0x4efa24
cmp eax, 0
jbe 0x4efb2d
jmp 0x4efa2a
jle 0x4efb2d
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 0x4efb2d
mov eax, dword [ebp + 8]
cmp word [eax - 0x13c], 0x5a4d
jne 0x4efb2d
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 0x4efb2d
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 0x4efb2d
mov eax, dword [ebp + 8]
cmp dword [eax - 0xfc], 0x4550
jne 0x4efb2d
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 0x4efb2d
mov eax, dword [ebp + 8]
cmp word [eax - 0xf8], 0x14c
jne 0x4efb2d
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 0x4efb2d
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x4f017c
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 0x4f025c
mov edx, dword [ebp + 8]
movzx eax, ax
dec eax
test eax, eax
jl 0x4f025a
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 0x4f01f2
test eax, 0x40000000
je 0x4f01de
test eax, 0x80000000
je 0x4f01d9
or edx, 0x40
jmp 0x4f0219
or edx, 0x20
jmp 0x4f0219
test eax, 0x80000000
je 0x4f01ed
or edx, 0x80
jmp 0x4f0219
or edx, 0x10
jmp 0x4f0219
test eax, 0x40000000
je 0x4f020a
test eax, 0x80000000
je 0x4f0205
or edx, 4
jmp 0x4f0219
or edx, 2
jmp 0x4f0219
test eax, 0x80000000
je 0x4f0216
or edx, 8
jmp 0x4f0219
or edx, 1
test eax, 0x4000000
je 0x4f0226
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 0x4f01ac
mov dl, 1
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f1178
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 0x4f6c40
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 0x4f6e5d
cmp byte [ebx + 0x22a], 0x32
jb 0x4f6e5d
cmp byte [ebx + 0x22a], 0
je 0x4f6e5b
mov eax, 4
sub eax, esi
call fcn.00403484
test eax, eax
jne 0x4f6e5b
xor eax, eax
mov dword [ebx + 0x380], eax
mov eax, 2
call fcn.00403484
test eax, eax
jne 0x4f6e5b
movzx eax, word [ebx + 0x34]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 0x34]
add edx, 2
cmp eax, edx
ja 0x4f6e3c
mov eax, 3
call fcn.00403484
test eax, eax
jne 0x4f6e0d
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 [setsockopt]
add edx, dword [ecx + 0x6460]
cmp eax, edx
jle 0x4f6e5b
cmp byte [ebx + 0x264], 0
jne 0x4f6e5b
movzx eax, word [ebx + 0x34]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x645c]
jge 0x4f6e5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
mov eax, dword [eax + 8]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x650c]
jge 0x4f6e5b
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 0x4f6d94
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x280], eax
mov eax, ebx
call fcn.0060f4c4
imul eax, esi, 0xc8
mov edx, 0x5dc
sub edx, eax
cmp edx, dword [ebx + 0xb48]
jae 0x4f6db6
mov dword [ebx + 0xb48], edx
mov edx, 0x7d0
sub edx, eax
cmp edx, dword [ebx + 0xb60]
jae 0x4f6dd8
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.0060f130
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.0041fa54
jmp 0x4f6e5b
cmp byte [ebx + 0x264], 1
je 0x4f6e5b
mov eax, 0x14
call fcn.00403484
test eax, eax
jne 0x4f6e5b
mov eax, 0x14
call fcn.00403484
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.0060f4dc
jmp 0x4f6e5b
cmp byte [ebx + 0x264], 1
je 0x4f6e5b
mov eax, 0x14
call fcn.00403484
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.0060f4dc
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4f7ca8
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov dword [esp], ecx
mov ebx, edx
mov byte [esp + 4], 0
movzx eax, byte [ebx + 0x2c]
push eax
push 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x2e0]
call fcn.0066f574
mov dl, 1
mov eax, dword [0x41cf58]
call fcn.00404400
mov edi, eax
mov eax, dword [esp + 0xc]
push eax
push 1
push edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x2e0]
mov eax, ebx
call fcn.0060a914
push 1
mov eax, dword [esp + 4]
call fcn.004f3960
mov edx, dword [esp + 4]
call fcn.004f3980
mov edx, eax
movzx esi, word [ebx + 0x112]
movzx eax, si
add edx, eax
mov ecx, dword [ebx + 0x112]
shr ecx, 0x10
sub cx, si
movsx ecx, cx
inc ecx
mov eax, ebx
call fcn.00612ef8
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jle 0x4f7dea
mov eax, dword [esp]
movzx edx, byte [eax + 6]
mov eax, 1
call fcn.004e3de0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld xword [0x4f7e00]
fmulp st(1)
fild dword [esp + 0x14]
fmulp st(1)
call fcn.00403560
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
dec eax
test eax, eax
jl 0x4f7dea
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, edi
call fcn.0041fbfc
mov esi, eax
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x4f7de0
push 0
mov eax, dword [esp + 0x18]
push eax
push 0
push 0
push 0
push 0xc8
mov cx, 0xa1
mov edx, ebx
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x18]
push 2
mov eax, dword [esp + 4]
movzx ecx, word [eax + 4]
mov edx, ebx
mov eax, esi
call fcn.00608b28
mov byte [esp + 4], 1
inc dword [esp + 0x10]
dec dword [esp + 0x18]
jne 0x4f7d8f
mov eax, edi
call fcn.00404430
movzx eax, byte [esp + 4]
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f9dc8
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.0066cac0
xor eax, eax
push ebp
push 0x4f9eb2
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 0x4f9e99
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0041fbfc
mov ebx, eax
cmp byte [ebx + 0x3d], 0
je 0x4f9e8c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jbe 0x4f9e8c
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 0x4f9e8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0066cac0
xor eax, eax
push ebp
push 0x4f9e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.0041fa54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9e7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0066cacc
ret
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x4f9e01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9eb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0066cacc
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xc04]
cmp eax, 0xbb8
jbe 0x4fc603
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xc04], eax
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2e0]
call fcn.0066f4dc
cmp eax, 2
jl 0x4fc5ea
mov byte [esi + 0xc09], 1
mov edx, dword [esi + 0x380]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
jne 0x4fc603
xor eax, eax
mov dword [esi + 0x380], eax
cmp byte [esi + 0xc09], 0
je 0x4fc63a
mov edi, dword [esi + 0x24]
mov ebp, dword [esi + 0x28]
mov eax, 8
call fcn.00403484
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.006124b8
cmp edi, dword [esi + 0x24]
jne 0x4fc631
cmp ebp, dword [esi + 0x28]
je 0x4fc63a
mov byte [esi + 0xc09], 0
mov bl, 1
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fc644
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, eax
xor ebx, ebx
mov edi, dword [esi + 0x380]
test edi, edi
je 0x4fc6de
mov ecx, esp
mov edx, edi
mov eax, esi
call fcn.006084d8
test al, al
je 0x4fc6b1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x3fc]
cmp eax, dword [esi + 0xb60]
jle 0x4fc6ad
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x3fc], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x384], eax
movzx ecx, byte [esp]
mov edx, dword [esi + 0x380]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x90]
mov eax, esi
call fcn.0060f4c4
mov bl, 1
jmp 0x4fc6de
mov eax, dword [esi + 0x380]
mov edx, dword [eax + 0x2e0]
cmp edx, dword [esi + 0x2e0]
jne 0x4fc6d7
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x84]
jmp 0x4fc6de
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4fcd70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x2ec], 0
jne 0x4fcdd8
cmp byte [ebx + 0xc08], 0
jne 0x4fcdd8
cmp byte [ebx + 0x2e4], 0
jne 0x4fcdd8
mov eax, ebx
call fcn.006092bc
test al, al
je 0x4fcdd8
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x1f40
ja 0x4fcdc6
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x3e8
jbe 0x4fcdd8
cmp dword [ebx + 0x380], 0
jne 0x4fcdd8
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x404], eax
mov eax, ebx
call fcn.00619950
mov eax, ebx
call fcn.004fc6e8
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
cmp byte [ebx + 0x2e4], 0
jne 0x4fe3a9
cmp byte [ebx + 0x2ec], 0
jne 0x4fe3a9
mov eax, ebx
call fcn.006092bc
test al, al
je 0x4fe3a9
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x400]
cmp eax, dword [ebx + 0xb48]
jl 0x4fe3a9
cmp byte [ebx + 0x31a], 0
je 0x4fe36a
mov eax, dword [ebx + 0x414]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4fe3a9
inc edi
xor ebp, ebp
mov edx, ebp
mov eax, dword [ebx + 0x414]
call fcn.0041fbfc
mov esi, dword [eax]
test esi, esi
je 0x4fe364
cmp byte [esi + 0x2ec], 0
jne 0x4fe364
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x4fe364
cmp byte [esi + 0x319], 0
je 0x4fe33b
cmp byte [ebx + 0x31b], 0
je 0x4fe364
mov eax, dword [ebx + 0x24]
sub eax, dword [esi + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4fe364
mov eax, dword [ebx + 0x28]
sub eax, dword [esi + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4fe364
mov eax, ebx
call fcn.004fe21c
jmp 0x4fe3a9
inc ebp
dec edi
jne 0x4fe300
jmp 0x4fe3a9
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x1f40
ja 0x4fe397
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x3e8
jbe 0x4fe3a9
cmp dword [ebx + 0x380], 0
jne 0x4fe3a9
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x404], eax
mov eax, ebx
call fcn.00619950
mov eax, ebx
call fcn.004fc6e8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fef74
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
cmp byte [ebx + 0x2ec], 0
jne 0x4ff11e
cmp byte [ebx + 0xc08], 0
jne 0x4ff11e
cmp byte [ebx + 0x2e4], 0
jne 0x4ff11e
mov eax, ebx
call fcn.006092bc
test al, al
je 0x4ff11e
cmp byte [ebx + 0xc21], 0
je 0x4feff9
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x1f40
ja 0x4fefe7
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x404]
cmp eax, 0x3e8
jbe 0x4feff9
cmp dword [ebx + 0x380], 0
jne 0x4feff9
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x404], eax
mov eax, ebx
call fcn.00619950
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0xc18]
cmp eax, 0x2710
jbe 0x4ff11e
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0xc18], eax
cmp byte [ebx + 0xc22], 0
je 0x4ff093
cmp dword [ebx + 0x380], 0
je 0x4ff093
mov eax, ebx
call fcn.00610d64
cmp eax, 5
jl 0x4ff093
lea ecx, [esp + 4]
mov edx, esp
mov eax, dword [ebx + 0x380]
call fcn.006108ec
push 0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x2e0]
call fcn.0066de44
test al, al
je 0x4ff07f
mov eax, dword [esp + 4]
push eax
push 0
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x2e0]
mov eax, ebx
call fcn.00617f30
jmp 0x4ff125
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
mov eax, ebx
call fcn.00619158
jmp 0x4ff125
mov ecx, dword [ebx + 0xc24]
movzx eax, word [ebx + 0x122]
mov esi, 7
xor edx, edx
div esi
push eax
movzx eax, word [ebx + 0x11e]
pop edx
mov esi, edx
xor edx, edx
div esi
mov edx, 7
sub edx, eax
mov dword [ebx + 0xc24], edx
mov eax, dword [ebx + 0xc24]
cmp eax, 2
jl 0x4ff0e6
cmp ecx, eax
je 0x4ff0e6
mov byte [ebx + 0xc20], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0xc1c], eax
cmp byte [ebx + 0xc20], 0
je 0x4ff11e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0xc1c]
cmp eax, 0x1f40
jae 0x4ff10d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x9c]
jmp 0x4ff11e
mov byte [ebx + 0xc20], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xa0]
mov eax, ebx
call fcn.004fc6e8
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x501674
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
cmp byte [ebx + 0x2e4], 0
jne 0x501755
cmp byte [ebx + 0x2ec], 0
jne 0x501755
mov eax, ebx
call fcn.006092bc
test al, al
je 0x501755
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x400]
cmp eax, dword [ebx + 0xb48]
jle 0x501755
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x400], eax
cmp byte [ebx + 0x2a5], 0
je 0x5016d9
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x9c]
jmp 0x501755
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x3fc]
cmp eax, dword [ebx + 0xb60]
jle 0x5016f3
mov eax, ebx
call fcn.00619950
xor ecx, ecx
cmp dword [ebx + 0x380], 0
je 0x50172c
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 0x501728
mov eax, dword [esi + 0x28]
sub eax, dword [ebx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jge 0x50172e
mov cl, 1
jmp 0x50172e
mov cl, 1
test cl, cl
je 0x50173e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xa4]
jmp 0x501755
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x98]
test al, al
je 0x501755
mov eax, ebx
call fcn.00619ce0
jmp 0x50175c
mov eax, ebx
call fcn.00619ce0
pop edi
pop esi
pop ebx
ret
Function at 0x50391c
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 0x50392e
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 0x503a9b
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 [0x41d624]
call fcn.00404400
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x41d624]
call fcn.00404400
mov dword [esi + 0xc], eax
mov dl, 1
mov eax, dword [0x41d624]
call fcn.00404400
mov dword [esi + 0x10], eax
mov dl, 1
mov eax, dword [0x41cf58]
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.0040d640
fstp qword [esi + 0x20]
wait
mov byte [esi + 0x6c], 0
mov eax, dword [setsockopt]
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 [0x503228]
call fcn.00406d00
lea eax, [esi + 0x58]
mov edx, dword [0x503248]
call fcn.00406d00
call fcn.0040d640
fstp qword [esi + 0x28]
wait
xor eax, eax
mov dword [esi + 0x34], eax
mov dl, 1
mov eax, dword [0x41d624]
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 [0x41cf58]
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 0x503aa2
lea eax, [ebp - 4]
call fcn.00405394
ret
Function at 0x50778c
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 0x507893
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov edx, dword [esp + 4]
call fcn.0041fbfc
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 0x50782b
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 0x507825
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
xor ecx, ecx
mov eax, ebp
call fcn.005065ac
mov edx, dword [esi]
mov eax, ebp
call fcn.00503e7c
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 0x5077d9
mov eax, dword [esp + 8]
cmp eax, dword [ebp + 0x68]
jbe 0x507872
mov eax, dword [esp + 8]
add eax, 0x36ee80
mov dword [ebp + 0x68], eax
mov edx, 3
mov eax, ebp
call fcn.00503ac0
cmp dword [ebp + 0x78], 0
jg 0x507872
mov eax, ebp
call fcn.00503ba4
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov edx, dword [esp + 4]
call fcn.0041faa0
mov eax, dword [esp]
call fcn.0050789c
jmp 0x507884
test bl, bl
je 0x50787d
mov eax, ebp
call fcn.0050467c
mov eax, ebp
call fcn.00503838
dec dword [esp + 4]
cmp dword [esp + 4], 0xffffffff
jne 0x5077b6
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x50b0f4
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 0x50b192
cmp byte [eax + 0x41], 0
jne 0x50b192
movzx eax, word [edx + 0x11e]
cmp ax, word [edx + 0x122]
jae 0x50b192
cmp byte [edx + 0x2ec], 0
jne 0x50b158
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [edi + 0x14]
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x50b192
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov eax, esi
call fcn.00502fac
mov bl, 1
jmp 0x50b192
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [edi + 0x14]
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x50b192
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.00502fac
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
xor ebx, ebx
xor esi, esi
dec edx
je 0x50b1a9
dec edx
je 0x50b1b1
dec edx
je 0x50b1b9
jmp 0x50b1bf
mov esi, dword [eax + 0x84]
jmp 0x50b1bf
mov esi, dword [eax + 0x9c]
jmp 0x50b1bf
mov esi, dword [eax + 0xb4]
test esi, esi
je 0x50b23d
cmp byte [eax + 0x41], 0
jne 0x50b23d
movzx eax, word [esi + 0x11e]
cmp ax, word [esi + 0x122]
jae 0x50b23d
cmp byte [esi + 0x2ec], 0
jne 0x50b20d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x50b23d
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov eax, esi
call fcn.005030a8
mov bl, 1
jmp 0x50b23d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2f4]
cmp eax, 0xea60
jbe 0x50b23d
movzx eax, word [esi + 0x122]
mov word [esi + 0x11e], ax
mov byte [esi + 0x2ec], 0
mov eax, esi
call fcn.005030a8
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret