Function at 0x477e90
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5875b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esp + 0x15c]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x154], ebx
je 0x47819d
cmp dword [esp + 0x168], ebx
je 0x47819d
lea ecx, [esp + 0x164]
call fcn.00563ec7
mov eax, dword [esp + 0x164]
cmp dword [eax - 8], 0xc
jne 0x47819d
mov eax, dword [esi + 0x13c]
cmp eax, ebx
je 0x477f26
lea edi, [eax + 0x5168]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x477f76
push 0x104
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5fe7d8
call fcn.0056877a
lea ecx, [esp + 0x1c]
push ecx
call fcn.00441aa0
add esp, 8
mov ecx, eax
mov byte [esp + 0x158], 1
call fcn.0040d0c0
lea edx, [esp + 0x4c]
push eax
push edx
call fcn.0043a0b0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], bl
call fcn.0056870c
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x154], 2
push ecx
lea ecx, [esp + 0x24]
call fcn.0056877a
push str._feiqUserHeadPhoto
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x160], 3
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 4
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call fcn.0056870c
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 2
call fcn.0056870c
push 1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00568481
call fcn.004416c0
add esp, 8
lea edx, [esp + 0x10]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00568481
call fcn.004416c0
add esp, 8
cmp eax, ebx
je 0x47818d
mov eax, dword [0x5f9f88]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x10]
push edx
lea esi, [ecx - 1]
lea ecx, [esp + 0x1c]
push esi
push eax
push str._s_d_s.bmp
push ecx
mov byte [esp + 0x168], 5
call fcn.00563eb4
add esp, 0x14
lea ecx, [esp + 0x24]
push 0x5fe7d8
call fcn.0056877a
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 6
call fcn.00548510
mov edx, dword [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 7
call fcn.005485d3
cmp eax, ebx
je 0x4780d5
lea ecx, [esp + 0x28]
call fcn.005487f3
mov edi, eax
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
cmp eax, ebx
jne 0x4780d1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.005488c2
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call fcn.0056870c
cmp edi, ebx
jne 0x478093
lea ecx, [esp + 0x28]
call fcn.00548589
mov eax, dword [0x5f9f88]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x10]
push ecx
push edx
push esi
push eax
lea ecx, [esp + 0x2c]
push str._s_d_s_08x.bmp
push ecx
mov byte [esp + 0x16c], 8
call fcn.00563eb4
mov edx, dword [esp + 0x34]
add esp, 0x18
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x478149
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
jne 0x4781d1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 7
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 6
call fcn.0054854d
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 5
call fcn.0056870c
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 2
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.0056870c
lea ecx, [esp + 0x164]
mov dword [esp + 0x154], 0xffffffff
call fcn.0056870c
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x148
ret 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
lea ecx, [esp + 0x44]
push ebx
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 7
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 6
call fcn.0054854d
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 5
call fcn.0056870c
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 2
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.0056870c
lea ecx, [esp + 0x164]
mov dword [esp + 0x154], 0xffffffff
call fcn.0056870c
mov eax, 1
jmp 0x4781b6