joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101386da
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10138748
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1019f3a4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1013873f
cmp dword [ebp - 0xc], 4
jne 0x1013873f
cmp dword [ebp - 0x10], edi
je 0x1013873f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1029df70], edi
xor eax, eax
jmp 0x10138787
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1029df70], edi
jge 0x10138782
lea eax, [ebp - 0x34]
push eax
mov dword [0x1029df70], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10138782
cmp word [ebp - 0x14], 5
jb 0x10138782
call fcn.101386b5
test eax, eax
je 0x10138782
emms
mov dword [0x1029df70], 1
mov eax, dword [0x1029df70]
pop edi
leave
ret

Function at 0x10159133
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1015916b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10157145
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1015711d
jmp 0x10159177
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1015aab4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1015aaf6
call fcn.101612d3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1015aaf6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1015aaed
xor eax, eax
jmp 0x1015aafe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1015ab04
pop edi
pop esi
pop ebx
ret 4
Function at 0x40104d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401064
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401099
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401095
cmp edi, eax
jae 0x401099
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401087
cmp edi, eax
jb 0x40109d
xor eax, eax
jmp 0x4010a7
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x401fde
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x401ff1
push 0x80004005
call fcn.00401000
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401ff8
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x402028
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x49b390]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x214]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x402145
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x402096
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x402145
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
jmp 0x402109
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00402028
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x402168
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x4020ce
cmp dword [ebp - 0x210], esi
je 0x40212f
push dword [ebp - 0x210]
call ebx
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x210], esi
je 0x402155
push dword [ebp - 0x210]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c29b
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x402178
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x402157
Function at 0x403b86
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fec]
mov eax, 0x206c
call fcn.0046b070
mov eax, dword [0x49b390]
xor eax, ebp
mov dword [ebp + 0x1fe8], eax
mov eax, dword [ebx]
cmp dword [eax], 0x80000003
push esi
mov esi, ecx
jne 0x403ba3
xor eax, eax
mov ecx, dword [ebp + 0x1fe8]
xor ecx, ebp
pop esi
call fcn.0045c29b
add ebp, 0x1fec
leave
ret
xor eax, eax
cmp dword [esi + 0x5870], 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x486e54
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jb 0x403bc9
mov eax, dword [esi + 0x585c]
jmp 0x403bcf
lea eax, [esi + 0x585c]
push edi
push eax
lea edi, [ebp - 0x2c]
call fcn.00404696
test eax, eax
jne 0x403bf3
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x486e54
call fcn.00404a3b
mov eax, edi
pop edi
jmp 0x403b8d
push 1
call fcn.00403d2d
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x403c14
push eax
mov eax, dword [ebx + 4]
call fcn.00403dd7
test eax, eax
je 0x403d1e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
push 0x2cc
push dword [ebx + 4]
lea eax, [esi + 0x20]
push eax
call fcn.0045c2b0
push 0x5834
lea eax, [esi + 8]
push eax
push dword [ebp - 0x24]
call fcn.0045c2b0
push 0x3c
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x7c], edi
call fcn.0045c920
mov dword [ebp - 0x3c], edi
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
cmp dword [esi + 0x5870], 8
stosd dword es:[edi], eax
jb 0x403c8f
mov ecx, dword [esi + 0x585c]
jmp 0x403c95
lea ecx, [esi + 0x585c]
cmp dword [esi + 0x5854], 8
jb 0x403ca6
mov eax, dword [esi + 0x5840]
jmp 0x403cac
lea eax, [esi + 0x5840]
push ecx
push eax
push 0x486d20
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
call fcn.00404f45
add esp, 0x14
cmp dword [esi + 0x5854], 8
jb 0x403cd2
mov esi, dword [esi + 0x5840]
jmp 0x403cd8
add esi, 0x5840
lea eax, [ebp - 0x3c]
push eax
xor edi, edi
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403d1b
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
mov dword [ebp - 0x1c], 1
jmp 0x403d1e
mov dword [ebp - 0x1c], edi
push 0
call fcn.00403d2d
mov edi, dword [ebp - 0x1c]
jmp 0x403bdf
Function at 0x403d2d
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0
push 4
call fcn.0045b08c
mov edi, eax
cmp edi, 0xffffffff
jne 0x403d4b
xor eax, eax
jmp 0x403dd2
push esi
push 0x1c
pop esi
push esi
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0045c920
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push edi
mov dword [ebp - 0x1c], esi
call fcn.0045b080
test eax, eax
jne 0x403d7a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403dd1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x10], eax
jne 0x403dc2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x403dc2
push dword [ebp - 0x14]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x403d76
cmp dword [ebp + 8], 0
push esi
je 0x403db5
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x403dbb
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0045b086
test eax, eax
jne 0x403d7a
inc eax
pop esi
pop edi
leave
ret 4

Function at 0x404696
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x4046a6
xor eax, eax
jmp 0x40470a
push esi
mov esi, edi
call fcn.00404a3b
lea esi, [ebp - 0x14]
call fcn.004038f8
push dword [ebp + 8]
mov esi, 0x5834
push esi
push 0
push 4
add eax, 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 4], eax
lea eax, [ebp - 0x14]
call fcn.0040399d
mov eax, dword [edi + 4]
test eax, eax
je 0x4046ff
push esi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [edi + 8], eax
jne 0x404703
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x404709
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
pop esi
leave
ret 4
Function at 0x405f35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x54
mov eax, 0x47d99e
call fcn.0046436b
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], edi
mov eax, dword [0x4a6c0c]
inc dword [0x4ae5ec]
mov esi, ecx
add eax, 0x8c
mov dword [ebp - 0x60], esi
call fcn.00405054
mov dword [ebp - 4], edi
push dword [0x4ae5ec]
lea eax, [ebp - 0x50]
push 0x4884c0
push 0x20
push eax
mov dword [ebp - 0x54], 1
call fcn.0045d737
movzx eax, word [ebp + 8]
add esp, 0x10
push 0x4884f0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00405073
cmp dword [esi + 0x18], 8
jb 0x405fcb
mov eax, dword [esi + 4]
jmp 0x405fce
lea eax, [esi + 4]
push edi
push 0x80
push 2
push edi
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406008
push edi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x54], edi
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.004643ee
ret
Function at 0x409577
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x49b390]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4ae5f0]
cmp eax, 0x2710
jae 0x4095ac
mov al, 1
jmp 0x409626
push edi
call esi
push 0
push 2
mov dword [0x4ae5f0], eax
call fcn.0045b08c
mov edi, eax
cmp edi, 0xffffffff
je 0x409623
mov esi, 0x22c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0045c920
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push edi
mov dword [ebp - 0x80], esi
call fcn.0045b092
test eax, eax
je 0x40961c
mov esi, 0x4a6e98
cmp dword [0x4a6eac], 8
mov eax, dword [0x4a6e98]
jae 0x4095fe
mov eax, esi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045f2d2
test eax, eax
pop ecx
pop ecx
jne 0x40963c
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.0045b098
test eax, eax
jne 0x4095ee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp + 0x1ac]
xor ecx, ebp
pop esi
call fcn.0045c29b
add ebp, 0x1b0
leave
ret
mov al, 1
jmp 0x409625

Function at 0x40a0eb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x49b390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov word [ebp - 0x1c], 0x2f
mov word [ebp - 0x1a], 0x2f2f
mov word [ebp - 0x18], 0x2f22
mov word [ebp - 0x16], 0x3a
mov word [ebp - 0x14], 0x2a
mov word [ebp - 0x12], 0x3f
mov word [ebp - 0x10], 0x3c
mov word [ebp - 0xe], 0x3e
mov word [ebp - 0xc], 0x7c
mov word [ebp - 0xa], 0x2f74
mov word [ebp - 8], 0x22
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x1c]
push eax
push edi
call fcn.0045d67f
test eax, eax
pop ecx
pop ecx
jne 0x40a167
inc esi
cmp esi, 0xb
jb 0x40a140
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045c29b
leave
ret
xor al, al
jmp 0x40a15a
Function at 0x4179ab
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
push 0xfffffffffffffffe
pop eax
jbe 0x4179d1
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x4867e0]
inc ecx
dec edx
jne 0x4179b4
pop edi
pop esi
ret

Function at 0x4179d2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
xor ecx, ecx
cmp dword [esp + 8], eax
jbe 0x4179fd
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x49d568]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x4179dc
ret

Function at 0x417ddf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.004179ab
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ebp + 0xc], edx
mov esi, eax
jle 0x417e11
lea eax, [edx + esi]
and eax, 0x3ff
mov al, byte [eax + 0x4a62a0]
xor byte [ecx], al
inc ecx
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x417dfa
mov eax, esi
pop esi
pop ebp
ret

Function at 0x417e16
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
test edx, edx
jle 0x417e3b
push ebx
push edi
lea edi, [ecx + esi]
and edi, 0x3ff
mov bl, byte [edi + 0x4a62a0]
xor byte [eax], bl
inc eax
inc ecx
cmp ecx, edx
jl 0x417e22
pop edi
pop ebx
mov ecx, dword [esp + 4]
call fcn.004179ab
sub eax, esi
neg eax
sbb eax, eax
inc eax
ret

Function at 0x419766
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov edx, ebx
mov ecx, edi
call fcn.004179ab
mov dword [ebp - 4], eax
xor eax, eax
test ebx, ebx
jbe 0x4197a1
mov esi, dword [ebp + 0xc]
add esi, 0x523
mov ecx, esi
and ecx, 0x3ff
mov cl, byte [ecx + 0x4867e0]
xor byte [eax + edi], cl
inc eax
inc esi
cmp eax, ebx
jb 0x41978a
xor esi, esi
test ebx, ebx
jbe 0x4197ce
xor edx, edx
push 7
pop ecx
mov eax, esi
div ecx
mov bl, byte [esi + edi]
inc edx
mov ecx, edx
and ecx, 0x80000007
jns 0x4197c3
dec ecx
or ecx, 0xfffffff8
inc ecx
rol bl, cl
mov byte [esi + edi], bl
inc esi
cmp esi, dword [ebp + 8]
jb 0x4197a7
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x4197d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x419807
push 7
xor edx, edx
pop ecx
mov eax, esi
div ecx
mov bl, byte [esi + edi]
sub ecx, edx
and ecx, 0x80000007
jns 0x4197fc
dec ecx
or ecx, 0xfffffff8
inc ecx
rol bl, cl
mov byte [esi + edi], bl
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4197e1
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
jbe 0x419830
mov ecx, dword [ebp + 0x10]
add ecx, 0x523
mov esi, ecx
and esi, 0x3ff
mov bl, byte [esi + 0x4867e0]
xor byte [eax + edi], bl
inc eax
inc ecx
cmp eax, edx
jb 0x419819
mov ecx, edi
call fcn.004179ab
sub eax, dword [ebp + 8]
pop esi
neg eax
sbb eax, eax
inc eax
pop ebx
pop ebp
ret
Function at 0x41c851
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x49b390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 0x6a
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
mov esi, ecx
call fcn.0045c920
add esp, 0xc
test esi, esi
je 0x41c89f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [esi + 0x94]
call ebx
sub eax, dword [edi]
cmp eax, 0x1388
jb 0x41c935
call ebx
mov dword [edi], eax
mov ax, word [ebp + 8]
push 0x10
push dword [ebp - 0x7c]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.0045c2b0
mov eax, dword [0x4a6f40]
add esp, 0xc
mov dword [ebp - 0x66], eax
mov eax, dword [0x4a6f44]
push 0x4898e4
mov dword [ebp - 0x62], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [0x4a7bd8], 0x10
mov dword [ebp - 0x5e], eax
mov eax, dword [0x4a7bc4]
mov dword [ebp - 0x5a], 0x10000
jae 0x41c8f0
mov eax, 0x4a7bc4
push 0x1f
push eax
lea eax, [ebp - 0x4e]
push eax
call int.0045fb70
add esp, 0xc
test esi, esi
je 0x41c912
mov ecx, dword [esi + 0x8c]
movzx eax, word [esi + 0x90]
jmp 0x41c919
mov ecx, dword [ebp + 0xc]
movzx eax, word [ebp + 0x10]
or dword [ebp - 0x56], 1
push eax
push ecx
mov dword [ebp - 0x2e], ecx
push 0x6a
lea esi, [ebp - 0x78]
mov ecx, 0x4a6f80
mov word [ebp - 0x2a], ax
call fcn.0042c48b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c29b
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [edi + 0x34], 0
push ebx
push esi
jne 0x41cf05
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4a6768]
mov ebx, 0x3e8
cmp eax, ebx
jb 0x41cf05
call esi
sub eax, dword [edi + 0x3c]
cmp eax, ebx
jb 0x41cf05
call esi
cmp dword [edi + 0x30], 1
mov dword [edi + 0x3c], eax
jne 0x41ceca
lea esi, [edi + 0x48]
call fcn.0041e1f7
jmp 0x41cefa
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0041b596
cmp dword [ebp - 4], 0xf
jge 0x41cf05
cmp dword [edi + 0x80], 0x28
jae 0x41cf05
push 1
lea esi, [edi + 0x50]
call fcn.00419888
test eax, eax
je 0x41cf05
mov ecx, edi
call fcn.0041cd01
pop esi
pop ebx
leave
ret
Function at 0x41e840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, eax
push 0x64
call fcn.0041ee0e
mov ecx, dword [esi + 0x2c]
mov edi, edx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x28]
add edx, 1
mov dword [ebp - 4], edi
adc edi, ebx
cmp edi, ecx
jb 0x41e883
ja 0x41e875
cmp edx, eax
jb 0x41e883
sub eax, dword [ebp - 8]
sbb ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jmp 0x41e88d
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x18], eax
sub eax, dword [esi + 8]
push ebx
sbb ecx, dword [esi + 0xc]
push 0x1e
push ecx
push eax
call fcn.00468c10
push ebx
push 0x64
push edx
push eax
call fcn.0047a870
mov edi, eax
cmp edi, dword [esi]
mov dword [ebp - 0xc], edx
jne 0x41e8c0
cmp edx, dword [esi + 4]
je 0x41e8fc
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov dword [esi + eax*8 + 0x30], ecx
mov ecx, dword [esi + 0x24]
mov dword [esi + eax*8 + 0x34], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push ebx
add eax, 1
push 0x64
adc ecx, ebx
push ecx
push eax
call fcn.0047a870
cmp eax, edi
mov dword [esi], eax
mov dword [esi + 4], edx
jne 0x41e8c0
mov eax, edx
cmp eax, dword [ebp - 0xc]
jne 0x41e8c0
mov eax, dword [ebp - 0xc]
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
or ecx, edx
je 0x41e90e
add dword [esi + 0x20], eax
adc dword [esi + 0x24], edx
mov ebx, dword [esi + 0x18]
mov edi, dword [ebp - 0x18]
xor ecx, ecx
or ebx, dword [esi + 0x1c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
jne 0x41e927
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4216dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
mov esi, eax
push 0xc8
call fcn.0041daa0
mov edi, dword [esi + 0x2c]
mov ecx, edx
mov edx, dword [esi + 0x28]
mov ebx, eax
add eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
adc ecx, dword [ebp + 0xc]
cmp ecx, edi
jb 0x42171d
ja 0x421710
cmp eax, edx
jb 0x42171d
sub edx, ebx
sbb edi, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 4], edi
jmp 0x421729
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x10], eax
sub eax, dword [esi + 8]
push 0
sbb ecx, dword [esi + 0xc]
push 0x32
push ecx
push eax
call fcn.00468c10
push 0
mov edi, 0xc8
push edi
push edx
push eax
call fcn.0047a870
mov ebx, eax
cmp ebx, dword [esi]
mov dword [ebp + 0xc], edx
jne 0x421762
cmp edx, dword [esi + 4]
je 0x42179f
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov dword [esi + eax*8 + 0x30], ecx
mov ecx, dword [esi + 0x24]
mov dword [esi + eax*8 + 0x34], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0
add eax, 1
push edi
adc ecx, 0
push ecx
push eax
call fcn.0047a870
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 4], edx
jne 0x421762
mov eax, edx
cmp eax, dword [ebp + 0xc]
jne 0x421762
mov eax, dword [ebp + 0xc]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
or ecx, edx
je 0x4217b1
add dword [esi + 0x20], eax
adc dword [esi + 0x24], edx
mov ebx, dword [esi + 0x18]
mov edi, dword [ebp - 0x10]
xor ecx, ecx
or ebx, dword [esi + 0x1c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
jne 0x4217ca
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
leave
ret 8