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

Disassembly:
push 0x7c
mov eax, 0x574fca
call fcn.005635af
mov dword [ebp - 0x80], ecx
mov esi, dword [ebp + 0x10]
lea ebx, [ecx + 0x14]
mov ecx, ebx
mov dword [ebp - 0x88], ebx
call fcn.0053a750
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 0x47db5e
cmp dword [esi], eax
ja 0x47db5e
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 0x47db40
push ecx
mov ecx, esi
call fcn.0047e6a2
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 0x47db56
push eax
call fcn.0040b258
mov eax, dword [ebp - 0x80]
add dword [esi + 4], eax
jmp 0x47db83
cmp ecx, dword [esi + 8]
jne 0x47db6b
push ecx
mov ecx, esi
call fcn.0047e6a2
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x47db7f
lea eax, [ebp - 0x78]
push eax
call fcn.0040b258
add dword [esi + 4], 0x68
xor esi, esi
cmp dword [edi + 0xb0], esi
jne 0x47dbb0
push esi
push esi
push edi
push 0x47dbd2
push esi
push esi
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x47dbaa
mov dword [edi + 0xb0], eax
cmp dword [edi + 0xb0], esi
lea ecx, [ebp - 0x78]
setne byte [ebp - 0x79]
call fcn.00408b5b
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0053a760
mov al, byte [ebp - 0x79]
call fcn.0056355e
ret 0x10
Function at 0x47fa7d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x168], al
jne 0x47fa95
mov al, 1
jmp 0x47fb95
push ebx
test al, al
je 0x47fb59
mov dword [esi + 0x248], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [esi + 0x24c], eax
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x318], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x320], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push ebx
push ebx
mov dword [esi + 0x2fc], eax
mov eax, dword [esi + 0x88]
push esi
push 0x480210
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 0x47fb55
mov byte [esi + 0x168], 1
mov dword [esi + 0x2f8], eax
jmp 0x47fb92
xor al, al
jmp 0x47fb94
xor ebx, ebx
mov dword [esi + 0x248], ebx
mov eax, dword [esi + 0x88]
mov dword [esi], ebx
push 0xffffffffffffffff
mov dword [eax + 0x30], ebx
push dword [esi + 0x2f8]
mov byte [esi + 0x168], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x2f8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2f8], ebx
mov al, 1
pop ebx
pop esi
pop ebp
ret 4
Function at 0x485348
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 0x48539f
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 0x4855d8
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 0x485662
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, eax
sub edi, dword [esi + 0x14]
cmp edi, 0x64
jb 0x485651
call ebx
push 0
mov ebx, 0x3e8
mov dword [esi + 0x14], eax
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.005603f0
push 0
push edi
push edx
push eax
call fcn.00560340
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.005603f0
push 0
push edi
push edx
push eax
call fcn.00560340
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 0x48565b
mov byte [esi + 0xc], 0
mov ecx, esi
call fcn.00485669
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49248b
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x57786d
call fcn.0056357c
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.00407617
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 0x49252d
mov eax, dword [edi]
jmp 0x49252f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4925d0
push 0x44
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
pop ecx
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x492576
lea ecx, [ebp + 0xc]
call fcn.004b0492
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x10], 1
push dword [eax]
call fcn.004b1c4a
mov ecx, eax
xor esi, esi
jmp 0x49257a
xor esi, esi
mov ecx, esi
mov dword [ebp - 4], 4
mov eax, dword [ebx + 0x5c]
mov dword [ebp + 8], eax
mov dword [ebx + 0x5c], ecx
test eax, eax
je 0x49259f
mov ecx, eax
call fcn.004b1cb8
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
mov dword [ebp - 4], 1
test byte [ebp - 0x10], 1
je 0x4925b9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4925b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi + 0x14], 8
jb 0x4925c1
mov edi, dword [edi]
mov ecx, dword [ebx + 0x5c]
push 1
push 0x21
push edi
call fcn.004b1d13
jmp 0x4925d2
xor esi, esi
mov dword [ebp + 0x14], esi
cmp dword [ebx + 0x5c], esi
je 0x49260f
cmp dword [ebx + 0x8c], 2
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x54]
push esi
push 0x400
jne 0x4925fb
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.00560340
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.0056354a
ret 0x1c
Function at 0x494865
Capabilities:
Check for time delay via gettickcount

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

Disassembly:
push 0x30
mov eax, 0x577e22
call fcn.005635af
mov edi, ecx
mov esi, dword [edi]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x495838
lea edx, [esi + 0x248]
mov ecx, ebx
call fcn.00534e44
test al, al
je 0x495838
cmp dword [esi + 0x3c8], 0xff
jne 0x495838
inc dword [esi + 0x498]
mov ecx, edi
call fcn.00496ed0
xor edx, edx
mov dword [edi + 0x34], edx
cmp dword [edi + 8], edx
je 0x4956b4
mov eax, dword [edi + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [edi + 0x24]
test eax, eax
jne 0x4956a9
mov dword [edi + 0x30], ecx
jmp 0x4956b4
imul eax, eax, 7
add eax, ecx
shr eax, 3
mov dword [edi + 0x30], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x32c]
cmp eax, 2
je 0x4956ca
cmp eax, 3
jne 0x495838
mov esi, 0x90
cmp word [ebx + 0x14], si
jne 0x4957c2
mov eax, dword [ebx + 0x20]
mov ecx, edx
sub eax, dword [ebx + 0x1c]
sar eax, 4
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x4957ae
mov eax, edx
mov dword [ebp - 0x30], edx
mov edx, dword [edi]
mov esi, dword [ebx + 0x1c]
add esi, eax
cmp dword [edx + 0x610], 0
je 0x49578b
lea eax, [edx + 0x628]
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.0053a750
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 4]
call fcn.0045022a
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x49573a
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x610]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x38]
sub eax, dword [esi + 4]
push eax
mov eax, dword [edi]
push str._d___s
push str.response_seafile_source
push dword [eax + 0x610]
call fcn.005341e9
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401d04
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
call fcn.0053a760
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
add eax, 0x10
inc ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
sar eax, 4
cmp ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x30]
jb 0x4956f4
mov esi, 0x90
mov eax, dword [edi]
mov ecx, dword [eax + 0x58c]
mov eax, dword [eax + 0x648]
mov dword [ecx + 0xe0], eax
mov ecx, dword [edi]
mov eax, dword [ebx + 0x18]
add dword [ecx + 0x520], eax
cmp dword [ebx + 0x18], 0x32
setge al
mov byte [edi + 0x5a], al
cmp dword [ebx + 0x18], 0x32
jge 0x4957e1
mov byte [edi + 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x58c]
mov eax, dword [edi + 0x14]
cmp eax, dword [ecx + 0xbc]
jge 0x4957fa
cmp byte [edi + 0x5a], 0
jne 0x495815
mov dword [edi + 0x2c], 0x493e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x495815
mov dword [edi + 0x28], 1
movzx eax, word [ebx + 0x14]
cmp ax, si
jne 0x495828
push dword [ebx + 0x18]
push 0x596550
jmp 0x49582e
push eax
push 0x59657c
push dword [edi]
call fcn.00499ece
add esp, 0xc
call fcn.0056355e
ret 4
Function at 0x498263
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5785b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
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.0053a750
xor ebx, ebx
mov dword [esp + 0x2f8], ebx
cmp dword [edi + 0x610], ebx
jne 0x498459
mov ecx, dword [edi + 0x590]
lea eax, [esp + 0x4c]
push eax
call fcn.00441a74
push str.network_log
mov edx, eax
mov byte [esp + 0x2fc], 1
lea ecx, [esp + 0x20]
call fcn.0044e51a
pop ecx
push ebx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x300], 3
call fcn.00401d04
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 0x498337
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 0x591f08
lea edx, [esp + 0x20]
lea ecx, [esp + 0x80]
call fcn.00409fe6
lea ecx, [edi + 0x1f0]
mov byte [esp + 0x2fc], 4
push ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.004a08d3
push str..p2p.log
mov edx, eax
mov byte [esp + 0x304], 5
lea ecx, [esp + 0x40]
call fcn.0044e51a
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00401d04
push ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x300], 8
call fcn.00401d04
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.00409fe6
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4983db
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.00401d04
cmp ebx, 0xffffffff
je 0x49843f
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 0x498430
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
cmovae ecx, dword [esp + 0x34]
push ecx
push ecx
mov ecx, eax
call fcn.00534115
jmp 0x498432
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.00401d04
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00401d04
or dword [esp + 0x2f8], 0xffffffff
mov ecx, esi
call fcn.0053a760
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.0055fedc
mov esp, ebp
pop ebp
ret
Function at 0x4998ce
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5786dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x5ca1c8]
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 0x49991f
call fcn.0049e6fd
jmp 0x499a05
call fcn.0049a198
cmp dword [esi + 0x594], ebx
je 0x499941
mov ecx, dword [esi + 0x594]
mov dword [esi + 0x594], ebx
test ecx, ecx
je 0x499941
call fcn.004a070f
mov ecx, esi
call fcn.0049e6fd
cmp dword [esi + 0x32c], 4
je 0x499a05
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0049d748
lea edx, [esi + 0x258]
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x10]
call fcn.0040a539
test al, al
je 0x499981
cmp byte [esi + 0x5f4], 0
je 0x4999b0
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
cmovae eax, dword [esp + 0x10]
push eax
call fcn.0040763f
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], 1
call fcn.0053557d
test al, al
je 0x4999b0
mov bl, 1
test byte [esp + 0xc], 1
je 0x4999c4
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401d04
test bl, bl
je 0x4999f7
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 0x4999f9
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.00401d04
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.0055fedc
mov esp, ebp
pop ebp
ret
Function at 0x49e6fd
Capabilities:
Delete file

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

Function at 0x49ec6f
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x330], 6
mov ecx, dword [esi + 0x58c]
jne 0x49ec93
test ecx, ecx
je 0x49ec8b
push esi
call fcn.00482871
mov ecx, esi
pop esi
jmp fcn.0049e6fd
test ecx, ecx
je 0x49ec9d
push esi
call fcn.00482748
mov ecx, esi
pop esi
jmp fcn.0049e670
Function at 0x49eca5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x34
mov eax, 0x578d2b
call fcn.005635af
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 0x49ed95
cmp eax, 2
jle 0x49ed67
and eax, reloc.WS2_32.dll_accept
jns 0x49ecf0
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x49ed67
mov al, byte [ebx + 0xe]
cmp al, 0xff
je 0x49ed67
test al, al
jne 0x49ed67
cmp edi, edx
jne 0x49ed58
lea esi, [ecx + 0x64c]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 2
cmp eax, 2
jae 0x49ed67
mov ecx, esi
call fcn.00441a43
test al, al
je 0x49ed5f
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.0044d3b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x70000003
mov dword [esi], eax
test eax, eax
jne 0x49ed67
mov dword [esi], 1
jmp 0x49ed67
mov edi, edx
mov dword [ebp - 0x30], edi
jmp 0x49ed67
mov ecx, dword [ebp - 0x2c]
mov edx, 0x70000003
cmp dword [ebx + 0x40], 1
jne 0x49ed95
cmp edi, 0x71004001
jne 0x49ed95
mov eax, dword [ecx + 0x590]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x49ed8a
mov eax, dword [eax + 0x9c]
jmp 0x49ed8c
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 0x49ee42
lea esi, [ecx + 0x628]
mov ecx, esi
mov dword [ebp - 0x40], esi
call fcn.0053a750
and dword [ebp - 4], 0
mov ecx, 0x596fe0
cmp edi, 0x70000003
mov eax, 0x596fd8
cmovne eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040763f
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.005341e9
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401d04
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0053a760
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.00448ba5
call fcn.0056355e
ret 0x10
Function at 0x49f8ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x50
mov eax, 0x578dc2
call fcn.005635af
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.0053a750
and dword [ebp - 4], 0
lea edx, [ebx + 0x248]
lea ecx, [ebp - 0x44]
call fcn.00534e6e
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00535850
push eax
lea ecx, [esi + 4]
call fcn.0042bcde
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401cbf
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00401d04
mov ecx, dword [ebx + 0x5f8]
call fcn.0053662c
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x240]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x2c8]
cmp eax, 0xffffffff
jne 0x49f95e
and dword [esi + 0x20], 0
jmp 0x49f964
shl eax, 0xa
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x58c]
mov al, byte [eax + 0x161]
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 0x49f99b
imul eax, dword [ebx + 0x54c], 0x64
cdq
idiv ecx
mov dword [esi + 0x44], eax
mov ecx, dword [ebx + 0x680]
push 0xffffffffffffffff
call fcn.004a54c5
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 0x49f9e6
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.00494c5f
mov eax, dword [ebx + 0x58c]
mov ecx, dword [eax + 0x288]
mov eax, dword [eax + 0x28c]
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.004a56d8
mov eax, dword [ebp - 0x48]
mov esi, dword [esi]
cmp esi, dword [eax + 0x8c]
je 0x49fab1
mov edi, dword [ebp - 0x4c]
mov ebx, eax
cmp byte [esi + 0x14], 0
je 0x49faa0
movzx eax, byte [esi + 0x15]
cmp eax, 0xffffffff
je 0x49faa0
cmp dword [esi + 0x10], 0
je 0x49faa0
cmp dword [esi + 0x18], 0
jne 0x49faa0
push esi
lea eax, [ebp - 0x58]
lea ebx, [edi + 0x684]
push eax
mov ecx, ebx
call fcn.0045946b
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebx]
mov ebx, dword [ebp - 0x48]
je 0x49faa0
mov al, byte [eax + 0x14]
mov byte [esi + 0x1d], al
add esi, 0x24
cmp esi, dword [ebx + 0x8c]
jne 0x49fa63
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.0053a760
call fcn.0056355e
ret 4