Function at 0x4f59f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov dword [ebp - 0x150], str.pd.startup_show_type
mov byte [ebp - 0x14c], 4
mov byte [ebp - 0x14b], 4
mov dword [ebp - 0x148], str.pd.startup_show_type.a
mov byte [ebp - 0x144], 4
mov byte [ebp - 0x143], 2
mov dword [ebp - 0x140], str.pd.startup_show_type.e
mov byte [ebp - 0x13c], 1
mov byte [ebp - 0x13b], 1
mov dword [ebp - 0x138], str.pd.startup_show_type.m
mov byte [ebp - 0x134], 1
mov byte [ebp - 0x133], 1
mov dword [ebp - 0x130], str.pd.startup_show_url.a
mov byte [ebp - 0x12c], 4
mov byte [ebp - 0x12b], 2
mov dword [ebp - 0x128], str.pd.startup_show_url.e
mov byte [ebp - 0x124], 1
mov byte [ebp - 0x123], 1
mov dword [ebp - 0x120], str.pd.startup_show_url.m
mov byte [ebp - 0x11c], 1
mov byte [ebp - 0x11b], 1
mov dword [ebp - 0x118], str.pd.user_definded_url.e
mov byte [ebp - 0x114], 1
mov byte [ebp - 0x113], 1
mov dword [ebp - 0x110], str.pd.user_definded_url.m
mov byte [ebp - 0x10c], 1
mov byte [ebp - 0x10b], 0
mov dword [ebp - 0x108], str.pd.newtab_open_type
mov byte [ebp - 0x104], 4
mov byte [ebp - 0x103], 4
mov dword [ebp - 0x100], str.pd.newtab_open_type.a
mov byte [ebp - 0xfc], 4
mov byte [ebp - 0xfb], 2
mov dword [ebp - 0xf8], str.pd.newtab_open_type.e
mov byte [ebp - 0xf4], 1
mov byte [ebp - 0xf3], 1
mov dword [ebp - 0xf0], str.pd.newtab_open_type.m
mov byte [ebp - 0xec], 1
mov byte [ebp - 0xeb], 1
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xe4], 0
xor eax, eax
mov word [ebp - 0xe3], ax
mov byte [ebp - 0xe1], al
mov ecx, 0xa
mov esi, str.pd.startup_show_url
lea edi, [ebp - 0x1a4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
mov esi, str.pd.user_definded_url
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 9
mov esi, str.pd.newtab_open_url
lea edi, [ebp - 0x17c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x559b2c
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x3c], eax
push 2
push 0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00416afd
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004169d3
add esp, 4
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x154], eax
push 0
push 0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00416afd
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
push 1
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call fcn.0041651a
add esp, 0x10
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00416bf5
add esp, 4
mov ecx, dword [ebp - 0xe0]
push ecx
push 0x559b30
call fcn.004160d1
add esp, 8
push 0
push 0x4f5780
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.004f5830
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00415fa8
add esp, 4
mov edx, dword [ebp - 0xe0]
lea eax, [edx + eax*2 + 0x200]
push eax
call fcn.00415d52
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0xdc]
push edx
push 0x4f52e0
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004f5830
add esp, 0x10
lea edx, [ebp - 0x150]
mov dword [ebp - 8], edx
jmp 0x4f5caf
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x4f5dde
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0xa
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
add eax, 6
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], al
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0x10
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + 4]
mov byte [edx], cl
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
cmp ecx, 1
jne 0x4f5d98
mov edx, dword [ebp - 0xdc]
mov byte [edx], 0x20
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
jmp 0x4f5dbc
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 4]
cmp edx, 4
jne 0x4f5dbc
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0x38
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + 5]
mov byte [edx], cl
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
jmp 0x4f5ca6
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004f56f0
add esp, 4
mov edx, dword [ebp - 0xe0]
lea eax, [edx + eax + 0x2b]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0xa
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004f56a0
add esp, 8
mov edx, dword [ebp - 0xdc]
mov byte [edx], 0xa
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
push 0x26
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0x10
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov byte [edx], 2
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0x2a
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004f56f0
add esp, 4
mov edx, dword [ebp - 0xe0]
lea eax, [edx + eax + 0x2d]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0xa
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004f56a0
add esp, 8
mov edx, dword [ebp - 0xdc]
mov byte [edx], 0xa
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
push 0x28
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0x10
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov byte [edx], 2
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0x2a
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004f56f0
add esp, 4
mov edx, dword [ebp - 0xe0]
lea eax, [edx + eax + 0x29]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0xa
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004f56a0
add esp, 8
mov edx, dword [ebp - 0xdc]
mov byte [edx], 0xa
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
push 0x24
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0x10
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov byte [edx], 2
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov byte [ecx], 0x2a
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415fa8
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004f59a0
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
call fcn.004e4390
add esp, 4
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp - 4]
sub ecx, 0x10
push ecx
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.004e5240
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.004e5340
add esp, 8
push 0x559b38
mov eax, dword [ebp + 8]
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 1
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004167ae
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00416bf5
add esp, 4
mov edx, dword [ebp - 0x154]
push edx
call fcn.00415c75
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00415c75
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret