joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
lea esi, [ebp - 0x1c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push str._360seup_manual_
call fcn.0048c410
cmp byte [esi + 0xb], 0
jns 0x411ac6
mov esi, dword [ebp - 0x1c]
push esi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x411b64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x411aed
xor esi, esi
inc esi
jmp 0x411b66
lea ebx, [ebp - 0x28]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
push 0x8f0
push ebx
call fcn.004162d0
add esp, 8
cmp byte [ebx + 0xb], 0
jns 0x411b0f
mov ebx, dword [ebp - 0x28]
xor eax, eax
push ebx
push eax
push eax
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x411b4c
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x411b35
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1d], 0
jns 0x411b64
push dword [ebp - 0x28]
call fcn.0045702d
add esp, 4
xor esi, esi
cmp byte [ebp - 0x11], 0
jns 0x411b77
push dword [ebp - 0x1c]
call fcn.0045702d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x214], esi
mov eax, dword [ecx]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x230], ecx
or ecx, 0x2001f
lea edi, [ebp - 0x210]
mov dword [edi], esi
push edi
push ecx
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x413899
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ebx, dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x230]
and ecx, 0x300
mov dword [eax + 4], ecx
xor eax, eax
dec eax
lea ecx, [ebp - 0x224]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp - 0x228]
mov dword [eax], 0x100
push 0x200
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x413923
lea ecx, [ebp - 0x21c]
push edi
call fcn.00413830
test eax, eax
jne 0x413956
mov dword [ebp - 0x228], 0x100
mov ebx, dword [ebp - 0x21c]
jmp 0x4138e3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x41393e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x22c]
push dword [ebp + 8]
call fcn.00413f30
mov ebx, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x413880
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413880
Function at 0x414c60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x814
mov esi, ecx
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x820]
movdqu xmmword [eax], xmm0
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [ebp - 0x810]
push 0x800
push 0
push edi
call fcn.00460af0
add esp, 0xc
push dword [esi + 0x64]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x400
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x414d3b
lea ebx, [ebp + 8]
push 1
push dword [ebx]
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
push eax
push eax
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebx]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test byte [esi + 0x44], 4
je 0x414d0f
xor eax, eax
inc eax
push eax
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x68]
sub dword [ebp - 0x81c], eax
push 0x25
lea eax, [ebp - 0x820]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_DrawTextW]
push edi
push dword [ebx]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x814
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4162d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movsd qword [edi], xmm0
mov dword [edi + 8], 0
mov eax, dword [0x4ea690]
cmp eax, 0x4ea694
jne 0x4163e5
mov ecx, dword [0x4e9688]
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
mov dword [ebp - 0x20], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x416387
mov ebx, eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416387
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416387
mov edi, eax
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and esi, 0xf
je 0x416378
test eax, eax
jle 0x416378
mov edx, edi
add edx, eax
dec esi
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
cmp edi, edx
setb cl
add esi, 0xffffffff
jae 0x416378
cmp edi, edx
jb 0x416361
test cl, cl
je 0x416387
movzx eax, word [edi]
test eax, eax
je 0x416387
test edi, edi
jne 0x4163fc
call fcn.004b36f0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [eax + 0x14]
cmp ecx, edi
je 0x41638f
cmp byte [eax + 0x1f], 0
js 0x4163c0
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ecx]
movsd qword [edi], xmm0
jmp 0x41638f
mov ecx, edi
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.0042a130
jmp 0x41638f
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x4163cf
mov eax, ecx
cmp ecx, 0x4ea694
je 0x416307
cmp dword [eax + 0x10], esi
je 0x4163a3
mov edx, dword [eax + 4]
test edx, edx
jne 0x4163cf
mov ecx, dword [eax + 8]
cmp dword [ecx], eax
mov eax, ecx
jne 0x4163f1
jmp 0x4163d7
add edi, 2
lea ecx, [ebp - 0x1c]
push eax
push edi
call fcn.0048d8a0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x41641c
push dword [edi]
call fcn.0045702d
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
jmp 0x4163ba
Function at 0x416970
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push str.360se6
push 0x4d21ee
push 0x103
push 0x4ea6a2
call fcn.0048d990
add esp, 0x10
cmp word [0x4ed8bc], 0
jne 0x4169e0
xor edi, edi
lea esi, [ebp - 0x218]
push 0x208
push edi
push esi
call fcn.00460af0
add esp, 0xc
mov ebx, 0x104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x4ed8bc
push esi
call fcn.00417030
add esp, 0xc
push 0x4ed8bc
push 0x4d21ee
push 0x103
push 0x4ea8aa
call fcn.0048d990
add esp, 0x10
cmp word [0x4ed8bc], 0
jne 0x416a3a
xor edi, edi
lea esi, [ebp - 0x218]
push 0x208
push edi
push esi
call fcn.00460af0
add esp, 0xc
mov ebx, 0x104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x4ed8bc
push esi
call fcn.00417030
add esp, 0xc
mov esi, dword [ebp + 8]
mov ebx, 0x4d21ee
mov edi, 0x103
push 0x4ed8bc
push ebx
push edi
push 0x4eaab2
call fcn.0048d990
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push ebx
push edi
push 0x4eacba
call fcn.0048d990
add esp, 0x10
call fcn.00416b80
push 0x4edac4
push ebx
push edi
push 0x4ebaf2
call fcn.0048d990
add esp, 0x10
cmp word [0x4ed3b4], 0
jne 0x416ae9
lea esi, [ebp - 0x214]
push 0x110
push 0
push esi
call fcn.00460af0
add esp, 0xc
mov dword [esi - 4], 0x114
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x416ae6
lea eax, [ebp - 0x204]
push eax
push dword [eax - 8]
push dword [eax - 0xc]
push dword [eax - 0x10]
push str._d._d._d__s
push 0x7f
push 0x4ed3b4
call fcn.0048d990
add esp, 0x1c
mov esi, dword [ebp + 8]
push 0x4ed3b4
push ebx
push edi
push 0x4eb6e2
call fcn.0048d990
add esp, 0x10
call fcn.00416c60
push 0x4ed4b4
push ebx
push edi
push 0x4ebf02
call fcn.0048d990
add esp, 0x10
call fcn.00416d30
push 0x4ed5b4
push ebx
push edi
push 0x4ebcfa
call fcn.0048d990
add esp, 0x10
push dword [esi]
push 0x4d21f4
push edi
push 0x4eb2d2
call fcn.0048d990
add esp, 0x10
push esi
call fcn.00416e40
add esp, 4
push 0x104
push 0x4eb8ea
call fcn.00416f80
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor esi, esi
lea edi, [ebp - 0x10]
mov dword [edi], esi
push edi
push 1
push esi
push str.SOFTWAREMacromediaFlashPlayer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [edi]
test eax, eax
cmove esi, ecx
je 0x416bf7
push str.0.0.0.0
push 0x80
push 0x4edac4
call fcn.0047b678
add esp, 0xc
mov word [0x4edbc2], 0
test esi, esi
je 0x416be1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0045901d
mov eax, 0x4edac4
add esp, 0xc
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [eax], 0x100
push eax
push 0x4edac4
push edi
push 0
push str.CurrentVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416bb6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
cmp eax, 0xfffffffe
jb 0x416bb6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x416c46
test al, 1
jne 0x416bb6
cmp word [eax + 0x4edac2], 0
jne 0x416bb6
jmp 0x416bcd
mov word [0x4edac4], 0
jmp 0x416bcd

Function at 0x416c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp word [0x4ed4b4], 0
jne 0x416cb5
xor esi, esi
lea edi, [ebp - 0x10]
mov dword [edi], esi
push edi
push 1
push esi
push str.Software360360se6Chrome
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [edi]
test eax, eax
cmove esi, ecx
je 0x416ccb
cmp word [0x4ed4b4], 0
je 0x416d0e
test esi, esi
je 0x416cb5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0045901d
mov eax, 0x4ed4b4
add esp, 0xc
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [eax], 0x100
push eax
push 0x4ed4b4
push edi
push 0
push 0x4d2272
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416ca0
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, 1
ja 0x416ca0
cmp dword [ebp - 0x14], 0
jne 0x416ca0
mov word [0x4ed4b4], 0
jmp 0x416ca0
push str.360se
push 0x4d21ee
push 0x7f
push 0x4ed4b4
call fcn.0048d990
add esp, 0x10
jmp 0x416caa
Function at 0x416f80
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp word [0x4ed6b4], 0
jne 0x416fc3
xor eax, eax
mov ebx, 0x4ed6b4
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push ebx
call fcn.0047b598
add esp, 8
push edi
push esi
push 0x4ed6b4
call fcn.00417030
add esp, 0xc
test eax, eax
je 0x416fed
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [eax], 4
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
test eax, eax
jne 0x416fd9
xor ebx, ebx
cmp word [esi], 0
setne bl
jmp 0x416fd9

Function at 0x417030
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x4010
call fcn.0045dd50
mov ebx, dword [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x4010]
push 0x4000
push 0
push edi
call fcn.00460af0
add esp, 0xc
lea eax, [ebp - 0x4014]
mov dword [eax], 0xffffffff
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [eax - 0x4000]
xor esi, esi
cmp ecx, 0xffffc001
jb 0x4170b8
push edi
push eax
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4170b8
xor eax, eax
dec eax
lea ecx, [ebp - 0x4018]
mov dword [ecx], eax
lea edx, [ebp - 0x401c]
mov dword [edx], eax
push edx
push ecx
push 0x4d25fc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4170cf
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
add esp, 0x4010
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4018]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
and edx, 0xffff
shr ecx, 0x10
mov edi, eax
and edi, 0xffff
shr eax, 0x10
mov ebx, dword [ebp + 0xc]
push edx
push ecx
push edi
push eax
push 0x4d2600
push esi
push ebx
call fcn.0048d990
add esp, 0x1c
mov word [ebx + esi*2 - 2], 0
xor esi, esi
inc esi
jmp 0x4170b8
Function at 0x417500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
lea esi, [ebp - 0x14]
mov dword [esi], ecx
push esi
push eax
push ecx
push str.Software360360se6Chrome
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, esi
mov edi, dword [esi]
mov esi, 0
mov bl, 1
test eax, eax
cmove esi, edi
jne 0x4175ae
xor edx, edx
dec edx
lea eax, [ebp - 0x18]
mov dword [eax], edx
mov edx, 4
mov dword [ebp - 0x14], edx
lea ebx, [ebp - 0x1c]
push ecx
push ebx
push eax
xor eax, eax
push eax
push str.joininexperience
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
cmp dword [ebx], edx
mov ebx, 0xffffffff
lea eax, [ebp - 0x18]
mov dword [eax], ebx
setne bl
mov eax, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov dword [ecx], edx
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
push edx
push str.fulldump
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x20]
xor ecx, ecx
cmp dword [eax], ecx
je 0x4175ae
mov byte [0x4ecd74], 1
test esi, esi
je 0x4175b9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4175d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call fcn.00417500
test al, al
je 0x417639
mov edi, dword [ebp + 8]
call fcn.00417640
sub esp, 4
call fcn.004178d0
add esp, 4
call fcn.004185b0
mov esi, eax
push edi
call fcn.00418a10
add esp, 4
test esi, esi
je 0x41760a
call fcn.00419310
mov eax, dword [0x4ecd58]
test eax, eax
je 0x417628
xor esi, esi
push 0x8000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x4ecd58], esi
call fcn.00416870
add eax, 0x5d120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop edi
pop ebp
ret
Function at 0x417640
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1470
call fcn.0045dd50
mov esi, esp
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esi + 0x1468], eax
cmp byte [0x4ea6a0], 0
je 0x417680
mov ecx, dword [esi + 0x1468]
xor ecx, ebp
call fcn.0045901d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x420]
push 0x1048
push 0
push eax
call fcn.00460af0
add esp, 0xc
mov eax, dword [0x4ecd4c]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x417887
mov edi, 0x4ecd40
cmp byte [0x4ecd4b], 0
jns 0x4176d1
mov edi, dword [0x4ecd40]
xor ebx, ebx
test edi, edi
je 0x417730
push edi
call fcn.0047ab60
add esp, 4
xor ebx, ebx
cmp eax, 0x3ffffffe
jg 0x417730
lea ecx, [eax + 1]
mov dword [esi + 0xc], ecx
lea ecx, [eax*2 + 2]
lea eax, [eax*2 + 5]
and eax, 0xfffffffc
call fcn.0045dd50
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
push ecx
push 0xff
push ebx
call fcn.00460af0
add esp, 0xc
mov word [ebx], 0
push dword [esi + 0xc]
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove ebx, eax
mov eax, 0x4ebcfa
mov ecx, 0x4eaab2
mov edi, 0x823
push 0x4ebf02
push ebx
push eax
push 0x4eb8ea
push 0x4eb6e2
push 0x4eb4da
push 0x4eb2d2
push 0x4eb0ca
push 0x4eaec2
push ecx
push 0x4ea6a2
xor edx, edx
push edx
push edx
push ecx
push eax
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360se6bq_dim_kpid__guid__ver_dim_v360se6___s___sm_dmts_diname_sifver_simod_simodver_sicode_sioff_sios_siie_smid_spt_spid_s
push edi
lea eax, [esi + 0x420]
push eax
call fcn.0048d990
add esp, 0x48
call fcn.00416870
mov edi, eax
mov ecx, eax
call fcn.004abe40
lea ebx, [edi + 0x5d530]
push 0x1048
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
mov eax, 0x4d21ee
lea ecx, [esi + 0x420]
push ecx
push eax
mov eax, 0x823
push eax
push ebx
call fcn.0048da50
add esp, 0x10
lea eax, [esi + 0x218]
mov ecx, 0x208
push ecx
xor ebx, ebx
push ebx
push eax
call fcn.00460af0
add esp, 0xc
lea eax, [esi + 0x10]
mov ecx, 0x208
push ecx
push ebx
push eax
mov ebx, eax
call fcn.00460af0
add esp, 0xc
mov eax, 0x103
lea ecx, [esi + 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push eax
push 0x4d252a
lea eax, [esi + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ebx, [edi + 0x5d120]
mov eax, 0x208
push eax
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
lea eax, [esi + 0x10]
push eax
mov eax, 0x4d21ee
push eax
mov eax, 0x103
push eax
push ebx
call fcn.00419f70
add esp, 0x10
mov dword [edi + 0x2468], 1
mov dword [edi + 0x26a8], 0x1388
mov ecx, edi
call fcn.004abc50
mov ecx, edi
push 0x1f40
call fcn.004ac030
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41766b
push 0x4ecd4c
call fcn.004570a7
add esp, 4
cmp dword [0x4ecd4c], 0xffffffff
jne 0x4176b7
xorps xmm0, xmm0
movsd qword [0x4ecd40], xmm0
mov dword [0x4ecd48], 0
push 0x4ecd4c
call fcn.0045711d
add esp, 4
jmp 0x4176b7
Function at 0x419310
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x630
mov esi, esp
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esi + 0x628], eax
lea eax, [esi + 0xc]
mov dword [eax], 0
push eax
call fcn.00419720
add esp, 4
mov dword [0x4ecd58], eax
test eax, eax
jne 0x41935e
mov ecx, dword [esi + 0x628]
xor ecx, ebp
call fcn.0045901d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x208
xor ecx, ecx
lea edi, [esi + 0x420]
push eax
push ecx
push edi
call fcn.00460af0
add esp, 0xc
mov eax, 0x103
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esi + 0x218]
mov eax, 0x208
push eax
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push eax
push 0x4d252a
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call fcn.00416870
mov edi, eax
mov ecx, eax
call fcn.004abe40
lea ebx, [edi + 0x5d530]
push 0x1048
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
mov eax, 0x4d21ee
push 0x4d2530
push eax
push 0x823
push ebx
call fcn.0048da50
add esp, 0x10
lea ebx, [edi + 0x5d120]
mov eax, 0x208
push eax
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
lea eax, [esi + 0x218]
push eax
mov eax, 0x4d21ee
push eax
mov eax, 0x103
push eax
push ebx
call fcn.00419f70
add esp, 0x10
mov dword [edi + 0x26a8], 0x2710
lea ecx, [esi + 0x10]
mov eax, 0x208
push eax
xor eax, eax
push eax
push ecx
call fcn.00460af0
add esp, 0xc
sub esp, 0x54
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
xor eax, eax
dec eax
mov dword [ebx + 0x50], eax
movdqa xmmword [ebx + 0x40], xmm0
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
mov word [ebx], 0
push 0x2a
push ebx
push eax
push str.___________________________7d9114302a0cb6
xor eax, eax
push eax
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove ebx, eax
push ebx
push str.multipart_form_data__boundary_s
mov eax, 0x103
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0048d990
add esp, 0x10
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4ecd58]
mov dword [edi + 0x2480], ecx
mov dword [edi + 0x2484], eax
lea ebx, [edi + 0x2488]
mov eax, 0x208
push eax
xor eax, eax
push eax
push ebx
call fcn.00460af0
add esp, 0xc
lea eax, [esi + 0x10]
push eax
mov eax, 0x4d21ee
push eax
mov eax, 0x103
push eax
push ebx
call fcn.00419f70
add esp, 0x10
mov ecx, edi
call fcn.004abc50
mov ecx, edi
push 0x2ee0
call fcn.004ac030
lea eax, [esi + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x419349