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

Disassembly:
mov eax, 0x11c8
call fcn.00529ea0
mov eax, dword [0x7e4788]
xor eax, esp
mov dword [esp + 0x11c4], eax
mov edx, dword [esp + 0x11d8]
mov eax, dword [esp + 0x11cc]
mov ecx, dword [esp + 0x11d4]
push ebx
mov ebx, dword [esp + 0x11e0]
push ebp
push esi
push edi
or ebp, 0xffffffff
mov dword [esp + 0x20], eax
or edi, 0xffffffff
mov dword [esp + 0x58], ecx
xor esi, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
test edx, edx
jne 0x48f657
test ecx, ecx
je 0x49039e
mov dword [ecx], 0x63
jmp 0x49039e
mov dword [edx], esi
test ecx, ecx
je 0x48f65f
mov dword [ecx], esi
test ebx, ebx
jne 0x48f66f
mov esi, 0x10
mov edx, esi
jmp 0x490372
mov eax, dword [esp + 0x11f0]
mov ecx, 0x711df8
test eax, eax
mov dword [ebx], esi
mov ebx, dword [esp + 0x11e0]
cmovne ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], ecx
lea eax, [ecx + 0x100]
mov dword [esp + 0x60], eax
lea eax, [ecx + 0x200]
mov dword [esp + 0x64], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0x68], eax
test ebx, 0xd8008580
je 0x48f6c1
mov esi, 0x11
jmp 0x490359
mov eax, dword [esp + 0x20]
mov ecx, ebx
and ecx, 0x10000
mov dword [esp + 0xc0], esi
mov dword [esp + 0x44], ecx
cmp byte [eax], 0x28
jne 0x48fa10
mov ebp, eax
cmp byte [esi + ebp + 1], 0x2a
jne 0x48f9f9
push 5
lea edi, [ebp + 2]
add edi, esi
push str.UTF8_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f715
add esi, 7
or ebx, 0x800
jmp 0x48f9de
push 4
push str.UTF_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f737
add esi, 6
or ebx, 0x800
jmp 0x48f9de
push 4
push str.UCP_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f759
add esi, 6
or ebx, 0x20000000
jmp 0x48f9de
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f77b
add esi, 0x12
or ebx, 0x20000
jmp 0x48f9de
push 0xd
push str.NO_START_OPT_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f79d
add esi, 0xf
or ebx, 0x4000000
jmp 0x48f9de
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f83d
lea ebx, [esi + 0xe]
xor edi, edi
add ebp, ebx
movzx eax, byte [ebp]
push eax
call fcn.00537170
add esp, 4
test eax, eax
je 0x48f7ff
mov esi, dword [esp + 0x20]
cmp edi, 0x19999998
ja 0x48f7fb
movzx eax, byte [ebp]
lea ecx, [edi - 6]
inc ebx
lea ecx, [edi + ecx*4]
lea ebp, [esi + ebx]
lea edi, [eax + ecx*2]
movzx eax, byte [ebp]
push eax
call fcn.00537170
add esp, 4
test eax, eax
jne 0x48f7d1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov al, byte [eax + ebx]
cmp al, 0x29
jne 0x48f9f9
mov eax, dword [esp + 0x28]
cmp edi, eax
jae 0x48f821
or dword [esp + 0xc0], 0x2000
mov ebp, dword [esp + 0x20]
lea esi, [ebx + 1]
mov ebx, dword [esp + 0x11e0]
cmp edi, eax
cmovae edi, eax
mov dword [esp + 0x28], edi
jmp 0x48f9e5
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f8d8
lea ebx, [esi + 0x12]
xor edi, edi
add ebp, ebx
movzx eax, byte [ebp]
push eax
call fcn.00537170
add esp, 4
test eax, eax
je 0x48f89f
mov esi, dword [esp + 0x20]
cmp edi, 0x19999998
ja 0x48f89b
movzx eax, byte [ebp]
lea ecx, [edi - 6]
inc ebx
lea ecx, [edi + ecx*4]
lea ebp, [esi + ebx]
lea edi, [eax + ecx*2]
movzx eax, byte [ebp]
push eax
call fcn.00537170
add esp, 4
test eax, eax
jne 0x48f871
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
cmp byte [ebx + ebp], 0x29
jne 0x48f9f9
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x48f8c0
or dword [esp + 0xc0], 0x4000
cmp edi, eax
lea esi, [ebx + 1]
mov ebx, dword [esp + 0x11e0]
cmovae edi, eax
mov dword [esp + 0x10], edi
jmp 0x48f9e9
push 3
push 0x7113bc
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f901
mov eax, 0x100000
and ebx, 0xff8fffff
add esi, 5
or ebx, eax
jmp 0x48f9de
push 3
push 0x7113c0
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f92a
mov eax, 0x200000
and ebx, 0xff8fffff
add esi, 5
or ebx, eax
jmp 0x48f9de
push 5
push str.CRLF_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f953
mov eax, 0x300000
and ebx, 0xff8fffff
add esi, 7
or ebx, eax
jmp 0x48f9de
push 4
push str.ANY_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f979
mov eax, 0x400000
and ebx, 0xff8fffff
add esi, 6
or ebx, eax
jmp 0x48f9de
push 8
push str.ANYCRLF_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f99f
mov eax, 0x500000
and ebx, 0xff8fffff
add esi, 0xa
or ebx, eax
jmp 0x48f9de
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f9ba
mov eax, 0x800000
jmp 0x48f9d3
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.0052f830
add esp, 0xc
test eax, eax
jne 0x48f9f9
mov eax, 0x1000000
and ebx, 0xfe7fffff
or ebx, eax
add esi, 0xe
mov dword [esp + 0x11e0], ebx
mov edi, dword [esp + 0x10]
cmp byte [esi + ebp], 0x28
mov dword [esp + 0x14], esi
je 0x48f6e3
jmp 0x48f9fd
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x11e0]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov edx, ebx
shr edx, 0xb
and edx, 1
mov dword [esp + 0x2c], edx
je 0x48fa59
test ecx, ecx
je 0x48fa2e
mov esi, 0x4e
mov edx, esi
jmp 0x490372
test ebx, 0x2000
jne 0x48fa59
push dword [esp + 0x4c]
push 0xffffffffffffffff
push eax
call fcn.0049e9b0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x48fa59
mov esi, 0x2c
mov edx, esi
jmp 0x490372
mov eax, ebx
and eax, 0x1800000
cmp eax, 0x1800000
je 0x490354
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x48fade
je 0x48fabc
test eax, eax
je 0x48fa91
cmp eax, 0x100000
je 0x48fab5
cmp eax, 0x200000
jne 0x490354
mov eax, 0xa
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 1
mov byte [esp + 0xe0], al
jmp 0x48fb08
mov eax, 0xd
jmp 0x48fa96
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 2
mov word [esp + 0xe0], 0xa0d
jmp 0x48fb08
cmp eax, 0x400000
je 0x48fafd
cmp eax, 0x500000
jne 0x490354
mov dword [esp + 0xd8], 2
jmp 0x48fb08
mov dword [esp + 0xd8], 1
lea eax, [esp + 0x1d4]
mov dword [esp + 0xa8], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x8c], 0
lea edx, [ecx + 1]
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x98], 0x1000
mov dword [esp + 0x94], 0x14
mov dword [esp + 0x74], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fbb0
sub ecx, edx
mov dword [esp + 0xc4], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa4], 0
lea eax, [ecx + edx]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x78], eax
lea eax, [edx + esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1d4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x84], 0
push eax
push 0
lea eax, [esp + 0x40]
mov byte [esp + 0x1e0], 0x83
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0048db90
mov esi, dword [esp + 0x54]
add esp, 0x3c
test esi, esi
jne 0x490359
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
cmp ecx, 0x10000
jle 0x48fc86
mov esi, 0x14
jmp 0x490359
cmp dword [esp + 0xd4], 0
je 0x48fca2
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x48fca2
lea ecx, [ecx + eax*2]
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0x90]
imul esi, dword [esp + 0x8c]
add esi, 0x38
add esi, ecx
push esi
call dword [0x7bca64]
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x48fcd2
lea esi, [eax + 0x15]
jmp 0x490359
mov dword [edx], 0x50435245
xor ecx, ecx
mov dword [edx + 4], esi
xorps xmm0, xmm0
mov eax, dword [esp + 0xbc]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [edx + 0x18], eax
mov eax, 0x38
mov word [edx + 0x22], ax
mov dword [edx + 0x10], ebp
mov dword [edx + 0x14], edi
movzx eax, word [esp + 0x90]
mov word [edx + 0x24], ax
movzx eax, word [esp + 0x8c]
mov word [edx + 0x26], ax
xor eax, eax
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x40]
cmp eax, 0x711df8
mov dword [edx + 0x34], ecx
cmove eax, ecx
mov dword [edx + 0x30], eax
xor eax, eax
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], ecx
movzx ebp, word [edx + 0x22]
add ebp, edx
mov dword [esp + 0x88], ebp
movzx ecx, word [edx + 0x24]
movzx eax, word [edx + 0x26]
mov edx, dword [esp + 0x8c]
imul eax, ecx
movups xmmword [esp + 0xc4], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x40], edx
add eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x48ff36
xor edi, edi
mov dword [esp + 0x8c], edi
test edx, edx
jle 0x48ff1c
mov ebx, dword [esp + 0x84]
xor ecx, ecx
add ebx, 4
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
mov dword [esp + 0x50], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x48fec3
mov edx, dword [esp + 0x30]
lea eax, [ebp + 2]
sub esi, 4
jb 0x48fe12
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x48fe17
add edx, 4
add eax, 4
sub esi, 4
jae 0x48fe01
cmp esi, 0xfffffffc
je 0x48fe4b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x48fe44
cmp esi, 0xfffffffd
je 0x48fe4b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x48fe44
cmp esi, 0xfffffffe
je 0x48fe4b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x48fe44
cmp esi, 0xffffffff
je 0x48fe4b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x48fe4b
sbb eax, eax
or eax, 1
jmp 0x48fe4d
xor eax, eax
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x48fe93
cmp byte [esi + ebp + 2], al
je 0x48fe95
mov eax, dword [esp + 0x90]
mov edx, ebp
sub edi, dword [esp + 0x24]
imul edi, eax
lea ecx, [eax + ebp]
cmp ecx, ebp
jbe 0x48feaf
add ecx, edi
lea edx, [edi + ebp]
test edi, edi
je 0x48fec3
nop dword [eax + eax]
mov al, byte [edx - 1]
lea edx, [edx - 1]
mov byte [ecx - 1], al
lea ecx, [ecx - 1]
sub edi, 1
jne 0x48fe80
jmp 0x48fec3
js 0x48fe5b
mov eax, dword [esp + 0x24]
add ebp, dword [esp + 0x90]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jl 0x48fdf5
jmp 0x48fec3
test edi, edi
je 0x48fec3
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
sub edi, 1
jne 0x48feb3
mov ecx, dword [esp + 0x50]
mov eax, ecx
shr eax, 8
push esi
push dword [esp + 0x34]
mov byte [ebp], al
lea eax, [ebp + 2]
push eax
mov byte [ebp + 1], cl
call fcn.0052ae60
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov byte [esi + ebp + 2], 0
dec edx
mov edi, dword [esp + 0x8c]
add ebx, 0xc
inc edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x8c], edi
mov ecx, edi
test edx, edx
jle 0x48ff15
mov ebp, dword [esp + 0x88]
jmp 0x48fdd3
mov ebx, dword [esp + 0x11e0]
cmp dword [esp + 0x94], 0x14
jle 0x48ff36
push dword [esp + 0x84]
call dword [0x7bca68]
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x18]
mov byte [eax], 0x83
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esi + 8]
call fcn.0048db90
movzx eax, word [esp + 0xd8]
add esp, 0x3c
mov word [esi + 0x1e], ax
movzx eax, word [esp + 0xa8]
mov word [esi + 0x20], ax
movzx eax, word [esp + 0xa4]
mov word [esi + 0x1c], ax
mov eax, dword [esp + 0xc0]
or eax, 1
mov dword [esi + 0xc], eax
cmp dword [esp + 0xc8], 0
je 0x48ffd8
or eax, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
jmp 0x48ffe8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x490002
mov eax, dword [esp + 0x24]
mov edx, 0x16
cmp byte [eax], cl
cmovne ecx, edx
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x1c]
mov ecx, 0x17
mov byte [ebp], 0
inc ebp
mov esi, dword [esp + 0x18]
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
cmovg esi, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
cmp eax, edi
jbe 0x4900dd
or ecx, 0xffffffff
xor edx, edx
mov dword [esp + 0x3c], ecx
test esi, esi
jne 0x4900dd
nop word [eax + eax]
cmp eax, edi
jbe 0x4900d9
sub eax, 2
mov dword [esp + 0x7c], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x10]
movzx esi, byte [ecx + eax]
lea ebp, [ecx + eax]
inc eax
shl esi, 8
add eax, ecx
mov dword [esp + 0x48], eax
movzx eax, byte [eax]
or esi, eax
cmp esi, dword [esp + 0x3c]
je 0x4900a2
push esi
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004873b0
add esp, 0xc
mov dword [esp + 0x3c], esi
mov edx, eax
test edx, edx
je 0x4900d0
mov ecx, edx
mov al, dl
sub ecx, dword [esp + 0x10]
sub al, byte [esp + 0x10]
sar ecx, 8
mov byte [ebp], cl
mov ecx, dword [esp + 0x48]
mov byte [ecx], al
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x6c]
test esi, esi
jne 0x4900d9
mov eax, dword [esp + 0x7c]
jmp 0x490050
mov esi, 0x35
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x1c]
cmp dword [esp + 0x98], 0x1000
jle 0x4900f8
push edi
call dword [0x7bca68]
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x6c], 0
test esi, esi
jne 0x49011c
mov ecx, dword [esp + 0x14]
mov edx, 0xf
mov ax, word [ecx + 0x20]
cmp ax, word [ecx + 0x1e]
cmova esi, edx
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x2c]
test ebx, 0x20000
mov ebx, dword [esp + 0x10]
jne 0x49013f
lea eax, [esp + 0x5c]
push eax
push edi
push ebx
call fcn.00487d00
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0xd0], 0
je 0x4901e7
push 0xffffffffffffffff
push edi
push ebx
call fcn.004873b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4901e7
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
jne 0x4901cb
movzx esi, byte [edi - 2]
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x18]
push 1
mov bl, byte [esi + edi - 3]
mov byte [esi + edi - 3], cl
mov eax, dword [eax + 8]
shr eax, 0xb
and eax, 1
push eax
push edi
call fcn.0048e710
mov edx, eax
mov byte [esi + edi - 3], bl
add esp, 0x10
test edx, edx
js 0x490201
mov ecx, dword [esp + 0xa4]
cmp edx, ecx
cmovg ecx, edx
sar eax, 8
mov dword [esp + 0xa4], ecx
mov byte [edi + 1], al
mov byte [edi + 2], dl
push 0xffffffffffffffff
push dword [esp + 0x30]
lea eax, [edi + 3]
push eax
call fcn.004873b0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x490163
mov esi, dword [esp + 0x18]
test esi, esi
je 0x49023a
push dword [esp + 0x14]
call dword [0x7bca68]
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x490359
cmp edx, 0xfffffffe
jne 0x490224
push dword [esp + 0x14]
mov dword [esp + 0x1c], 0x24
call dword [0x7bca68]
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x490359
cmp edx, 0xfffffffc
mov esi, 0x19
mov eax, 0x46
cmove esi, eax
mov dword [esp + 0x18], esi
jmp 0x4901e7
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 8]
test bl, 0x10
jne 0x4902d9
push 0
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x1c]
call fcn.0048f270
add esp, 0x10
test eax, eax
je 0x49026e
or ebx, 0x10
mov dword [esi + 8], ebx
jmp 0x4902d9
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x4902b3
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0
push eax
push ebx
call fcn.0048e580
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x4902b7
push 0
lea eax, [esp + 0x60]
push eax
push 0
push ebx
call fcn.0048f420
add esp, 0x10
test eax, eax
je 0x4902d9
or dword [esi + 0xc], 0x100
jmp 0x4902d9
mov ecx, dword [esp + 0x44]
movzx edx, cl
mov word [esi + 0x18], dx
test al, 1
je 0x4902d5
mov eax, dword [esp + 0x60]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x4902d5
or dword [esi + 0xc], 0x20
or dword [esi + 0xc], 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x490314
test byte [esi + 8], 0x10
je 0x4902eb
test al, 2
je 0x490314
mov ecx, dword [esp + 0x38]
movzx edx, cl
mov word [esi + 0x1a], dx
test al, 1
je 0x490310
mov eax, dword [esp + 0x60]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x490310
or dword [esi + 0xc], 0x80
or dword [esi + 0xc], 0x40
mov ebx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x34]
push ebp
push ebx
call fcn.0048e090
add esp, 0x14
test eax, eax
jne 0x490349
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x490318
mov eax, esi
jmp 0x4903a0
or dword [esi + 0xc], 0x8000
mov eax, esi
jmp 0x4903a0
mov esi, 0x38
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov dword [ecx], eax
mov edx, esi
mov ecx, str.no_error
test edx, edx
jle 0x49038e
mov ecx, str.no_error
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490377
cmp byte [ecx], al
je 0x490389
dec edx
test edx, edx
jg 0x490377
jmp 0x49038e
mov ecx, str.Error_text_not_found__please_report_
mov eax, dword [esp + 0x54]
mov dword [eax], ecx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49039e
mov dword [eax], esi
xor eax, eax
mov ecx, dword [esp + 0x11d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00529c8c
add esp, 0x11c8
ret