Function at 0x1000f0b0
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x38
mov eax, dword [sym.php5.dll_compiler_globals]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ebx, edx
mov dword [esp + 0x28], ebp
test eax, eax
jle 0x1000f814
mov esi, dword [0x10668f08]
mov esi, dword [esi + eax*4 - 4]
cmp dword [ebx], 0x10
je 0x1000f313
cmp dword [esi + 8], 1
jne 0x1000f523
mov edi, dword [esi]
mov dword [esp + 0x24], edi
cmp byte [edi + 0x20], 0x53
jne 0x1000f523
cmp byte [edi + 0x21], 1
jne 0x1000f523
mov edx, dword [0x10668f98]
mov ecx, dword [edi + 0xc]
mov eax, dword [edx + 0x74]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov edx, eax
lea eax, [ecx + ecx*2]
mov dword [esp + 0x20], ecx
lea edx, [edx + eax*8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
cmp byte [edx + eax*8 + 0xc], 6
mov edx, dword [esp + 0x14]
jne 0x1000f329
mov eax, dword [edi + 0x18]
and eax, 0x30000000
cmp eax, 0x30000000
je 0x1000f329
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0x106cef7d
jne 0x1000f329
cmp dword [eax + 4], 4
jne 0x1000f329
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov edx, str.this
cmp eax, dword [str.this]
jne 0x10379892
xor eax, eax
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x1000f329
mov eax, dword [edx + 0x74]
lea esi, [ecx + ecx*2]
shl esi, 3
add eax, esi
cmp byte [eax + 0xc], 3
jbe 0x1000f1b1
push eax
call sym.php5.dll__zval_dtor_func
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add esp, 4
mov ebx, dword [edx + 0x78]
lea eax, [ecx + 1]
cmp eax, ebx
jne 0x1000f807
lea eax, [ebx - 1]
mov dword [edx + 0x78], eax
mov esi, dword [esp + 0x4c]
mov byte [edi + 0x21], 8
mov al, byte [esi]
mov byte [edi + 0x22], al
cmp dword [esi], 1
jne 0x1000f7ea
mov ebx, dword [0x10668f98]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
mov dword [ebx + 0x78], eax
mov ecx, dword [0x10669094]
cmp edx, ecx
jge 0x103798ce
mov al, byte [esi + 0x14]
cmp al, 6
jne 0x103798ff
mov eax, dword [esi + 0xc]
push 1
inc eax
push eax
push dword [esi + 8]
call dword [sym.php5.dll_zend_new_interned_string]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x74]
movq xmm0, qword [esi + 8]
lea ecx, [edx + edx*2]
movq qword [eax + ecx*8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + ecx*8 + 8], xmm0
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [ebx + 0x74]
mov byte [eax + ecx*8 + 0xd], 1
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov dword [edi + 0x10], edx
movzx eax, byte [edi + 0x20]
cmp eax, 0x53
jne 0x1037990c
mov byte [edi + 0x20], 0x55
cmp byte [edi + 0x22], 1
jne 0x1000f2ee
mov eax, dword [edi + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
cmp byte [eax + ecx*8 + 0xc], 6
lea ebx, [eax + ecx*8]
mov dword [esp + 0x1c], ebx
jne 0x1000f2ee
mov esi, dword [ebx]
cmp esi, dword [0x106690c0]
jae 0x1000f5d7
cmp esi, dword [0x106690bc]
jb 0x1000f5d7
mov edx, dword [esi - 0x24]
mov dword [ebx + 0x10], edx
mov eax, dword [edi + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x80]
mov dword [ecx + edx*8 + 0x14], eax
mov eax, dword [0x10668f98]
add dword [eax + 0x80], 2
mov eax, dword [0x10668f98]
test byte [eax + 0xc], 0x10
jne 0x10379953
movzx eax, byte [edi + 0x23]
mov dword [ebp], eax
cmp eax, 1
mov eax, dword [edi + 0x14]
je 0x103799ad
mov dword [ebp + 8], eax
mov dword [ebp + 0x18], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [0x10668f98]
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], edx
cmp eax, dword [edx + 0x58]
je 0x10379887
mov eax, dword [ebx + 0x18]
test al, 2
jne 0x1000f532
cmp eax, 8
je 0x1000f532
mov eax, dword [0x10668f94]
mov ecx, dword [edx + 0x34]
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x40], eax
mov eax, ecx
shl eax, 4
mov edi, 0xfffffff0
sub edi, eax
lea eax, [ecx + 1]
mov dword [edx + 0x34], eax
cmp dword [ebx], 1
mov al, byte [ebx]
mov dword [esp + 0x44], 0
movq qword [esp + 0x34], xmm0
movq qword [esp + 0x2c], xmm0
mov byte [esp + 0x44], 0x55
mov byte [esp + 0x47], 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x45], al
je 0x103799e3
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
cmp dword [edi], 1
mov al, byte [edi]
mov byte [esp + 0x13], al
mov byte [esp + 0x46], al
jne 0x1000f6d1
mov ecx, dword [0x10668f98]
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx + 0x78]
lea eax, [ebx + 1]
mov dword [ecx + 0x78], eax
mov edx, dword [0x10669094]
cmp ebx, edx
jge 0x1000f597
mov al, byte [edi + 0x14]
cmp al, 6
jne 0x10379a04
mov eax, dword [edi + 0xc]
push 1
inc eax
push eax
push dword [edi + 8]
call dword [sym.php5.dll_zend_new_interned_string]
add esp, 0xc
mov dword [edi + 8], eax
mov edx, dword [esp + 0x18]
movq xmm0, qword [edi + 8]
mov eax, dword [edx + 0x74]
lea ecx, [ebx + ebx*2]
movq qword [eax + ecx*8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + ecx*8 + 8], xmm0
mov eax, dword [edx + 0x74]
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [edx + 0x74]
mov byte [eax + ecx*8 + 0xd], 1
mov eax, dword [edx + 0x74]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [edx + 0x74]
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov al, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
cmp al, 1
jne 0x1000f4b8
mov eax, dword [0x10668f98]
lea edi, [ebx + ebx*2]
mov ecx, dword [eax + 0x74]
shl edi, 3
add ecx, edi
mov dword [esp + 0x20], edi
cmp byte [ecx + 0xc], 6
mov dword [esp + 0x1c], ecx
jne 0x1000f4b8
mov ebx, dword [ecx]
cmp ebx, dword [0x106690c0]
jae 0x1000f6d9
cmp ebx, dword [0x106690bc]
jb 0x1000f6d9
mov edx, dword [ebx - 0x24]
mov dword [ecx + 0x10], edx
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x80]
mov dword [ecx + edi + 0x14], eax
mov eax, dword [0x10668f98]
add dword [eax + 0x80], 2
mov eax, dword [0x10668f98]
test byte [eax + 0xc], 0x10
jne 0x10379a11
mov eax, dword [esp + 0x14]
mov dword [ebp + 8], eax
mov dword [ebp], 4
mov dword [ebp + 0x18], 0
mov eax, dword [esi + 0xc]
add eax, 0xb
cmp byte [esi + 0x14], 0
push eax
jne 0x10379a6b
call sym.php5.dll__emalloc
add esp, 4
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [ecx], 0
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000f51f
mov dword [esi], ecx
push dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
lea eax, [ecx + 8]
push eax
mov dword [esi + 4], ecx
call sub.MSVCR110.dll_memcpy
add esp, 0xc
inc dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov dword [eax], ecx
jmp 0x1000f4fd
mov edx, dword [0x10668f98]
mov dword [esp + 0x14], edx
jmp 0x1000f329
cmp dword [ebx], 1
mov eax, dword [0x10668f94]
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x40], eax
mov al, byte [ebx]
mov dword [esp + 0x44], 0
movq qword [esp + 0x2c], xmm0
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x44], 0x9c
mov byte [esp + 0x45], al
je 0x103799d2
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push esi
mov word [esp + 0x4e], 0x408
call sym.php5.dll_zend_llist_add_element
mov edx, dword [0x10668f98]
add esp, 8
jmp 0x1000f33d
mov eax, ebx
sub eax, edx
and eax, 0xfffffff0
add edx, 0x10
add eax, edx
mov dword [0x10669094], eax
mov edx, dword [ecx + 0x74]
mov ecx, dword [0x10660270]
lea eax, [eax + eax*2]
shl eax, 3
cmp dword [ecx], 0
push eax
je 0x103799f6
call fcn.1000d2d0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0x74], ecx
jmp 0x1000f3d8
mov eax, dword [ebx + 4]
inc eax
mov dword [esp + 0x18], eax
mov edx, 0x1505
cmp eax, 8
jb switch.0x1000f678
mov edi, eax
shr eax, 3
mov dword [esp + 0x20], eax
mov ebx, eax
movsx eax, byte [esi]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 7]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
add esi, 8
sub edi, 8
dec ebx
jne 0x1000f5f8
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
jmp dword [eax*4 + 0x1000f81c]
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
jmp 0x1000f2b8
mov ebx, dword [edi + 8]
jmp 0x1000f445
mov eax, dword [ecx + 4]
inc eax
mov dword [esp + 0x18], eax
mov edx, 0x1505
cmp eax, 8
jb switch.0x1000f784
mov edi, eax
shr eax, 3
mov dword [esp + 0x24], eax
mov ebp, eax
lea ebx, [ebx]
movsx eax, byte [ebx]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebx + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebx + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebx + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebx + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebx + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebx + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebx + 7]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
add ebx, 8
sub edi, 8
dec ebp
jne 0x1000f700
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
jmp dword [eax*4 + 0x1000f83c]
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
inc ebx
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebx]
add edx, eax
jmp case.0x1000f678.7
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
jmp 0x1000f268
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
jmp case.0x1000f678.5
mov eax, dword [edx + 0x74]
mov byte [eax + esi + 0xc], 0
jmp 0x1000f1c5
xor esi, esi
jmp 0x1000f0d6
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0x1004d205
mov byte [esp + 0x4e], al
mov eax, dword [esp + 0x58]
and dword [ebx + 0x18], 0
or dword [esp + 0x44], 0x30000000
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], eax
lea eax, [esp + 0x34]
push eax
push ebp
mov dword [ebx], 4
call sym.php5.dll_zend_llist_add_element
jmp 0x1004d0bb
lea edx, [esp + 0x58]
mov byte [esp + 0x4e], 1
call fcn.10049cb0
jmp 0x1004d1c3
mov dword [ebx], 8
jmp 0x1000f523
mov eax, dword [esp + 0x18]
mov al, byte [eax]
cmp al, byte [edx]
jne 0x103798c4
mov eax, dword [esp + 0x18]
mov al, byte [eax + 1]
cmp al, byte [edx + 1]
jne 0x103798c4
mov eax, dword [esp + 0x18]
mov al, byte [eax + 2]
cmp al, byte [edx + 2]
jne 0x103798c4
mov eax, dword [esp + 0x18]
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x1000f181
sbb eax, eax
or eax, 1
jmp 0x1000f183
mov eax, edx
sub eax, ecx
and eax, 0xfffffff0
add eax, 0x10
add eax, ecx
mov dword [0x10669094], eax
lea eax, [eax + eax*2]
push 0
shl eax, 3
push eax
push dword [ebx + 0x74]
call sym.php5.dll__erealloc
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx + 0x74], eax
jmp 0x1000f1fc
cmp al, 8
jne 0x1000f221
jmp 0x1000f207
sub eax, 0x50
cmp eax, 0xf
ja case.0x1037991f.81
movzx eax, byte [eax + 0x10379abb]
jmp dword [eax*4 + 0x10379a9f]
mov byte [edi + 0x20], 0x52
jmp case.0x1037991f.81
mov byte [edi + 0x20], 0x58
jmp case.0x1037991f.81
mov byte [edi + 0x20], 0x5b
jmp case.0x1037991f.81
mov byte [edi + 0x20], 0x61
jmp case.0x1037991f.81
mov byte [edi + 0x20], 0x5e
jmp case.0x1037991f.81
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x1000f2ee
mov eax, dword [eax + 0x80]
push 0
shl eax, 2
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, dword [0x10668f98]
add esp, 0xc
mov dword [ecx + 0x7c], eax
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 4], 0
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 8], 0
jmp 0x1000f2ee
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
movq xmm0, qword [eax + ecx*8]
movq qword [ebp + 8], xmm0
movq xmm0, qword [eax + ecx*8 + 8]
movq qword [ebp + 0x10], xmm0
jmp 0x1000f517
mov ecx, dword [esp + 0x14]
lea edx, [ebx + 8]
call fcn.10008bd0
jmp 0x1000f56f
mov ecx, dword [0x10668f98]
lea edx, [ebx + 8]
call fcn.10008bd0
jmp 0x1000f39c
mov eax, dword [ecx + 0xc]
push edx
call eax
add esp, 8
jmp 0x1000f5c9
cmp al, 8
jne 0x1000f3f9
jmp 0x1000f3e3
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x1000f4b8
mov eax, dword [eax + 0x80]
push 0
shl eax, 2
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, dword [0x10668f98]
add esp, 0xc
mov dword [ecx + 0x7c], eax
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 4], 0
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 8], 0
jmp 0x1000f4b8
call dword [sym.imp.MSVCR110.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x1000f4e8
push str.Out_of_memory_n
call dword [sym.imp.MSVCR110.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCR110.dll_exit]
nop
cdq
aaa
adc byte [ebp - 0xe], dh
add byte [eax], dl
das
cdq
aaa
adc byte [eax], bh
cdq
aaa
adc byte [edx - 0x67], cl
aaa
adc byte [ecx - 0x67], al
aaa
adc byte [ecx - 0xe], bh
add byte [eax], dl
add byte [esi], al
push es
add dword [esi], eax
push es
add al, byte [esi]
push es
add eax, dword [esi]
push es
add al, 6
push es
add eax, 8157571
je 0x1004d1b2
mov eax, dword [ecx + 0x80]
push 0
shl eax, 2
push eax
push dword [ecx + 0x7c]
call sym.php5.dll__erealloc
mov ecx, dword [0x10668f98]
add esp, 0xc
mov dword [ecx + 0x7c], eax
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
and dword [eax + ecx*4 - 4], 0
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
and dword [eax + ecx*4 - 8], 0
mov ecx, dword [0x10668f98]
jmp 0x1004d1b2