Function at 0x46bab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x46bccf
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 0x10], esi
je 0x46bb3a
cmp byte [ecx + 0x15], bl
jne 0x46bb24
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46bb0b
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46bb24
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46bb00
jmp 0x46bb24
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46bb22
cmp ecx, dword [eax + 8]
jne 0x46bb22
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46bb13
mov ecx, eax
cmp ecx, edx
jne 0x46bae2
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ecx + 0xc]
cmp esi, 0xffffffff
je 0x46bccd
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
xor eax, eax
mov dword [ebp - 0x34], 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], eax
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
xor ecx, ecx
or ecx, 1
or ecx, 2
mov dword [ebp - 4], 1
or ecx, 0x100
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x30], ecx
cmp eax, ebx
jne 0x46bbe8
push 0x18
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46bbdf
mov byte [ebp - 4], 3
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_command_state_change.0
call fcn.00441cc0
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov eax, esi
jmp 0x46bbe1
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], eax
or dword [eax + 0x14], 1
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x50]
or dword [ebp - 0x30], 0x100
cmp eax, ebx
jne 0x46bc3e
push 0x18
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46bc35
mov byte [ebp - 4], 5
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_command_state_change.0
call fcn.00441cc0
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov eax, esi
jmp 0x46bc37
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], eax
movzx edx, byte [ebp + 0x10]
or dword [eax + 0x14], 2
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040eab0
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x46bc65
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push ebx
lea ecx, [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x18], esi
jb 0x46bc90
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
lea esi, [ebp - 0x78]
mov dword [ebp - 4], 7
call fcn.0040c4c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
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 0xc