Function at 0x46bce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x46bf0e
push ebx
xor ebx, ebx
mov edi, edi
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x10], eax
je 0x46bd69
cmp byte [ecx + 0x15], bl
jne 0x46bd54
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46bd3b
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46bd54
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46bd30
jmp 0x46bd54
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46bd52
cmp ecx, dword [eax + 8]
jne 0x46bd52
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46bd43
mov ecx, eax
cmp ecx, edx
jne 0x46bd10
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ecx + 0xc]
cmp edi, 0xffffffff
je 0x46bf0c
push esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x7c], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
xor esi, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
xor eax, eax
or eax, 1
or eax, 2
mov dword [ebp - 4], 1
or eax, 0x400
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x34], eax
cmp esi, ebx
jne 0x46be19
push 0x20
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x46be10
mov byte [ebp - 4], 3
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_open_webbrowser_ack.0
call fcn.00441cc0
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
jmp 0x46be12
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
or dword [esi + 0x18], 1
cdq
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x4c]
or dword [ebp - 0x34], 0x400
cmp eax, ebx
jne 0x46be7d
push 0x20
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46be74
mov byte [ebp - 4], 5
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_open_webbrowser_ack.0
call fcn.00441cc0
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov eax, esi
jmp 0x46be76
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0xc]
or dword [eax + 0x18], 2
lea edx, [ebp - 0x30]
mov dword [eax + 0x10], ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040eab0
mov eax, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x46bea3
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
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 - 0x1c], esi
jb 0x46bece
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x7c], vtable.PBUIWebInterface::WEB_MSG_RESP.0
lea esi, [ebp - 0x7c]
mov dword [ebp - 4], 7
call fcn.0040c4c0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.00442070
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0041eee0
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8