Function at 0x46d7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4732b8
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 0x46da7b
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 0x10], esi
je 0x46d82a
cmp byte [ecx + 0x15], bl
jne 0x46d814
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46d7fb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46d814
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46d7f0
jmp 0x46d814
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46d812
cmp ecx, dword [eax + 8]
jne 0x46d812
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46d803
mov ecx, eax
cmp ecx, edx
jne 0x46d7d5
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push edi
mov edi, dword [ecx + 0xc]
cmp edi, 0xffffffff
je 0x46da78
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x46d850
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402220
push 1
mov eax, 0x47ced0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00402140
mov eax, dword [ebp + 0x10]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x46d882
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402140
push 1
mov eax, 0x47ced0
lea ecx, [ebp - 0x2c]
call fcn.00402140
mov eax, dword [ebp + 0x14]
mov ecx, eax
lea edx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x46d8b1
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
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], 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
xor eax, eax
or eax, 1
mov byte [ebp - 4], 2
or eax, 2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x70], 0x14
mov dword [ebp - 0x6c], edi
call fcn.00403640
mov edi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
or dword [ebp - 0x30], 0x40
cmp eax, ebx
jne 0x46d97d
push 0x14
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46d972
mov byte [ebp - 4], 5
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_click_ad.0
call fcn.00441cc0
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x487000
mov dword [esi + 0x10], ebx
jmp 0x46d974
xor esi, esi
mov eax, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], eax
or dword [eax + 0x10], 1
mov esi, eax
cmp dword [esi + 8], 0x487000
jne 0x46d9ad
push 0x1c
call fcn.00411e4b
add esp, 4
cmp eax, ebx
je 0x46d9a8
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x46d9aa
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], 2
cmp dword [ebp - 0x9c], esi
jb 0x46d9d9
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0041149f
add esp, 4
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x78]
call fcn.0040eab0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x46d9f9
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x84]
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 - 0x80], esi
jb 0x46da2a
mov edx, dword [ebp - 0x94]
push edx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
lea esi, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.0040c4c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00442070
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0041eee0
cmp dword [ebp - 0x18], 8
jb 0x46da78
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041149f
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10