Function at 0x1003fbc0
Capabilities:
Initialize winsock library
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x2bc
mov eax, dword [0x106499c8]
xor eax, ebp
mov dword [ebp + 0x238], eax
mov eax, dword [ebp + 0x248]
push ebx
push esi
mov esi, dword [sym.imp.MSVCR110.dll__set_invalid_parameter_handler]
push edi
mov edi, dword [ebp + 0x244]
xor ebx, ebx
push 0x1034f800
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x60], ebx
call esi
pop ecx
mov dword [0x10660578], eax
test eax, eax
jne 0x100403ae
mov dword [0x10660224], ebx
mov dword [0x10649dd0], 1
call sym.php5.dll_sapi_initialize_empty_request
call sym.php5.dll_sapi_activate
cmp dword [0x10660228], ebx
jne 0x103ab157
push 0x26
mov esi, edi
pop ecx
mov edi, sym.php5.dll_sapi_module
rep movsd dword es:[edi], dword [esi]
call sym.php5.dll_php_output_startup
mov eax, dword [0x10667c14]
mov dword [ebp + 0x30], eax
mov eax, dword [0x10667c18]
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0x1005d920
mov dword [ebp + 0x20], sym.php5.dll_php_printf
mov dword [ebp + 0x24], 0x1001f200
mov dword [ebp + 0x28], 0x1034fa60
mov dword [ebp + 0x2c], 0x1034fcf0
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], 0x10040520
mov dword [ebp + 0x3c], 0x10353b80
mov dword [ebp + 0x40], 0x1034fe60
mov dword [ebp + 0x44], 0x1004caa0
mov dword [ebp + 0x48], sym.php5.dll_vspprintf
mov dword [ebp + 0x4c], sym.php5.dll_sapi_getenv
mov dword [ebp + 0x50], 0x1004d3e0
call fcn.1003f0f0
call fcn.1003fba0
mov edi, 0x9c
push edi
mov eax, 0x10668e88
push ebx
mov esi, 0x10669278
push esi
mov word [sym.php5.dll_gc_globals], bx
mov dword [0x10668e84], ebx
mov dword [0x10668e8c], eax
mov dword [0x10668e88], eax
mov dword [0x10668e98], ebx
mov dword [0x10668ea4], ebx
mov dword [0x10668ea8], ebx
mov dword [0x10668eac], ebx
mov dword [0x10668eb0], ebx
mov dword [0x10668eb4], ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [0x10669278], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x103ab15e
push 0x1053ac9c
push 2
mov dword [0x10669234], ebx
mov dword [0x106691e0], ebx
mov byte [0x106676e8], bl
mov byte [0x10667c84], bl
mov dword [0x10667c9c], ebx
mov dword [0x10667ca8], ebx
mov dword [0x10667cac], ebx
mov byte [0x1066773e], bl
mov dword [0x10667748], ebx
mov dword [0x1066774c], ebx
mov dword [0x10667750], ebx
mov dword [0x106693a8], ebx
mov dword [0x106693ac], ebx
mov dword [0x10667754], ebx
mov dword [0x10667758], ebx
mov dword [0x106693d4], ebx
mov dword [0x106693c4], ebx
pop ebx
xor eax, eax
push ebx
mov dword [0x10669238], 0x7ff7
mov word [0x106676e4], ax
mov dword [ebp + 0x5c], ebx
call dword [sym.imp.MSVCR110.dll_setlocale]
pop ecx
pop ecx
call dword [sym.imp.MSVCR110.dll__get_current_locale]
mov dword [0x10660214], eax
call dword [sym.imp.MSVCR110.dll__tzset]
lea eax, [ebp + 0x68]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x103ab16c
xor edi, edi
push edi
push str.index_pointer
push edi
push edi
call sym.php5.dll_zend_register_list_destructors_ex
push edi
push 3
pop esi
push esi
push 5
push 0x105485b0
push 0xc
push str.PHP_VERSION
mov dword [sym.php5.dll_le_index_ptr], eax
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push 5
push 0x12
push str.PHP_MAJOR_VERSION
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push 6
push 0x12
push str.PHP_MINOR_VERSION
call sym.php5.dll_zend_register_long_constant
add esp, 0x50
push edi
push esi
push 9
push 0x14
push str.PHP_RELEASE_VERSION
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push edi
push 0x1053ac9c
push 0x12
push str.PHP_EXTRA_VERSION
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push 0xc5b1
push 0xf
push str.PHP_VERSION_ID
call sym.php5.dll_zend_register_long_constant
add esp, 0x40
push edi
push esi
push edi
push 8
push str.PHP_ZTS
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push edi
push 0xa
push str.PHP_DEBUG
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push 5
push str.WINNT
push 7
push str.PHP_OS
call sym.php5.dll_zend_register_stringl_constant
mov edx, dword [sym.php5.dll_sapi_module]
mov ecx, edx
add esp, 0x40
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003fe99
push edi
push 3
sub ecx, esi
pop esi
push esi
push ecx
push edx
push 9
push str.PHP_SAPI
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push 0xd
push str.._C:phppear
push 0x15
push str.DEFAULT_INCLUDE_PATH
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push 0xb
push str.C:phppear
push 0x11
push str.PEAR_INSTALL_DIR
call sym.php5.dll_zend_register_stringl_constant
add esp, 0x48
push edi
push esi
push 6
mov esi, str.C:php
push esi
push 0x13
push str.PEAR_EXTENSION_DIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
push 6
push esi
push 0x12
push str.PHP_EXTENSION_DIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
push 6
push esi
push 0xb
push str.PHP_PREFIX
call sym.php5.dll_zend_register_stringl_constant
add esp, 0x48
push edi
push 3
push 6
push esi
push 0xb
push str.PHP_BINDIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
push 6
push esi
push 0xb
push str.PHP_LIBDIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
push 6
push esi
push 0xc
push str.PHP_DATADIR
call sym.php5.dll_zend_register_stringl_constant
add esp, 0x48
push edi
push 3
push 6
push esi
push 0xf
push str.PHP_SYSCONFDIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
push 6
push esi
push 0x12
push str.PHP_LOCALSTATEDIR
call sym.php5.dll_zend_register_stringl_constant
mov edi, dword [sym.imp.MSVCR110.dll_getenv]
mov esi, str.SystemRoot
push esi
call edi
add esp, 0x34
test eax, eax
je 0x100403b7
push esi
call edi
pop ecx
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003ff9e
push str.SystemRoot
sub esi, ecx
call edi
pop ecx
test eax, eax
je 0x100403c1
push str.SystemRoot
call edi
pop ecx
xor edi, edi
push edi
push 3
push esi
push eax
push 0x15
push str.PHP_CONFIG_FILE_PATH
call sym.php5.dll_zend_register_stringl_constant
push edi
push 3
pop esi
push esi
push edi
push 0x1053ac9c
push 0x19
push str.PHP_CONFIG_FILE_SCAN_DIR
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push esi
push 0x10548758
push 0x11
push str.PHP_SHLIB_SUFFIX
call sym.php5.dll_zend_register_stringl_constant
add esp, 0x48
push edi
push esi
push ebx
push 0x10548574
push 8
push str.PHP_EOL
call sym.php5.dll_zend_register_stringl_constant
push edi
push esi
push 0x104
push 0xf
push str.PHP_MAXPATHLEN
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push bind
push 0xc
push str.PHP_INT_MAX
call sym.php5.dll_zend_register_long_constant
add esp, 0x40
push edi
push esi
push 4
push 0xd
push str.PHP_INT_SIZE
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push dword [0x1066927c]
push 0x1a
push str.PHP_WINDOWS_VERSION_MAJOR
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push dword [0x10669280]
push 0x1a
push str.PHP_WINDOWS_VERSION_MINOR
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push dword [0x10669284]
push 0x1a
push str.PHP_WINDOWS_VERSION_BUILD
call sym.php5.dll_zend_register_long_constant
add esp, 0x50
push edi
push esi
push dword [0x10669288]
push 0x1d
push str.PHP_WINDOWS_VERSION_PLATFORM
call sym.php5.dll_zend_register_long_constant
movzx eax, word [0x1066930c]
push edi
push esi
push eax
push 0x1d
push str.PHP_WINDOWS_VERSION_SP_MAJOR
call sym.php5.dll_zend_register_long_constant
movzx eax, word [0x1066930e]
push edi
push esi
push eax
push 0x1d
push str.PHP_WINDOWS_VERSION_SP_MINOR
call sym.php5.dll_zend_register_long_constant
movzx eax, word [0x10669310]
push edi
push esi
push eax
push 0x1e
push str.PHP_WINDOWS_VERSION_SUITEMASK
call sym.php5.dll_zend_register_long_constant
movzx eax, byte [0x10669312]
add esp, 0x50
push edi
push esi
push eax
push 0x20
push str.PHP_WINDOWS_VERSION_PRODUCTTYPE
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push ebx
push 0x21
push str.PHP_WINDOWS_NT_DOMAIN_CONTROLLER
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push esi
push 0x16
push str.PHP_WINDOWS_NT_SERVER
call sym.php5.dll_zend_register_long_constant
push edi
push esi
push 1
push 0x1b
push str.PHP_WINDOWS_NT_WORKSTATION
call sym.php5.dll_zend_register_long_constant
add esp, 0x50
call fcn.1003fb40
mov edx, dword [0x10667684]
test edx, edx
je 0x103ab187
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040144
push edi
push 3
sub ecx, esi
push ecx
push edx
push 0xb
push str.PHP_BINARY
call sym.php5.dll_zend_register_stringl_constant
add esp, 0x18
call sym.php5.dll_php_output_register_constants
call fcn.1003fa00
call fcn.1003eb90
or esi, 0xffffffff
cmp eax, esi
je 0x10040394
push edi
push 0x10545658
call sym.php5.dll_zend_register_ini_entries
push edi
push 0x1053ad28
call sym.php5.dll_zend_register_ini_entries
mov ecx, dword [0x1066767c]
add esp, 0x10
test ecx, ecx
jne 0x103ab194
xor ecx, ecx
call fcn.1003f880
cmp eax, esi
je 0x100403cb
mov byte [ebp + 0x18], 1
mov dword [ebp + 0x10], str..php
call fcn.1003e890
lea ecx, [ebp + 0x10]
call fcn.1003f830
call fcn.1003f730
call dword [sym.php5.dll_php_register_internal_extensions_func]
cmp eax, esi
je 0x100403d5
mov edx, dword [ebp + 0x24c]
mov ecx, dword [ebp + 0x64]
call fcn.1003f7c0
call fcn.10040710
call sym.php5.dll_zend_startup_modules
push 0x10345560
push sym.php5.dll_zend_extensions
call sym.php5.dll_zend_llist_apply_with_del
pop ecx
pop ecx
call sym.php5.dll_zend_collect_module_handlers
mov edi, dword [0x10667c50]
test edi, edi
jne 0x103ab1ba
xor ebx, ebx
call fcn.1003f760
call fcn.1003f6f0
lea eax, [ebp + 0x64]
push eax
push 5
push str.core
push sym.php5.dll_module_registry
call sym.php5.dll_zend_hash_find
add esp, 0x10
test eax, eax
jne 0x10040251
mov eax, dword [ebp + 0x64]
mov dword [eax + 0x30], 0x105485b0
mov dword [eax + 0x2c], 0x10350250
call fcn.1003f6d0
cmp eax, esi
je 0x103ab1aa
call sym.php5.dll_virtual_cwd_deactivate
push 0x3c
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [0x10660228], 1
mov dword [ebp - 0x80], 0x2000
mov dword [ebp - 0x7c], str.Directive__s_is_deprecated_in_PHP_5.3_and_greater
mov dword [ebp - 0x78], ebx
call sub.MSVCR110.dll_memset
mov eax, dword [0x10669234]
mov dword [ebp + 0x58], eax
lea eax, [ebp + 0x1f8]
push ebx
push eax
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], str.Directive__s_is_no_longer_available_in_PHP
mov dword [ebp - 0x30], str.allow_call_time_pass_reference
mov dword [ebp - 0x2c], str.define_syslog_variables
mov dword [ebp - 0x28], str.highlight.bg
mov dword [ebp - 0x24], str.magic_quotes_gpc
mov dword [ebp - 0x20], str.magic_quotes_runtime
mov dword [ebp - 0x1c], str.magic_quotes_sybase
mov dword [ebp - 0x18], str.register_globals
mov dword [ebp - 0x14], str.register_long_arrays
mov dword [ebp - 0x10], str.safe_mode
mov dword [ebp - 0xc], str.safe_mode_gid
mov dword [ebp - 8], str.safe_mode_include_dir
mov dword [ebp - 4], str.safe_mode_exec_dir
mov dword [ebp], str.safe_mode_allowed_env_vars
mov dword [ebp + 4], str.safe_mode_protected_env_vars
mov dword [ebp + 8], str.zend.ze1_compatibility_mode
mov dword [ebp + 0xc], ebx
mov dword [0x10669234], eax
call sub.MSVCR110.dll__setjmp3
add esp, 0x14
test eax, eax
jne 0x100403df
push 2
lea esi, [ebp - 0x78]
pop eax
mov edi, dword [esi]
mov ebx, esi
test edi, edi
je 0x10040357
lea eax, [ebp + 0x54]
push eax
push edi
call sym.php5.dll_cfg_get_long
pop ecx
pop ecx
test eax, eax
je 0x103ab1fc
add ebx, 4
mov edi, dword [ebx]
test edi, edi
jne 0x10040337
mov eax, dword [ebp + 0x5c]
add esi, 0x48
dec eax
mov dword [ebp + 0x5c], eax
jne 0x1004032f
mov esi, dword [ebp + 0x60]
xor ebx, ebx
mov eax, dword [ebp + 0x58]
mov dword [0x10669234], eax
call sym.php5.dll_sapi_deactivate
push 1
push ebx
push dword [0x10660270]
mov dword [0x10649dd0], ebx
call sym.php5.dll_zend_mm_shutdown
add esp, 0xc
call dword [sym.php5.dll_zend_interned_strings_snapshot]
call sym.php5.dll_virtual_cwd_activate
mov eax, esi
mov ecx, dword [ebp + 0x238]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10311bec
add ebp, 0x23c
leave
ret
push eax
call esi
pop ecx
jmp 0x1003fc0d
mov esi, 0x1053ac9c
jmp 0x1003ff9b
mov eax, 0x1053ac9c
jmp 0x1003ffbf
push str.PHP:__Unable_to_initialize_stream_url_wrappers._n
jmp 0x103ab1af
push str.Unable_to_start_builtin_modules_n
jmp 0x103ab1af
mov dword [ebp + 0x60], esi
jmp 0x10040365
xor eax, eax
jmp 0x10040396
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nGetVersionEx_unusable.__d_n
jmp 0x103ab178
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._nwinsock.dll_unusable.__d_n
call sym.php5.dll_php_printf
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x10040396
push edi
push esi
push edi
push 0x1053ac9c
jmp 0x10040152
mov eax, dword [0x10667d8c]
xor edx, edx
cmp byte [ecx], dl
cmovne eax, edx
mov dword [0x10667d8c], eax
jmp 0x100401a2
push str.Unable_to_disable_unsupported_functions_n
call sym.php5.dll_php_printf
pop ecx
jmp 0x10040394
lea eax, [ebp + 0x64]
push eax
push 9
push str.standard
push sym.php5.dll_module_registry
call sym.php5.dll_zend_hash_find
add esp, 0x10
xor ebx, ebx
test eax, eax
jne 0x1004021a
mov eax, dword [ebp + 0x64]
push 1
push ebx
push edi
push ebx
mov dword [0x10669438], eax
call sym.php5.dll_zend_register_functions
add esp, 0x10
mov dword [0x10669438], ebx
jmp 0x1004021a
cmp dword [ebp + 0x54], 0
je 0x1004034b
push edi
push dword [esi - 4]
push dword [esi - 8]
call sym.php5.dll_zend_error
add esp, 0xc
jmp 0x1004034b