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

Disassembly:
mov eax, 0x10ac
call fcn.100d6560
mov eax, dword [0x1017a974]
xor eax, esp
mov dword [esp + 0x10a8], eax
mov eax, dword [esp + 0x10bc]
mov ecx, dword [esp + 0x10b8]
mov edx, dword [esp + 0x10c0]
push ebx
mov ebx, dword [esp + 0x10b4]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
cmp eax, esi
jne 0x10126103
cmp ecx, esi
je 0x101260e9
mov dword [ecx], 0x63
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10a8]
xor ecx, esp
call fcn.100d5eaf
add esp, 0x10ac
ret
mov dword [eax], esi
cmp ecx, esi
je 0x1012610b
mov dword [ecx], esi
push ebp
cmp edx, esi
jne 0x1012611a
mov eax, 0x10
jmp 0x10126871
mov eax, dword [esp + 0x10d4]
mov dword [edx], esi
cmp eax, esi
jne 0x10126133
mov eax, 0x101577c0
mov dword [esp + 0x10d4], eax
mov ebp, dword [esp + 0x10c4]
lea ecx, [eax + 0x100]
lea edx, [eax + 0x200]
mov dword [esp + 0x44], eax
add eax, 0x340
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
test ebp, 0xd8038580
je 0x1012616d
mov eax, 0x11
jmp 0x10126865
cmp byte [ebx], 0x28
jne 0x10126303
jmp 0x10126182
xor esi, esi
cmp byte [ebx + edi + 1], 0x2a
jne 0x10126303
push 5
lea esi, [ebx + edi + 2]
push str.UTF8_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x101261b3
add edi, 7
or ebp, 0x800
jmp 0x101262f7
push 4
push str.UTF_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x101261d5
add edi, 6
or ebp, 0x800
jmp 0x101262f7
push 4
push str.UCP_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x101261f7
add edi, 6
or ebp, 0x20000000
jmp 0x101262f7
push 0xd
push str.NO_START_OPT_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x10126219
add edi, 0xf
or ebp, 0x4000000
jmp 0x101262f7
push 3
push 0x10146be8
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x10126240
add edi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x101262f5
push 3
push 0x10146be4
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x10126267
add edi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x101262f5
push 5
push str.CRLF_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x1012628b
add edi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x101262f5
push 4
push str.ANY_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x101262af
add edi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x101262f5
push 8
push str.ANYCRLF_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x101262d3
add edi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x101262f5
push 0xc
push str.BSR_ANYCRLF_
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x1012633b
add edi, 0xe
mov eax, 0x800000
and ebp, 0xfe7fffff
or ebp, eax
cmp byte [ebx + edi], 0x28
je 0x10126180
xor esi, esi
mov eax, ebp
shr eax, 0xb
and eax, 1
mov dword [esp + 0x28], eax
je 0x10126359
test ebp, 0x2000
jne 0x10126359
mov eax, dword [esp + 0x38]
push eax
push 0xffffffffffffffff
push ebx
call fcn.101272b0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x10126359
mov eax, 0x2c
jmp 0x10126871
push 0xc
push 0x10146ba8
push esi
call fcn.100da1cc
add esp, 0xc
test eax, eax
jne 0x10126301
add edi, 0xe
mov eax, 0x1000000
jmp 0x101262ef
mov ecx, ebp
and ecx, 0x1800000
cmp ecx, 0x1800000
jne 0x10126373
mov eax, 0x38
jmp 0x10126865
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
mov ecx, 2
jg 0x101263d7
je 0x101263d0
cmp eax, esi
je 0x1012639a
cmp eax, 0x100000
je 0x101263c9
cmp eax, 0x200000
jne 0x101263e5
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0xac], esi
jle 0x10126405
mov edx, eax
sar edx, 8
mov dword [esp + 0xb0], ecx
mov byte [esp + 0xb4], dl
mov byte [esp + 0xb5], al
jmp 0x10126417
mov eax, 0xd
jmp 0x1012639f
mov eax, 0xd0a
jmp 0x1012639f
cmp eax, 0x400000
je 0x101263f8
cmp eax, 0x500000
je 0x101263ef
mov eax, 0x38
jmp 0x10126865
mov dword [esp + 0xac], ecx
jmp 0x10126417
mov dword [esp + 0xac], 1
jmp 0x10126417
mov dword [esp + 0xb0], 1
mov byte [esp + 0xb4], al
lea eax, [esp + 0xb8]
mov edx, eax
mov ecx, eax
mov dword [esp + 0x58], eax
mov eax, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x5c], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10126464
sub eax, edx
add eax, ebx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
lea eax, [esp + 0xc4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x54]
push eax
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x54]
push eax
add edi, ebx
push ebp
mov dword [esp + 0xd8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0xf4], 0x7d
call fcn.101257d0
mov eax, dword [esp + 0x4c]
add esp, 0x3c
cmp eax, esi
jne 0x10126865
mov ebp, dword [esp + 0x18]
cmp ebp, 0x10000
jle 0x10126513
mov eax, 0x14
jmp 0x10126865
mov ecx, dword [esp + 0x74]
imul ecx, dword [esp + 0x70]
lea ebx, [ecx + ebp + 0x28]
push ebx
call dword [0x1017d080]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10126538
lea eax, [esi + 0x15]
jmp 0x10126861
mov dword [esi + 4], ebx
mov dword [esi], 0x50435245
mov edx, dword [esp + 0x94]
mov dword [esi + 8], edx
movzx eax, word [esp + 0x98]
mov word [esi + 0xc], ax
xor ecx, ecx
mov word [esi + 0x14], cx
xor edx, edx
mov word [esi + 0x16], dx
mov eax, 0x28
mov word [esi + 0x18], ax
movzx ecx, word [esp + 0x74]
mov word [esi + 0x1a], cx
movzx edx, word [esp + 0x70]
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esp + 0x10d4]
mov word [esi + 0x1c], dx
mov ecx, eax
sub ecx, 0x101577c0
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x20], ecx
xor ecx, ecx
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x70], ecx
movzx eax, word [esi + 0x18]
add eax, esi
mov dword [esp + 0x6c], eax
movzx edx, word [esi + 0x1a]
movzx ebx, word [esi + 0x1c]
imul ebx, edx
push ecx
add ebx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x48]
push edx
push ecx
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x54]
push edx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x90], ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], ebx
push ecx
lea edx, [esp + 0x54]
mov byte [ebx], 0x7d
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], ebx
call fcn.101257d0
movzx ecx, word [esp + 0xb8]
mov word [esi + 0x10], cx
movzx edx, word [esp + 0xc4]
add esp, 0x3c
mov word [esi + 0x12], dx
movzx eax, word [esp + 0x84]
mov word [esi + 0xe], ax
mov ecx, dword [esp + 0x98]
or ecx, 1
mov word [esi + 0xc], cx
cmp dword [esp + 0xa0], 0
je 0x1012669c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0x10], 0
jne 0x101266b4
mov edx, dword [esp + 0x14]
cmp byte [edx], 0
je 0x101266b4
mov dword [esp + 0x10], 0x16
mov eax, dword [esp + 0x20]
mov byte [eax], 0
inc eax
sub eax, ebx
cmp eax, ebp
jle 0x101266ca
mov dword [esp + 0x10], 0x17
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0x54]
jbe 0x10126747
xor eax, eax
or edx, 0xffffffff
cmp dword [esp + 0x10], eax
jne 0x10126747
nop
cmp ecx, dword [esp + 0x54]
jbe 0x10126747
sub ecx, 2
mov dword [esp + 0x68], ecx
movzx ebp, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or ebp, ecx
movzx edi, byte [ebx + ebp]
movzx ecx, byte [ebx + ebp + 1]
shl edi, 8
or edi, ecx
cmp edi, edx
je 0x1012671c
mov edx, dword [esp + 0x28]
push edi
push edx
push ebx
call fcn.1011fec0
add esp, 0xc
mov edx, edi
test eax, eax
je 0x1012673f
mov ecx, eax
sub ecx, ebx
sar ecx, 8
mov byte [ebx + ebp], cl
mov cl, al
sub cl, bl
mov byte [ebx + ebp + 1], cl
cmp dword [esp + 0x10], 0
jne 0x10126747
mov ecx, dword [esp + 0x68]
jmp 0x101266e0
mov dword [esp + 0x10], 0x35
cmp dword [esp + 0x78], 0x1000
jle 0x1012675f
mov edx, dword [esp + 0x54]
push edx
call dword [0x1017d084]
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x10126778
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x10126778
mov dword [esp + 0x10], 0xf
cmp dword [esp + 0xa8], 0
je 0x1012684c
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
push ebx
call fcn.1011fec0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1012684c
movzx edx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
jne 0x1012680d
movzx ecx, byte [edi - 2]
movzx edx, byte [edi - 1]
shl ecx, 8
or ecx, edx
movzx eax, byte [ecx + edi - 3]
lea ebp, [ecx + edi - 3]
mov byte [ebp], 0
mov edx, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
shr edx, 0xb
push 1
and edx, 1
push edx
push edi
mov dword [esp + 0x28], eax
call fcn.1011fb30
mov cl, byte [esp + 0x28]
add esp, 0x10
mov byte [ebp], cl
test eax, eax
jl 0x1012682c
cmp eax, dword [esp + 0x84]
jle 0x10126802
mov dword [esp + 0x84], eax
mov edx, eax
sar edx, 8
mov byte [edi + 1], dl
mov byte [edi + 2], al
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
add edi, 3
push edi
call fcn.1011fec0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x101267a0
jmp 0x1012684c
cmp eax, 0xfffffffe
jne 0x1012683b
mov dword [esp + 0x10], 0x24
jmp 0x10126853
sub eax, 0xfffffffc
neg eax
sbb eax, eax
and eax, 0xffffffd3
add eax, 0x46
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x101268ae
push esi
call dword [0x1017d084]
mov eax, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
sub ecx, ebx
mov dword [edx], ecx
mov esi, eax
mov ecx, 0x10145ed8
test eax, eax
jle 0x10126897
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10126880
cmp byte [ecx], dl
je 0x10126892
dec esi
test esi, esi
jg 0x10126880
jmp 0x10126897
mov ecx, str.Error_text_not_found__please_report_
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x101268a7
mov dword [ecx], eax
xor eax, eax
jmp 0x10126968
mov eax, dword [esi + 8]
mov dword [esp + 0x30], eax
test al, 0x10
jne 0x10126922
push 0
lea eax, [esp + 0x48]
push eax
push 0
push ebx
call fcn.10125c50
add esp, 0x10
test eax, eax
je 0x101268db
mov eax, dword [esp + 0x30]
or eax, 0x10
mov dword [esi + 8], eax
jmp 0x10126922
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x10126981
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.10125f00
mov ecx, dword [esp + 0x28]
add esp, 0xc
test ecx, ecx
jge 0x10126985
push 0
lea eax, [esp + 0x48]
push eax
push 0
push ebx
call fcn.10125d80
add esp, 0x10
test eax, eax
je 0x10126922
mov ecx, 0x100
or word [esi + 0xc], cx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x10126966
test byte [esi + 8], 0x10
je 0x10126935
test cl, 2
je 0x10126966
mov eax, dword [esp + 0x2c]
and eax, 0xff
mov word [esi + 0x16], ax
test cl, 1
je 0x10126961
mov ecx, dword [esp + 0x48]
movzx edx, ax
movzx dx, byte [edx + ecx]
cmp dx, ax
je 0x10126961
mov eax, 0x80
or word [esi + 0xc], ax
or word [esi + 0xc], 0x40
mov eax, esi
mov ecx, dword [esp + 0x10b8]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d5eaf
add esp, 0x10ac
ret
mov eax, dword [esp + 0x3c]
and eax, 0xff
mov word [esi + 0x14], ax
test cl, 1
je 0x101269a9
mov ecx, dword [esp + 0x48]
movzx edx, ax
movzx dx, byte [edx + ecx]
cmp dx, ax
je 0x101269a9
or word [esi + 0xc], 0x20
or word [esi + 0xc], 0x10
jmp 0x10126922