Function at 0x10036a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x11c4
call fcn.1000ec40
mov eax, dword [esp + 0x11cc]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x38], 1
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0xffffffff
mov edi, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x10037658
mov ebp, dword [esp + 0x11e0]
mov dword [eax], esi
test ebp, ebp
jne 0x10036ac8
lea esi, [ebp + 0x10]
jmp 0x10037648
mov dword [ebp], esi
mov dword [esp + 0x50], 0x10067a08
mov dword [esp + 0x54], 0x10067b08
mov dword [esp + 0x58], 0x10067c08
mov dword [esp + 0x5c], 0x10067d48
test edi, 0xd8008580
je 0x10036afd
mov esi, 0x11
jmp 0x10037637
mov ecx, edi
mov dword [esp + 0xb4], esi
and ecx, 0x10000
cmp byte [ebx], 0x28
mov dword [esp + 0x28], ecx
jne 0x10036e52
nop dword [eax]
cmp byte [ebx + esi + 1], 0x2a
jne 0x10036e47
push 5
add ebx, 2
add ebx, esi
push str.UTF8_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036b52
add esi, 7
or edi, 0x800
jmp 0x10036e2b
push 4
push str.UTF_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036b74
add esi, 6
or edi, 0x800
jmp 0x10036e2b
push 4
push str.UCP_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036b96
add esi, 6
or edi, 0x20000000
jmp 0x10036e2b
push 0x10
push str.NO_AUTO_POSSESS_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036bb8
add esi, 0x12
or edi, 0x20000
jmp 0x10036e2b
push 0xd
push str.NO_START_OPT_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036bda
add esi, 0xf
or edi, 0x4000000
jmp 0x10036e2b
push 0xc
push str.LIMIT_MATCH
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036c83
mov eax, dword [esp + 0x18]
lea ebp, [esi + 0xe]
add eax, ebp
xor ebx, ebx
mov dword [esp + 0x34], eax
movzx eax, byte [eax]
push eax
call fcn.1001afbe
add esp, 4
test eax, eax
je 0x10036c50
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
nop dword [eax]
cmp ebx, 0x19999998
ja 0x10036c48
movzx eax, byte [esi]
lea ecx, [ebx - 6]
inc ebp
lea ecx, [ebx + ecx*4]
lea esi, [edi + ebp]
lea ebx, [eax + ecx*2]
movzx eax, byte [esi]
push eax
call fcn.1001afbe
add esp, 4
test eax, eax
jne 0x10036c20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov al, byte [eax + ebp]
cmp al, 0x29
jne 0x10036e43
mov eax, dword [esp + 0x30]
cmp ebx, eax
jae 0x10036c72
or dword [esp + 0xb4], 0x2000
cmp ebx, eax
lea esi, [ebp + 1]
cmovae ebx, eax
mov dword [esp + 0x30], ebx
jmp 0x10036e2f
push 0x10
push str.LIMIT_RECURSION
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036d25
mov eax, dword [esp + 0x18]
lea ebp, [esi + 0x12]
add eax, ebp
xor ebx, ebx
mov dword [esp + 0x34], eax
movzx eax, byte [eax]
push eax
call fcn.1001afbe
add esp, 4
test eax, eax
je 0x10036cf2
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
cmp ebx, 0x19999998
ja 0x10036cea
movzx eax, byte [esi]
lea ecx, [ebx - 6]
inc ebp
lea ecx, [ebx + ecx*4]
lea esi, [edi + ebp]
lea ebx, [eax + ecx*2]
movzx eax, byte [esi]
push eax
call fcn.1001afbe
add esp, 4
test eax, eax
jne 0x10036cc2
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov al, byte [eax + ebp]
cmp al, 0x29
jne 0x10036e43
mov eax, dword [esp + 0x20]
cmp ebx, eax
jae 0x10036d14
or dword [esp + 0xb4], 0x4000
cmp ebx, eax
lea esi, [ebp + 1]
cmovae ebx, eax
mov dword [esp + 0x20], ebx
jmp 0x10036e2f
push 3
push 0x1007ca7c
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036d4e
mov eax, 0x100000
and edi, 0xff8fffff
add esi, 5
or edi, eax
jmp 0x10036e2b
push 3
push 0x1007ca80
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036d77
mov eax, 0x200000
and edi, 0xff8fffff
add esi, 5
or edi, eax
jmp 0x10036e2b
push 5
push str.CRLF_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036da0
mov eax, 0x300000
and edi, 0xff8fffff
add esi, 7
or edi, eax
jmp 0x10036e2b
push 4
push str.ANY_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036dc6
mov eax, 0x400000
and edi, 0xff8fffff
add esi, 6
or edi, eax
jmp 0x10036e2b
push 8
push str.ANYCRLF_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036dec
mov eax, 0x500000
and edi, 0xff8fffff
add esi, 0xa
or edi, eax
jmp 0x10036e2b
push 0xc
push str.BSR_ANYCRLF_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036e07
mov eax, 0x800000
jmp 0x10036e20
push 0xc
push str.BSR_UNICODE_
push ebx
call fcn.1001c440
add esp, 0xc
test eax, eax
jne 0x10036e43
mov eax, 0x1000000
and edi, 0xfe7fffff
or edi, eax
add esi, 0xe
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp byte [esi + ebx], 0x28
je 0x10036b20
jmp 0x10036e47
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x11e0]
mov eax, edi
shr eax, 0xb
and eax, 1
mov dword [esp + 0x40], eax
je 0x10036e96
test ecx, ecx
je 0x10036e6e
mov esi, 0x4e
jmp 0x10037648
test edi, 0x2000
jne 0x10036e96
push ebp
or edx, 0xffffffff
mov ecx, ebx
call fcn.100503d0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x10036e96
mov esi, 0x2c
jmp 0x10037648
mov eax, edi
and eax, 0x1800000
cmp eax, 0x1800000
je 0x10037632
mov eax, edi
and eax, 0x700000
cmp eax, 0x300000
ja 0x10036f1b
je 0x10036ef9
test eax, eax
je 0x10036ece
cmp eax, 0x100000
je 0x10036ef2
cmp eax, 0x200000
jne 0x10037632
mov eax, 0xa
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 1
mov byte [esp + 0xdc], al
jmp 0x10036f45
mov eax, 0xd
jmp 0x10036ed3
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 2
mov word [esp + 0xdc], 0xa0d
jmp 0x10036f45
cmp eax, 0x400000
je 0x10036f3a
cmp eax, 0x500000
jne 0x10037632
mov dword [esp + 0xd4], 2
jmp 0x10036f45
mov dword [esp + 0xd4], 1
lea eax, [esp + 0x1d0]
mov dword [esp + 0x9c], 0
mov ecx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x94], 0
lea edx, [ecx + 1]
mov dword [esp + 0x90], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x8c], 0x1000
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], 0x14
mov dword [esp + 0x68], ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036ff8
sub ecx, edx
mov dword [esp + 0xb8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x98], 0
lea eax, [ecx + ebx]
mov dword [esp + 0xb0], edi
mov dword [esp + 0x6c], eax
mov ecx, edi
lea eax, [esi + ebx]
mov dword [esp + 0x74], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1d0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x1d4], 0x83
push eax
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10037bd0
mov esi, dword [esp + 0x58]
add esp, 0x34
test esi, esi
jne 0x10037637
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10000
jle 0x100370c3
mov esi, 0x14
jmp 0x10037637
mov eax, dword [esp + 0x84]
lea esi, [ecx + 0x38]
imul eax, dword [esp + 0x80]
add esi, eax
push esi
call fcn.10036a50
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x100370ee
lea esi, [eax + 0x15]
jmp 0x10037637
mov dword [ebp], 0x50435245
xorps xmm0, xmm0
mov dword [ebp + 4], esi
mov eax, dword [esp + 0xb0]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], eax
xor eax, eax
mov dword [ebp + 0x18], eax
mov eax, 0x38
mov word [ebp + 0x22], ax
movzx eax, word [esp + 0x84]
mov word [ebp + 0x24], ax
movzx eax, word [esp + 0x80]
mov word [ebp + 0x26], ax
xor eax, eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0
movzx edx, word [ebp + 0x22]
add edx, ebp
mov dword [esp + 0x7c], edx
movzx eax, word [ebp + 0x24]
movzx ebx, word [ebp + 0x26]
imul ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xd0], 0
add ebx, edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebx
movups xmmword [esp + 0xb8], xmm0
test eax, eax
jle 0x10037226
mov esi, dword [esp + 0x78]
mov edi, eax
mov dword [esp + 0x80], 0
add esi, 4
nop dword [eax]
push dword [esi + 4]
mov edx, dword [esi - 4]
lea ecx, [esp + 0x54]
push dword [esi]
call fcn.10037670
dec edi
lea esi, [esi + 0xc]
add esp, 8
test edi, edi
jg 0x100371f0
cmp dword [esp + 0x88], 0x14
mov edi, dword [esp + 0x1c]
jle 0x10037226
push dword [esp + 0x78]
call fcn.10036a40
add esp, 4
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x14]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x54]
push eax
push 0
lea eax, [esp + 0x48]
mov byte [ebx], 0x83
push eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x28], ebx
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10037bd0
movzx eax, word [esp + 0xc4]
add esp, 0x34
mov word [ebp + 0x1e], ax
movzx eax, word [esp + 0x9c]
mov word [ebp + 0x20], ax
movzx eax, word [esp + 0x98]
mov word [ebp + 0x1c], ax
mov eax, dword [esp + 0xb4]
or eax, 1
mov dword [ebp + 0xc], eax
cmp dword [esp + 0xbc], 0
je 0x100372c0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0xffffffff
jmp 0x100372d0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x100372e7
mov eax, dword [esp + 0x2c]
mov ecx, 0x16
cmp byte [eax], 0
cmovne esi, ecx
mov eax, dword [esp + 0x14]
mov ecx, 0x17
mov byte [eax], 0
inc eax
mov dword [esp + 0x24], eax
sub eax, ebx
cmp eax, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
cmovg esi, ecx
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jbe 0x100373bf
xor edx, edx
mov dword [esp + 0x28], 0xffffffff
test esi, esi
jne 0x100373bf
cmp eax, ecx
jbe 0x100373bf
sub eax, 2
mov dword [esp + 0x70], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
je 0x100373b6
cmp byte [ecx + ebx - 1], 0x75
jne 0x100373b6
lea eax, [ecx + ebx]
inc ecx
add ecx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
movzx ecx, byte [eax]
mov eax, dword [esp + 0x3c]
shl ecx, 8
movzx eax, byte [eax]
or ecx, eax
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x28]
je 0x10037387
mov edx, dword [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.1003fb70
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
test edx, edx
je 0x100373af
mov eax, dword [esp + 0x38]
mov ecx, edx
sub ecx, ebx
sar ecx, 8
mov byte [eax], cl
mov al, dl
mov ecx, dword [esp + 0x3c]
sub al, bl
mov byte [ecx], al
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
jmp 0x10037323
mov esi, 0x35
jmp 0x100373bb
mov esi, 0xa
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x8c], 0x1000
jle 0x100373d5
push ecx
call fcn.10036a40
add esp, 4
mov dword [esp + 0x60], 0
test esi, esi
jne 0x100373f0
mov ax, word [ebp + 0x20]
cmp ax, word [ebp + 0x1e]
jbe 0x100373fe
mov esi, 0xf
push ebp
call fcn.10036a40
add esp, 4
jmp 0x10037637
mov esi, dword [esp + 0x40]
test edi, 0x20000
jne 0x1003741b
lea eax, [esp + 0x50]
mov edx, esi
push eax
mov ecx, ebx
call fcn.1003ceb0
add esp, 4
cmp dword [esp + 0xc4], 0
je 0x100374c3
push 0xffffffffffffffff
mov edx, esi
mov ecx, ebx
call fcn.1003fb70
mov edi, eax
add esp, 4
test edi, edi
je 0x100374c3
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
jne 0x100374aa
movzx esi, byte [edi - 2]
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
lea eax, [esp + 0x50]
push ecx
push eax
push 1
mov bl, byte [esi + edi - 3]
mov byte [esi + edi - 3], cl
mov ecx, edi
mov edx, dword [ebp + 8]
shr edx, 0xb
and edx, 1
call fcn.1003eb80
mov edx, eax
mov byte [esi + edi - 3], bl
add esp, 0xc
test edx, edx
js 0x100374f6
mov ecx, dword [esp + 0x98]
cmp edx, ecx
mov esi, dword [esp + 0x40]
cmovg ecx, edx
sar eax, 8
mov dword [esp + 0x98], ecx
mov byte [edi + 1], al
mov byte [edi + 2], dl
push 0xffffffffffffffff
lea ecx, [edi + 3]
mov edx, esi
call fcn.1003fb70
mov edi, eax
add esp, 4
test edi, edi
jne 0x10037441
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebp + 8]
mov eax, ecx
test cl, 0x10
jne 0x100375a6
lea eax, [esp + 0x50]
xor edx, edx
push 0
push eax
mov ecx, ebx
call fcn.10037ab0
add esp, 8
test eax, eax
je 0x1003752a
mov eax, dword [ebp + 8]
or eax, 0x10
mov dword [ebp + 8], eax
jmp 0x100375a6
cmp edx, 0xfffffffe
jne 0x1003750c
push ebp
lea esi, [edx + 0x26]
call fcn.10036a40
add esp, 4
jmp 0x10037637
cmp edx, 0xfffffffc
mov eax, 0x46
mov esi, 0x19
push ebp
cmove esi, eax
call fcn.10036a40
add esp, 4
jmp 0x10037637
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x10037577
push 0
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10037760
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x1003757b
mov edi, dword [ebp + 8]
lea eax, [esp + 0x50]
push 0
push 0
push eax
xor edx, edx
mov dword [esp + 0x58], edi
mov ecx, ebx
call fcn.10037900
add esp, 0xc
test eax, eax
je 0x100375a2
or dword [ebp + 0xc], 0x100
mov eax, edi
jmp 0x100375a6
mov ecx, dword [esp + 0x34]
movzx edx, cl
mov word [ebp + 0x18], dx
test al, 1
je 0x10037599
mov eax, dword [esp + 0x54]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x10037599
or dword [ebp + 0xc], 0x20
or dword [ebp + 0xc], 0x10
mov eax, dword [ebp + 8]
jmp 0x100375a6
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x100375e1
test al, 0x10
je 0x100375b7
test cl, 2
je 0x100375e1
mov eax, dword [esp + 0x30]
movzx edx, al
mov word [ebp + 0x1a], dx
test cl, 1
je 0x100375dd
mov eax, dword [esp + 0x54]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x100375dd
or dword [ebp + 0xc], 0x80
or dword [ebp + 0xc], 0x40
mov edi, dword [esp + 0x24]
push 0
lea eax, [esp + 0x54]
mov edx, edi
push eax
push esi
mov ecx, ebx
call fcn.1003e590
add esp, 0xc
test eax, eax
jne 0x1003761e
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x100375e5
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c4
ret
or dword [ebp + 0xc], 0x8000
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c4
ret
mov esi, 0x38
mov ecx, dword [esp + 0x11e0]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, esi
call fcn.1003fb40
mov ecx, dword [esp + 0x11dc]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c4
ret