joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c86b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c86d8
cmp byte [esi + 0x17f0], al
jne 0x4c86d8
cmp byte [esi + 0x17f1], al
jne 0x4c86d8
lea ebp, [eax + 1]
lea ebx, [esi + 0x20]
call fcn.004d1730
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0xc5
push ecx
call edi
mov edx, dword [esi + 4]
push 0xc6
push edx
call edi
mov eax, dword [esi + 4]
push 0
push ebp
push 0x68c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push ecx
mov byte [esi + 0x17f3], 1
call edi
push 0x626780
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0x4c7
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 6
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 7
push ecx
call edi
push 0
push eax
call ebx
pop edi
pop ebp
pop ebx
ret 4

Function at 0x4c8a65
Capabilities:
Hide graphical window

Disassembly:
cmp eax, 0x404
push esi
mov esi, ecx
jg 0x4c8b0c
je 0x4c8ac7
cmp eax, 0x202
jl 0x4c8b71
cmp eax, 0x203
jle 0x4c8a8d
cmp eax, 0x205
jne 0x4c8b71
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 4]
push 0
push 0x12c
push 0x66f
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 4]
push 0x68c
push eax
jmp 0x4c8b6b
cmp byte [esi + 0x17f4], 0
jne 0x4c8afa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x17e4]
cmp eax, 0x1374
ja 0x4c8afa
cmp byte [esi + 0x17f3], 0
mov byte [esi + 0x17f0], 0
je 0x4c8afa
push 1
call fcn.004c8770
mov ecx, dword [esi + 4]
push 0x6a2
mov byte [esi + 0x17f4], 0
push ecx
jmp 0x4c8b6b
cmp eax, 0x405
jne 0x4c8b71
cmp byte [esi + 0x17f3], 0
je 0x4c8b36
push 1
call fcn.004c8770
mov eax, dword [esp + 8]
mov dword [eax], 0
mov eax, 1
pop esi
ret 4
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 4]
push 0
push 0x12c
push 0x66f
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 4]
push 0x68c
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esp + 8]
mov dword [eax], 0
mov eax, 1
pop esi
ret 4
Function at 0x4c9100
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5fbb90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, edx
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
call fcn.00409dd0
mov dword [esp + 0x1c], 0
mov ecx, dword [ebx + 0x1428]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push ecx
call esi
mov edx, dword [ebx + 0x1430]
push 1
push edx
call esi
mov eax, dword [ebx + 0x142c]
push 0
push eax
call esi
cmp edi, 0xffffffff
je 0x4c917d
mov ecx, dword [ebx + 0x1430]
push 0
push edi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x24]
push edx
call fcn.004c8fa0
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0x16
jle 0x4c91e7
mov eax, 0x14
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
call fcn.0041a270
lea edi, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.0040ab90
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c91d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 3
push 0x629f88
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040aee0
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x1428]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4c9240
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
mov eax, dword [ebx + 0x1428]
push 0
push eax
call esi
mov ecx, dword [ebx + 0x1430]
push 0
push ecx
call esi
mov edx, dword [ebx + 0x142c]
push 1
push edx
call esi
mov eax, dword [ebx + 0x142c]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.004c8fa0
pop esi
pop ebx
ret
Function at 0x4cc000
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, eax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*4]
sub ecx, eax
neg ecx
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 0xc
sub ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
push ecx
xor esi, esi
call fcn.005d3435
add esp, 4
cmp ebx, 2
mov ecx, eax
jle 0x4cc0ea
lea edx, [ebx - 3]
mov eax, 0xaaaaaaab
mul edx
push ebp
mov ebp, edx
shr ebp, 1
add ebp, 1
lea eax, [ebp*4]
sub eax, ebp
neg eax
add ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x4cc080
movzx eax, byte [edi]
movzx ebx, byte [edi + 1]
mov edx, eax
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], dl
and eax, 3
shl eax, 4
mov edx, ebx
shr edx, 4
movzx eax, byte [edx + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 1], al
movzx eax, byte [edi + 2]
add esi, 1
mov edx, eax
shr edx, 6
and ebx, 0xf
movzx edx, byte [edx + ebx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add esi, 1
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], dl
add esi, 1
mov byte [ecx + esi], al
add esi, 1
add edi, 3
sub ebp, 1
jne 0x4cc080
mov ebx, dword [esp + 0x14]
pop ebp
test ebx, ebx
je 0x4cc14c
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ecx + esi], dl
add esi, 1
shl eax, 4
cmp ebx, 1
jle 0x4cc132
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
add esi, 1
and edx, 0xf
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], dl
jmp 0x4cc142
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
add esi, 1
mov byte [ecx + esi], 0x3d
add esi, 1
mov byte [ecx + esi], 0x3d
add esi, 1
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [ecx + esi], 0
je 0x4cc15a
mov dword [eax], esi
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x4cc2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fa322
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.005ef960
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x1054]
mov dword fs:[0], eax
xor ebx, ebx
push 0x2e
lea eax, [esp + 0x25]
mov dword [esp + 0x1060], ebx
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [esp + 0x24], ebx
call fcn.005da970
add esp, 0xc
mov byte [esp + 0x20], 1
mov byte [esp + 0x25], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
push eax
call ebp
mov ecx, dword [esp + 0x1068]
push ecx
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], ebx
call ebp
push ebx
push ebx
push 0x20
lea edx, [esp + 0x3b]
push edx
push 0xffffffffffffffff
push esi
push ebx
push ebx
mov dword [esp + 0x41], eax
mov byte [esp + 0x4e], 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfff
lea eax, [esp + 0x55]
push ebx
push eax
mov byte [esp + 0x5c], bl
call fcn.005da970
push str.3478hfFAF__abac
lea ecx, [esp + 0x30]
push 0x2f
push ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x68]
mov dword [esp + 0x2c], 0x1000
call fcn.004927b0
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x1064]
mov dword [esp + 0x105c], ebx
mov edx, dword [ecx*4 + 0x620f58]
push edx
push str.__s_
mov dword [esp + 0x20], 1
call fcn.004ce3a0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.004cc000
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x4cc44c
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4cc430
sub eax, edx
push eax
push esi
push edi
call fcn.0044c560
push esi
call fcn.005d2367
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1054]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x103c]
xor ecx, esp
call fcn.005d28b3
add esp, 0x104c
ret
Function at 0x4cc890
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push str.CAsyncTcpClient::Close
xor ebx, ebx
push str.Enter__s
mov dword [esi + 0x108], ebx
call fcn.00501f90
mov eax, dword [esi + 0x80]
push eax
call fcn.005d2367
add esp, 0xc
mov dword [esi + 0x80], ebx
push 1
mov eax, esi
mov dword [esi + 0x84], ebx
call fcn.00502500
mov eax, dword [esi + 0x178]
cmp eax, ebx
je 0x4cc8f8
push eax
call fcn.005d27e0
add esp, 4
mov dword [esi + 0x178], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x17c], ebx
mov eax, dword [esi + 0x170]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4cc911
push eax
call edi
mov dword [esi + 0x170], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x4cc93c
push eax
call fcn.005d27e0
add esp, 4
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xa8], ebx
mov eax, dword [esi + 0x198]
cmp eax, ebx
je 0x4cc94f
push eax
call edi
mov dword [esi + 0x198], ebx
cmp dword [esp + 0xc], ebx
je 0x4cc977
mov eax, dword [esi + 0x194]
cmp dword [eax - 0xc], ebx
lea edi, [esi + 0x194]
je 0x4cc977
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x6244e0
call fcn.00403760
pop edi
pop ebx
ret 4
Function at 0x4cd820
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x178]
push edi
xor edi, edi
cmp eax, edi
je 0x4cd856
push eax
call fcn.005d27e0
add esp, 4
mov dword [esi + 0x178], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x17c], edi
mov eax, dword [esi + 0x170]
cmp eax, edi
je 0x4cd86d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x170], edi
mov eax, dword [esp + 0x34]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4cd8b0
call fcn.0040f010
mov ebp, eax
cmp ebp, edi
jge 0x4cd8b6
push 1
call fcn.004cc890
mov eax, ebp
and eax, 0xffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x1c
mov dword [esi + 0x170], eax
mov edx, dword [esi + 0x170]
lea ecx, [esp + 0x14]
push ecx
push edx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4cd8e0
call fcn.0040f010
test eax, eax
jl 0x4cd8e6
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebx
push edi
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push esi
call fcn.004cd2f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x1c
Function at 0x4cd9e0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.005ef960
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esi + 0x148]
mov ecx, dword [eax - 0xc]
push ebx
push edi
lea edi, [esi + 0x148]
xor ebx, ebx
cmp ecx, ebx
jle 0x4cda42
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, ebx
jne 0x4cdbe3
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
cdq
add dword [esi + 0x168], eax
mov ebx, edi
adc dword [esi + 0x16c], edx
mov edx, 0x626e46
call fcn.00415260
xor ebx, ebx
cmp byte [esi + 0x76], bl
push ebp
jne 0x4cdb38
lea esp, [esp]
mov edx, dword [esi + 0x15c]
cmp edx, dword [esi + 0x154]
ja 0x4cdb38
jb 0x4cda76
mov eax, dword [esi + 0x158]
cmp eax, dword [esi + 0x150]
jae 0x4cdb38
mov eax, dword [esi + 0x170]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x4cdaa6
push ebx
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4cdaf2
call fcn.0040f010
jmp 0x4cdaf2
mov ebp, dword [esi + 0x184]
mov eax, dword [esi + 0x180]
xor edi, edi
cmp ebp, eax
ja 0x4cdaee
mov edi, eax
sub edi, ebp
cmp edi, 0x1000
jb 0x4cdacb
mov edi, 0x1000
jmp 0x4cdacf
cmp edi, ebx
jbe 0x4cdaee
mov eax, dword [esi + 0x178]
push edi
add eax, ebp
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.005d8ed0
add esp, 0xc
add ebp, edi
mov dword [esi + 0x184], ebp
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
jbe 0x4cdb38
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
cmp eax, ebx
jne 0x4cdbe2
mov eax, dword [esp + 0xc]
xor ecx, ecx
add dword [esi + 0x168], eax
adc dword [esi + 0x16c], ecx
add dword [esi + 0x158], eax
adc dword [esi + 0x15c], ecx
cmp byte [esi + 0x76], bl
je 0x4cda50
mov eax, dword [esi + 0x15c]
cmp eax, dword [esi + 0x154]
jb 0x4cdbe0
ja 0x4cdb5e
mov ecx, dword [esi + 0x158]
cmp ecx, dword [esi + 0x150]
jb 0x4cdbe0
mov eax, dword [esi + 0x170]
cmp eax, ebx
je 0x4cdb75
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x170], ebx
mov eax, dword [esi + 0x178]
cmp eax, ebx
je 0x4cdba0
push eax
call fcn.005d27e0
add esp, 4
mov dword [esi + 0x178], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x17c], ebx
mov eax, dword [esi + 0x14c]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
lea edi, [esi + 0x14c]
jle 0x4cdbe0
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, ebx
jne 0x4cdbe2
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
cdq
add dword [esi + 0x168], eax
mov ebx, edi
adc dword [esi + 0x16c], edx
mov edx, 0x626e46
call fcn.00415260
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x100c]
pop edi
pop ebx
xor ecx, esp
call fcn.005d28b3
add esp, 0x1008
ret
Function at 0x4ce930
Capabilities:
Get common file path

Disassembly:
push ebx
push 0x6244e0
xor ebx, ebx
mov eax, esi
call fcn.004037a0
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x106
or ecx, edx
pop ebx
jge 0x4ce966
mov ecx, 0x106
mov eax, esi
call fcn.00403540
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi]
mov ecx, 0x104
cmp dword [eax - 8], ecx
jl 0x4ce9ca
mov dword [eax - 0xc], ecx
mov eax, dword [esi]
mov word [eax + 0x208], 0
mov edx, dword [esi]
test edx, edx
jne 0x4ce99f
xor eax, eax
jmp 0x4ce9b7
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ce9a5
sub eax, edi
sar eax, 1
pop edi
js 0x4ce9ca
cmp eax, dword [edx - 8]
jg 0x4ce9ca
mov dword [edx - 0xc], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], 0
mov eax, esi
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x4ce9e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5fcc48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x28]
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
test esi, esi
mov dword [esp + 0x20], 0
jne 0x4cea31
xor eax, eax
jmp 0x4cea45
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cea36
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x2c]
call fcn.004037a0
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4cea84
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4ceb03
cmp ecx, eax
jg 0x4ceb03
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4cea84
push 0x5c
lea edi, [esp + 0x2c]
call fcn.0040af90
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.SyncCache
call fcn.0040aab0
add esp, 8
lea edi, [ebp + 8]
mov byte [esp + 0x20], 1
call fcn.0040ab90
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ceacd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x5c
call fcn.0040af90
lea ecx, [esp + 0x14]
push edi
push ecx
mov ebx, str.Cache.ini
call fcn.0040aab0
add esp, 8
mov byte [esp + 0x20], 2
mov edx, dword [eax]
test edx, edx
jne 0x4ceb0d
xor eax, eax
jmp 0x4ceb21
push 0x80070057
call fcn.00403650
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ceb12
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
mov eax, ebp
call fcn.004037a0
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4ceb3e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 4], ebx
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ceb62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ceb8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4cf2e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5f8fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cf323
sub eax, edi
sar eax, 1
add eax, eax
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00492680
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x30], ebx
mov ecx, 1
mov dword [esp + 0xc], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x30
or eax, ecx
jge 0x4cf37e
mov ecx, 0x30
mov eax, esi
call fcn.00403540
mov eax, dword [esi]
mov edi, 0x28
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov eax, dword [esi]
cmp dword [eax - 8], edi
jl 0x4cf3ef
mov dword [eax - 0xc], edi
mov edx, dword [esi]
mov word [edx + 0x50], bx
mov edx, dword [esi]
cmp edx, ebx
jne 0x4cf3ac
xor eax, eax
jmp 0x4cf3c2
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cf3b1
sub eax, edi
sar eax, 1
js 0x4cf3ef
cmp eax, dword [edx - 8]
jg 0x4cf3ef
mov dword [edx - 0xc], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], bx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005d28b3
add esp, 0x28
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x4d0050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fcb18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x30]
push eax
mov ecx, str.Files_
call fcn.00409dd0
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x34]
call fcn.004cf2e0
mov byte [esp + 0x28], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0040aee0
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d00f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
xor esi, esi
xor edx, edx
or eax, esi
push eax
or edx, ecx
push edx
push str._I64u
lea edi, [esp + 0x20]
call fcn.0040ac80
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov esi, ebp
call fcn.0050eb20
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
push eax
push esi
push str.LastUpdate
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d016a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8