Function at 0x46d450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x46d737
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 0x10], esi
je 0x46d4da
cmp byte [ecx + 0x15], bl
jne 0x46d4c4
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46d4ab
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46d4c4
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46d4a0
jmp 0x46d4c4
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46d4c2
cmp ecx, dword [eax + 8]
jne 0x46d4c2
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46d4b3
mov ecx, eax
cmp ecx, edx
jne 0x46d485
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ecx + 0xc]
mov dword [ebp + 8], ecx
cmp ecx, 0xffffffff
je 0x46d735
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0xb0]
call fcn.00403530
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.00403530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
xor ecx, ecx
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], ecx
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
or eax, 2
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
or eax, 1
or eax, 0x200
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], 6
mov dword [ebp - 0x14], eax
mov edi, section..data
cmp ecx, ebx
jne 0x46d5b0
push 0x18
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46d5a7
mov byte [ebp - 4], 5
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_navigate_ack.0
call fcn.00441cc0
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
jmp 0x46d5a9
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], ecx
or dword [ecx + 0x14], 2
mov esi, ecx
cmp dword [esi + 0xc], edi
jne 0x46d5dc
push 0x1c
call fcn.00411e4b
add esp, 4
cmp eax, ebx
je 0x46d5d7
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x46d5d9
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xb0]
push eax
call fcn.00401c20
mov eax, dword [ebp - 0x30]
or dword [ebp - 0x14], 0x200
cmp eax, ebx
jne 0x46d63a
push 0x18
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46d631
mov byte [ebp - 4], 7
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_navigate_ack.0
call fcn.00441cc0
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], ebx
mov eax, esi
jmp 0x46d633
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], eax
or dword [eax + 0x14], 1
mov esi, eax
cmp dword [esi + 8], edi
jne 0x46d666
push 0x1c
call fcn.00411e4b
add esp, 4
cmp eax, ebx
je 0x46d661
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x46d663
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x94]
push edx
call fcn.00401c20
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040eab0
mov eax, dword [ebp - 0x78]
mov edi, 0x10
cmp dword [ebp - 0x64], edi
jae 0x46d694
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x68]
push ebx
lea ecx, [ebp + 8]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x64], edi
jb 0x46d6bf
mov edx, dword [ebp - 0x78]
push edx
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 byte [ebp - 4], 9
call fcn.0040c4c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00442070
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041eee0
cmp dword [ebp - 0x80], edi
jb 0x46d70a
mov eax, dword [ebp - 0x94]
push eax
call fcn.0041149f
add esp, 4
cmp dword [ebp - 0x9c], edi
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
pop edi
jb 0x46d735
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0041149f
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc