Function at 0x402880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.MSVCR110.dll___iob_func]
mov eax, 0x40f020
mov dword [ebp - 0x54], eax
mov eax, dword [sym.imp.MSVCR110.dll__fmode]
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x68], 1
mov dword [0x40f0b0], 0x40c4c8
push 0x8000
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x80], 0
mov dword [0x410a90], edx
mov dword [0x410a4c], ecx
mov dword [eax], 0x8000
call esi
mov ebx, dword [sym.imp.MSVCR110.dll__fileno]
push eax
call ebx
mov edi, dword [sym.imp.MSVCR110.dll__setmode]
add esp, 4
push eax
call edi
add esp, 8
push 0x8000
call esi
add eax, 0x20
push eax
call ebx
add esp, 4
push eax
call edi
add esp, 8
push 0x8000
call esi
add eax, 0x40
push eax
call ebx
add esp, 4
push eax
call edi
push 2
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x40c280
push dword [ebp - 0x5c]
push dword [ebp - 0x7c]
call dword [sym.imp.php5.dll_php_getopt]
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov ebx, dword [sym.imp.MSVCR110.dll_realloc]
add esp, 0x24
cmp eax, 0xffffffff
je 0x402c5d
lea ebx, [ebx]
add eax, 0xffffffc1
cmp eax, 0x37
ja case.0x4029b3.64
movzx eax, byte [eax + 0x402db8]
jmp dword [eax*4 + 0x402d98]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4029c7
push eax
call edi
add esp, 4
push dword [ebp - 0x50]
call dword [sym.imp.MSVCR110.dll__strdup]
add esp, 4
mov dword [ebp - 0x60], eax
jmp case.0x4029b3.64
mov dword [ebp - 0x80], 1
jmp case.0x4029b3.64
mov ecx, dword [ebp - 0x50]
mov edi, ecx
lea edx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x4029f0
push 0x3d
push ecx
sub edi, edx
call dword [sym.imp.MSVCR110.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x402af8
movsx eax, byte [esi + 1]
inc esi
push eax
call dword [sym.imp.MSVCR110.dll_isalnum]
add esp, 4
test eax, eax
jne 0x402aab
mov al, byte [esi]
cmp al, 0x22
je 0x402aab
cmp al, 0x27
je 0x402aab
test al, al
je 0x402aab
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add eax, 5
add eax, edi
push eax
push ecx
call ebx
mov ecx, dword [ebp - 0x50]
mov ebx, eax
mov eax, esi
sub eax, ecx
push eax
mov eax, dword [ebp - 0x48]
push ecx
add eax, ebx
push eax
mov dword [ebp - 0x4c], ebx
call sub.MSVCR110.dll_memcpy
mov ecx, dword [ebp - 0x48]
mov eax, esi
sub eax, dword [ebp - 0x50]
sub edi, esi
add ecx, eax
inc ecx
mov byte [ecx + ebx - 1], 0x22
mov eax, dword [ebp - 0x50]
add eax, edi
push eax
push esi
mov esi, ecx
mov dword [ebp - 0x48], ecx
lea eax, [esi + ebx]
push eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0x50]
add eax, edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
add esi, eax
add esp, 0x20
mov dword [esi + ebx], 0xa22
mov ebx, dword [sym.imp.MSVCR110.dll_realloc]
add esi, 2
mov dword [ebp - 0x48], esi
jmp case.0x4029b3.64
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add esi, edi
lea eax, [esi + 3]
push eax
push ecx
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x48]
push edi
push dword [ebp - 0x50]
add eax, ebx
push eax
mov dword [ebp - 0x4c], ebx
call sub.MSVCR110.dll_memcpy
mov ax, word [0x40c248]
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov word [esi + ebx], ax
mov al, byte [0x40c24a]
mov byte [esi + ebx + 2], al
lea ebx, [esi + 1]
mov dword [ebp - 0x48], ebx
mov ebx, dword [sym.imp.MSVCR110.dll_realloc]
add esp, 0x14
jmp case.0x4029b3.64
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add esi, edi
lea eax, [esi + 5]
push eax
push ecx
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x48]
push edi
push dword [ebp - 0x50]
add eax, ebx
push eax
mov dword [ebp - 0x4c], ebx
call sub.MSVCR110.dll_memcpy
mov eax, dword [0x40c24c]
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov dword [esi + ebx], eax
mov al, byte [0x40c250]
mov byte [esi + ebx + 4], al
mov ebx, dword [sym.imp.MSVCR110.dll_realloc]
lea eax, [esi + 3]
add esp, 0x14
mov dword [ebp - 0x48], eax
jmp case.0x4029b3.64
mov eax, 0x40f0c8
mov dword [ebp - 0x54], eax
mov dword [0x40f158], 0x40c5b0
jmp case.0x4029b3.64
mov dword [ebp - 0x64], 1
push 2
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x40c280
push dword [ebp - 0x5c]
push dword [ebp - 0x7c]
call dword [sym.imp.php5.dll_php_getopt]
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x4029a0
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x84], 0x4014c0
mov dword [esi + 0x50], eax
mov dword [esi + 0x88], 1
push esi
mov dword [esi + 0x6c], 1
call dword [sym.imp.php5.dll_sapi_startup]
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x5c]
add esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x78], 1
mov dword [esi + 0x64], eax
cmp esi, 0x40f020
jne 0x402c8a
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x402c67
mov esi, dword [ebp - 0x48]
lea eax, [esi + 0x70]
push eax
push ecx
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0x6e]
push ebx
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.MSVCR110.dll_memmove]
mov ecx, 0x1b
mov esi, str.html_errors0_nregister_argc_argv1_nimplicit_flush1_noutput_buffering0_nmax_execution_time0_nmax_input_time_1_n
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x54]
add esp, 0x14
jmp 0x402c8d
mov eax, dword [ebp - 0x5c]
push 0x2f
push dword [eax]
call dword [sym.imp.MSVCR110.dll_strrchr]
add esp, 8
test eax, eax
je 0x402c2e
inc eax
jmp 0x402c33
mov eax, 0x40b64c
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str.Usage:__s__options____f___file________args...__n____s__options___r__code________args...__n____s__options____B__begin_code____R__code____E__end_code_________args...__n____s__options____B__begin_code____F__file____E__end_code_________args...__n____s__options___S__addr_:_port____t_docroot__n____s__options______args...__n____s__options___a_n_n___a_______________Run_interactively_n___c__path__file__Look_for_php.ini_file_in_this_directory_n___n_______________No_php.ini_file_will_be_used_n___d_foo_bar______Define_INI_entry_foo_with_value_bar_n___e_______________Generate_extended_information_for_debugger_profiler_n___f__file_________Parse_and_execute__file_._n___h_______________This_help_n___i_______________PHP_information_n___l_______________Syntax_check_only__lint__n___m_______________Show_compiled_in_modules_n___r__code_________Run_PHP__code__without_using_script_tags___..___n___B__begin_code___Run_PHP__begin_code__before_processing_input_lines_n___R__code_________Run_PHP__code__for_every_input_line_n___F__file_________Parse_and_execute__file__for_every_input_line_n___E__end_code_____Run_PHP__end_code__after_processing_all_input_lines_n___H_______________Hide_any_passed_arguments_from_external_tools._n___S__addr_:_port__Run_with_built_in_web_server._n___t__docroot______Specify_document_root__docroot__for_built_in_web_server._n___s_______________Output_HTML_syntax_highlighted_source._n___v_______________Version_number_n___w_______________Output_source_with_stripped_comments_and_whitespace._n___z__file_________Load_Zend_extension__file_._n_n__args...__________Arguments_passed_to_script._Use____args_when_first_argument_n___________________starts_with___or_script_is_read_from_stdin_n_n____ini____________Show_configuration_file_names_n_n____rf__name_______Show_information_about_function__name_._n____rc__name_______Show_information_about_class__name_._n____re__name_______Show_information_about_extension__name_._n____rz__name_______Show_information_about_Zend_extension__name_._n____ri__name_______Show_configuration_for_extension__name_._n_n
call dword [sym.imp.MSVCR110.dll_printf]
mov esi, dword [ebp - 0x58]
add esp, 0x20
jmp 0x402d41
mov esi, 0x40f020
mov dword [ebp - 0x54], esi
jmp 0x402b8a
mov esi, 0x40f020
jmp 0x402b8a
push 0x70
call dword [sym.imp.MSVCR110.dll_malloc]
mov ebx, eax
mov ecx, 0x1c
mov esi, str.html_errors0_nregister_argc_argv1_nimplicit_flush1_noutput_buffering0_nmax_execution_time0_nmax_input_time_1_n
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x4c], ebx
jmp 0x402c8d
mov ebx, dword [ebp - 0x4c]
mov dword [esi + 0x8c], ebx
mov eax, dword [esi + 8]
push esi
call eax
add esp, 4
cmp eax, 0xffffffff
jne 0x402cb4
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov esi, 1
mov dword [ebp - 0x58], esi
jmp 0x402d44
cmp dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 1
je 0x402ccd
mov eax, dword [sym.imp.php5.dll_compiler_globals]
or dword [eax + 0x14c], 1
mov eax, dword [sym.imp.php5.dll_executor_globals]
push 0
mov dword [eax + 0x114], 0
mov ecx, dword [sym.imp.php5.dll_executor_globals]
mov eax, dword [ecx + 0x114]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ecx + 0x114], eax
call sub.MSVCR110.dll__setjmp3
add esp, 8
test eax, eax
jne 0x402d2a
cmp dword [ebp - 0x54], 0x40f020
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
jne 0x402d1e
call fcn.004018f0
mov esi, eax
mov dword [ebp - 0x58], esi
jmp 0x402d2d
call fcn.004079f0
mov esi, eax
mov dword [ebp - 0x58], esi
jmp 0x402d2d
mov esi, dword [ebp - 0x58]
mov eax, dword [sym.imp.php5.dll_executor_globals]
mov ecx, dword [ebp - 0x64]
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov dword [eax + 0x114], ecx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x402d51
push eax
call edi
add esp, 4
test ebx, ebx
je 0x402d5b
push ebx
call edi
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x402d67
call dword [sym.imp.php5.dll_php_module_shutdown]
cmp dword [ebp - 0x78], 0
je 0x402d73
call dword [sym.imp.php5.dll_sapi_shutdown]
cmp dword [0x410a4c], 0
je 0x402d90
mov dword [0x410a4c], 0
mov dword [0x410a90], 0
push esi
call dword [sym.imp.MSVCR110.dll_exit]
nop
pop ss
sub al, 64
add byte [ebx + 0x2b], al
inc eax
add byte [edx - 0x18ffbfd7], bh
sub dword [eax], eax
push edi
sub eax, dword [eax]
push eax
sub al, 64
add bl, bl
sub dword [eax], eax
pop esi
sub eax, dword [eax]
add byte [edi], al
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add dword [edi], eax
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add al, byte [ebx]
add al, 7
pop es
add byte [84346631], al
push es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add eax, -1928795005
inc esp
and al, 4
push eax
lea eax, [esp + 4]
push eax
push 0x40cbc0
push dword [esp + 0x18]
mov dword [esp + 0x10], 0
call dword [sym.imp.php5.dll_zend_parse_parameters]
add esp, 0x10
cmp eax, 0xffffffff
je 0x402eaf
cmp dword [0x410a4c], 0
jne 0x402e30
mov ecx, 2
jmp 0x402e77
push 0x104
push dword [esp + 4]
push 0x410948
call dword [sym.imp.MSVCR110.dll_strncpy]
mov ecx, 0x410948
add esp, 0xc
mov byte [0x410a4b], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402e56
sub ecx, edx
push 0x410948
mov dword [0x410a94], ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
test eax, eax
jne 0x402ea1
lea ecx, [eax + 4]
call fcn.004098e0
push eax
push str.cli_set_process_title_had_an_error:__s
push 2
push 0
call dword [sym.imp.php5.dll_php_error_docref0]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [eax], 0
mov byte [eax + 0xc], 3
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov dword [eax], 1
mov byte [eax + 0xc], 3
add esp, 8
ret