Function at 0x46cf70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4731c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x46d198
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 0x10], esi
je 0x46cffa
cmp byte [ecx + 0x15], bl
jne 0x46cfe4
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46cfcb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46cfe4
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46cfc0
jmp 0x46cfe4
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46cfe2
cmp ecx, dword [eax + 8]
jne 0x46cfe2
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46cfd3
mov ecx, eax
cmp ecx, edx
jne 0x46cfa5
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + 0xc]
cmp esi, 0xffffffff
je 0x46d196
push edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
or eax, 1
or eax, 2
mov dword [ebp - 0x50], esi
lea esi, [ebp - 0x94]
mov dword [ebp - 0x54], 0x10
mov dword [ebp - 0x14], eax
call fcn.00403530
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4c]
or dword [ebp - 0x14], 4
cmp eax, ebx
jne 0x46d0bd
push 0x14
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46d0b4
mov byte [ebp - 4], 4
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_add_fsp.0
call fcn.00441cc0
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x487000
mov dword [esi + 0x10], ebx
mov eax, esi
jmp 0x46d0b6
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], eax
or dword [eax + 0x10], 1
mov esi, eax
cmp dword [esi + 8], 0x487000
jne 0x46d0ed
push 0x1c
call fcn.00411e4b
add esp, 4
cmp eax, ebx
je 0x46d0e8
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x46d0ea
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00401c20
mov esi, 0x10
mov byte [ebp - 4], 1
pop edi
cmp dword [ebp - 0x80], esi
jb 0x46d117
mov eax, dword [ebp - 0x94]
push eax
call fcn.0041149f
add esp, 4
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040eab0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x64], esi
jae 0x46d12e
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
push ebx
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [edx + 0x10]
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x64], esi
jb 0x46d159
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x5c], vtable.PBUIWebInterface::WEB_MSG_RESP.0
lea esi, [ebp - 0x5c]
mov dword [ebp - 4], 6
call fcn.0040c4c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00442070
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0041eee0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8