joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e814
Capabilities:
Create thread

Disassembly:
push 0x7c
mov eax, 0x5729b8
call fcn.00561213
mov dword [ebp - 0x80], ecx
mov esi, dword [ebp + 0x10]
lea ebx, [ecx + 0x14]
mov ecx, ebx
mov dword [ebp - 0x88], ebx
call fcn.005383c0
xor ecx, ecx
lea edi, [ebp - 0x78]
mov dword [ebp - 4], ecx
xor eax, eax
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x58], ax
pop eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x80]
lea esi, [edi + 0x8c]
mov ecx, dword [esi + 4]
cmp eax, ecx
jae 0x47e8ec
cmp dword [esi], eax
ja 0x47e8ec
sub eax, dword [esi]
cdq
mov dword [ebp - 0x80], 0x68
idiv dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
cmp ecx, dword [esi + 8]
jne 0x47e8ce
push ecx
mov ecx, esi
call fcn.0047f430
mov eax, dword [ebp - 0x84]
mov ecx, dword [esi + 4]
imul eax, eax, 0x68
add eax, dword [esi]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x47e8e4
push eax
call fcn.0040b37f
mov eax, dword [ebp - 0x80]
add dword [esi + 4], eax
jmp 0x47e911
cmp ecx, dword [esi + 8]
jne 0x47e8f9
push ecx
mov ecx, esi
call fcn.0047f430
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x47e90d
lea eax, [ebp - 0x78]
push eax
call fcn.0040b37f
add dword [esi + 4], 0x68
xor esi, esi
cmp dword [edi + 0xb0], esi
jne 0x47e93e
push esi
push esi
push edi
push 0x47e960
push esi
push esi
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x47e938
mov dword [edi + 0xb0], eax
cmp dword [edi + 0xb0], esi
lea ecx, [ebp - 0x78]
setne byte [ebp - 0x79]
call fcn.00408cdb
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.005383d0
mov al, byte [ebp - 0x79]
call fcn.005611c2
ret 0x10
Function at 0x480885
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x174], al
jne 0x48089d
mov al, 1
jmp 0x48099d
push ebx
test al, al
je 0x480961
mov dword [esi + 0x290], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [esi + 0x294], eax
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x368], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push ebx
push ebx
mov dword [esi + 0x344], eax
mov eax, dword [esi + 0x88]
push esi
push 0x481018
push ebx
mov dword [esi], esi
push ebx
mov dword [eax + 0x30], esi
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x48095d
mov byte [esi + 0x174], 1
mov dword [esi + 0x340], eax
jmp 0x48099a
xor al, al
jmp 0x48099c
xor ebx, ebx
mov dword [esi + 0x290], ebx
mov eax, dword [esi + 0x88]
mov dword [esi], ebx
push 0xffffffffffffffff
mov dword [eax + 0x30], ebx
push dword [esi + 0x340]
mov byte [esi + 0x174], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x340]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x340], ebx
mov al, 1
pop ebx
pop esi
pop ebp
ret 4
Function at 0x4860e9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, ecx
call ebx
sub eax, dword [edi + 0xa8]
xor edx, edx
mov esi, 0x3e8
mov ecx, dword [ebp + 8]
div esi
mov dword [ecx], eax
cmp dword [edi + 0x8c], 0
jle 0x486140
mov esi, dword [edi + 0x8c]
call ebx
sub eax, dword [edi + esi*8 + 0x88]
add dword [edi + esi*8 + 0x8c], eax
call ebx
mov ecx, dword [edi + 0x8c]
mov esi, 0x3e8
mov dword [edi + ecx*8 + 0x88], eax
mov eax, dword [edi + 0x94]
xor edx, edx
div esi
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ecx], eax
mov eax, dword [edi + 0x9c]
div esi
xor edx, edx
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xa4]
div esi
pop edi
pop esi
mov dword [ecx + 8], eax
pop ebx
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x486403
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, eax
sub edi, dword [esi + 0x14]
cmp edi, 0x64
jb 0x4863f2
call ebx
push 0
mov ebx, 0x3e8
mov dword [esi + 0x14], eax
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0055dfc0
push 0
push edi
push edx
push eax
call fcn.0055df10
mov dword [esi + 0x28], eax
xor eax, eax
push eax
push ebx
push dword [esi + 0x24]
mov dword [esi + 0x2c], edx
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.0055dfc0
push 0
push edi
push edx
push eax
call fcn.0055df10
and dword [esi + 0x20], 0
and dword [esi + 0x24], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
cmp byte [esi + 0xc], 0
je 0x4863fc
mov byte [esi + 0xc], 0
mov ecx, esi
call fcn.0048640a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49338d
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x575159
call fcn.005611e0
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ebx], eax
push 2
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebx + 4], eax
mov eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
lea ecx, [ebx + 0x24]
mov dword [ebx + 8], eax
call fcn.00407797
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], ecx
mov esi, dword [ebp + 0x18]
lea edi, [ebx + 0x3c]
mov byte [ebp - 4], 1
xor eax, eax
mov byte [ebx + 0x60], cl
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], ecx
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 edi, [ebx + 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebx + 0x24]
mov dword [ebx + 0x8c], 1
cmp dword [edi + 0x14], 8
jb 0x49342f
mov eax, dword [edi]
jmp 0x493431
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4934b6
push 0x44
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
pop ecx
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x493472
lea ecx, [ebp + 8]
call fcn.004aeda9
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x10], 1
push dword [eax]
call fcn.004afff1
xor esi, esi
jmp 0x493476
xor esi, esi
mov eax, esi
mov ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x5c], eax
test ecx, ecx
je 0x493485
call fcn.004938a2
mov dword [ebp - 4], 1
test byte [ebp - 0x10], 1
je 0x49349f
mov eax, dword [ebp + 8]
test eax, eax
je 0x49349f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi + 0x14], 8
jb 0x4934a7
mov edi, dword [edi]
mov ecx, dword [ebx + 0x5c]
push 1
push 0x21
push edi
call fcn.004b0053
jmp 0x4934b8
xor esi, esi
mov dword [ebp + 0x14], esi
cmp dword [ebx + 0x5c], esi
je 0x4934f5
cmp dword [ebx + 0x8c], 2
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x54]
push esi
push 0x400
jne 0x4934e1
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], eax
add ecx, 0x3ff
adc eax, esi
push eax
push ecx
call fcn.0055df10
mov dword [ebp + 0x14], edx
mov esi, eax
mov dword [ebx + 0x58], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x90], eax
call esi
mov dword [ebx + 0x94], eax
mov eax, ebx
call fcn.005611ae
ret 0x1c
Function at 0x4956e3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0xd4], 0
je 0x495752
xor ebx, ebx
cmp dword [esi + 0xcc], ebx
je 0x495752
cmp byte [esi + 0xf0], bl
jne 0x495752
cmp dword [esi + 0xec], 0xc7
je 0x495752
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xcc]
cmp eax, 0x1f4
jae 0x495725
mov al, 1
jmp 0x495754
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xcc]
cmp eax, 0x1388
jae 0x495752
cmp dword [esi + 0xec], 0x96
jg 0x49574e
cmp byte [esi + 0xf1], bl
je 0x49574e
mov bl, 1
mov al, bl
jmp 0x495754
xor al, al
pop esi
pop ebx
ret
Function at 0x4964b1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x30
mov eax, 0x5756fe
call fcn.00561213
mov ebx, ecx
mov edi, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
test edi, edi
je 0x4966ad
lea edx, [edi + 0x248]
mov ecx, esi
call fcn.00532cc0
test al, al
je 0x4966ad
cmp dword [edi + 0x3c8], 0xff
jne 0x4966ad
inc dword [edi + 0x498]
mov ecx, ebx
call fcn.00497d32
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 8], edx
je 0x49652b
mov eax, dword [ebx + 0x30]
mov dword [ebx + 8], edx
mov ecx, dword [esi + 0x10]
sub ecx, dword [ebx + 0x24]
test eax, eax
jne 0x496520
mov dword [ebx + 0x30], ecx
jmp 0x49652b
imul eax, eax, 7
add eax, ecx
shr eax, 3
mov dword [ebx + 0x30], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x32c]
cmp eax, 2
je 0x496541
cmp eax, 3
jne 0x4966ad
mov edi, 0x90
cmp word [esi + 0x14], di
jne 0x496637
mov eax, dword [esi + 0x20]
mov ecx, edx
sub eax, dword [esi + 0x1c]
sar eax, 4
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x496623
mov eax, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
add edi, eax
cmp dword [edx + 0x610], 0
je 0x496600
lea esi, [edx + 0x628]
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.005383c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 4]
call fcn.00450e8b
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4965b1
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x610]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x34]
sub eax, dword [edi + 4]
push eax
mov eax, dword [ebx]
push str._d___s
push str.response_seafile_source
push dword [eax + 0x610]
call fcn.00532424
add esp, 0x14
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401d84
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.005383d0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add eax, 0x10
inc ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
sar eax, 4
cmp ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x2c]
jb 0x49656b
mov edi, 0x90
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58c]
mov eax, dword [eax + 0x648]
mov dword [ecx + 0xe0], eax
mov ecx, dword [ebx]
mov eax, dword [esi + 0x18]
add dword [ecx + 0x520], eax
cmp dword [esi + 0x18], 0x32
setge al
mov byte [ebx + 0x5a], al
cmp dword [esi + 0x18], 0x32
jge 0x496656
mov byte [ebx + 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58c]
mov eax, dword [ebx + 0x14]
cmp eax, dword [ecx + 0xbc]
jge 0x49666f
cmp byte [ebx + 0x5a], 0
jne 0x49668a
mov dword [ebx + 0x2c], 0x493e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x49668a
mov dword [ebx + 0x28], 1
movzx eax, word [esi + 0x14]
cmp ax, di
jne 0x49669d
push dword [esi + 0x18]
push 0x592da0
jmp 0x4966a3
push eax
push 0x592dcc
push dword [ebx]
call fcn.0049acc8
add esp, 0xc
call fcn.005611c2
ret 4
Function at 0x4990bc
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575e79
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.005383c0
xor ebx, ebx
mov dword [esp + 0x2f8], ebx
cmp dword [edi + 0x610], ebx
jne 0x4992b2
mov ecx, dword [edi + 0x590]
lea eax, [esp + 0x4c]
push eax
call fcn.00442764
push str.network_log
mov edx, eax
mov byte [esp + 0x2fc], 1
lea ecx, [esp + 0x20]
call fcn.0044f143
pop ecx
push ebx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x300], 3
call fcn.00401d84
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x499190
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push ebx
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x58e758
lea edx, [esp + 0x20]
lea ecx, [esp + 0x80]
call fcn.0040a10d
lea ecx, [edi + 0x1f0]
mov byte [esp + 0x2fc], 4
push ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.004a1627
push str..p2p.log
mov edx, eax
mov byte [esp + 0x304], 5
lea ecx, [esp + 0x40]
call fcn.0044f143
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00401d84
push ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x300], 8
call fcn.00401d84
push 0x24c
lea eax, [esp + 0x9c]
mov dword [esp + 0x98], ebx
push ebx
push eax
call sub.MSVCR120.dll_memset
push str.P2PPerformanceLog.bin
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x5c]
call fcn.0040a10d
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x499234
mov eax, dword [eax]
lea ecx, [esp + 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0
push 1
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.00401d84
cmp ebx, 0xffffffff
je 0x499298
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x2f8], 9
test eax, eax
je 0x499289
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
cmovae ecx, dword [esp + 0x34]
push ecx
push ecx
mov ecx, eax
call fcn.005323a4
jmp 0x49928b
xor eax, eax
push ebx
mov dword [edi + 0x610], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00401d84
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00401d84
or dword [esp + 0x2f8], 0xffffffff
mov ecx, esi
call fcn.005383d0
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0055daac
mov esp, ebp
pop ebp
ret
Function at 0x49a6ec
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575f50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x32c], 4
mov dword [esp + 0xc], ebx
jne 0x49a73d
call fcn.0049f48c
jmp 0x49a823
call fcn.0049af80
cmp dword [esi + 0x594], ebx
je 0x49a75f
mov ecx, dword [esi + 0x594]
mov dword [esi + 0x594], ebx
test ecx, ecx
je 0x49a75f
call fcn.004a148a
mov ecx, esi
call fcn.0049f48c
cmp dword [esi + 0x32c], 4
je 0x49a823
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0049e4d7
lea edx, [esi + 0x258]
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x10]
call fcn.0040a660
test al, al
je 0x49a79f
cmp byte [esi + 0x5f4], 0
je 0x49a7ce
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
cmovae eax, dword [esp + 0x10]
push eax
call fcn.004077bf
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], 1
call fcn.00533397
test al, al
je 0x49a7ce
mov bl, 1
test byte [esp + 0xc], 1
je 0x49a7e2
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401d84
test bl, bl
je 0x49a815
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x49a817
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.00401d84
mov dword [esi + 0x3c8], ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0055daac
mov esp, ebp
pop ebp
ret
Function at 0x49f48c
Capabilities:
Delete file

Disassembly:
add ecx, 0x288
cmp dword [ecx + 0x14], 8
jb 0x49f49a
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x49f8b6
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x330], 6
mov ecx, dword [esi + 0x58c]
jne 0x49f8da
test ecx, ecx
je 0x49f8d2
push esi
call fcn.00483669
mov ecx, esi
pop esi
jmp fcn.0049f48c
test ecx, ecx
je 0x49f8e4
push esi
call fcn.00483540
mov ecx, esi
pop esi
jmp fcn.0049f3ff
Function at 0x49f8ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x34
mov eax, 0x576526
call fcn.00561213
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp + 8]
mov edx, 0x70000003
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
cmp dword [ebx + 0x40], 1
mov edi, dword [ebx + 0x248]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x30], edi
jne 0x49f9dc
cmp eax, 2
jle 0x49f9ae
and eax, reloc.WS2_32.dll_accept
jns 0x49f937
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x49f9ae
mov al, byte [ebx + 0xe]
cmp al, 0xff
je 0x49f9ae
test al, al
jne 0x49f9ae
cmp edi, edx
jne 0x49f99f
lea esi, [ecx + 0x64c]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 2
cmp eax, 2
jae 0x49f9ae
mov ecx, esi
call fcn.00442733
test al, al
je 0x49f9a6
mov eax, dword [ebx]
lea ecx, [esi + 8]
mov dword [ebp - 0x34], eax
mov edi, 0x71004001
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], edi
push eax
call fcn.0044e021
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x70000003
mov dword [esi], eax
test eax, eax
jne 0x49f9ae
mov dword [esi], 1
jmp 0x49f9ae
mov edi, edx
mov dword [ebp - 0x30], edi
jmp 0x49f9ae
mov ecx, dword [ebp - 0x2c]
mov edx, 0x70000003
cmp dword [ebx + 0x40], 1
jne 0x49f9dc
cmp edi, 0x71004001
jne 0x49f9dc
mov eax, dword [ecx + 0x590]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x49f9d1
mov eax, dword [eax + 0x9c]
jmp 0x49f9d3
xor eax, eax
cmp eax, 8
cmovge edi, edx
mov dword [ebp - 0x30], edi
mov dword [ebx + 0x24c], edi
cmp dword [ecx + 0x610], 0
je 0x49fa85
lea esi, [ecx + 0x628]
mov ecx, esi
mov dword [ebp - 0x40], esi
call fcn.005383c0
and dword [ebp - 4], 0
mov ecx, 0x593830
cmp edi, 0x70000003
mov eax, 0x593828
cmovne eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004077bf
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebx]
cmovae eax, dword [ebp - 0x28]
mov edi, dword [edi + 0x610]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x34]
sub eax, dword [edi + 4]
push ebx
push eax
mov eax, dword [ebp - 0x2c]
push str._d__userID__d___sendType__s_
push str.post_to_client
push dword [eax + 0x610]
call fcn.00532424
add esp, 0x18
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401d84
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.005383d0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ebx + 0xc]
push 0
push ecx
push ecx
push dword [ebp + 0x14]
mov ecx, dword [ecx + 0x590]
push dword [ebp - 0x3c]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push edi
call fcn.0044983f
call fcn.005611c2
ret 0x10
Function at 0x4a053f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x50
mov eax, 0x5765bd
call fcn.00561213
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x570]
mov ecx, edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], edi
call fcn.005383c0
and dword [ebp - 4], 0
lea edx, [ebx + 0x248]
lea ecx, [ebp - 0x44]
call fcn.00532cea
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0053357c
push eax
lea ecx, [esi + 4]
call fcn.0042cae5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401d3f
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00401d84
mov ecx, dword [ebx + 0x5f8]
call fcn.00534287
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x240]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x2c8]
cmp eax, 0xffffffff
jne 0x4a05d3
and dword [esi + 0x20], 0
jmp 0x4a05d9
shl eax, 0xa
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x58c]
mov al, byte [eax + 0x16d]
mov byte [esi], al
mov eax, dword [ebx + 0x15c]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x160]
mov dword [esi + 0x28], eax
mov ecx, dword [ebx + 0x548]
test ecx, ecx
jle 0x4a0610
imul eax, dword [ebx + 0x54c], 0x64
cdq
idiv ecx
mov dword [esi + 0x44], eax
mov ecx, dword [ebx + 0x680]
push 0xffffffffffffffff
call fcn.004a60f5
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x528]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x534]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x52c]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0x520]
mov dword [esi + 0x34], eax
mov ecx, dword [ebx + 0x534]
test ecx, ecx
jle 0x4a065b
imul eax, dword [ebx + 0x524], 0x64
cdq
idiv ecx
mov dword [esi + 0x40], eax
lea eax, [esi + 0x58]
mov ecx, ebx
push eax
call fcn.00495ad3
mov eax, dword [ebx + 0x58c]
mov ecx, dword [eax + 0x2d0]
mov eax, dword [eax + 0x2d4]
mov dword [ebp - 0x58], eax
shl ecx, 0xa
mov dword [esi + 0x78], ecx
mov eax, dword [ebx + 0x4c8]
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 0x500]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x198]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x19c]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x550]
mov dword [esi + 0x84], eax
add esi, 0x88
mov ecx, dword [ebx + 0x680]
push esi
call fcn.004a6308
mov eax, dword [ebp - 0x48]
mov esi, dword [esi]
cmp esi, dword [eax + 0x8c]
je 0x4a0726
mov edi, dword [ebp - 0x4c]
mov ebx, eax
cmp byte [esi + 0x14], 0
je 0x4a0715
movzx eax, byte [esi + 0x15]
cmp eax, 0xffffffff
je 0x4a0715
cmp dword [esi + 0x10], 0
je 0x4a0715
cmp dword [esi + 0x18], 0
jne 0x4a0715
push esi
lea eax, [ebp - 0x58]
lea ebx, [edi + 0x684]
push eax
mov ecx, ebx
call fcn.0045a17b
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebx]
mov ebx, dword [ebp - 0x48]
je 0x4a0715
mov al, byte [eax + 0x14]
mov byte [esi + 0x1d], al
add esi, 0x24
cmp esi, dword [ebx + 0x8c]
jne 0x4a06d8
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov byte [ebx + 0x68c], 1
call fcn.005383d0
call fcn.005611c2
ret 4