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

Disassembly:
mov eax, 0x11bc
call fcn.0050b0c0
mov eax, dword [esp + 0x11cc]
push ebx
push ebp
push esi
or ebx, 0xffffffff
mov dword [esp + 0x3c], 1
push edi
mov edi, dword [esp + 0x11d0]
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edi
test eax, eax
jne 0x4944e7
mov eax, dword [esp + 0x11d8]
test eax, eax
je 0x49522e
pop edi
pop esi
pop ebp
mov dword [eax], 0x63
xor eax, eax
pop ebx
add esp, 0x11bc
ret
mov ebp, dword [esp + 0x11d8]
mov dword [eax], esi
test ebp, ebp
je 0x4944f7
mov dword [ebp], esi
mov eax, dword [esp + 0x11e0]
test eax, eax
jne 0x49450a
lea esi, [eax + 0x10]
jmp 0x4951fc
mov ecx, dword [esp + 0x11e4]
mov dword [eax], esi
test ecx, ecx
jne 0x494523
mov ecx, 0x55c600
mov dword [esp + 0x11e4], ecx
mov ebp, dword [esp + 0x11d4]
lea eax, [ecx + 0x100]
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0x200]
mov dword [esp + 0x50], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
test ebp, 0xd8008580
je 0x49455e
mov esi, 0x11
jmp 0x4951e6
mov eax, ebp
mov dword [esp + 0xac], esi
and eax, 0x10000
cmp byte [edi], 0x28
mov dword [esp + 0x3c], eax
jne 0x494895
lea esp, [esp]
cmp byte [esi + edi + 1], 0x2a
lea eax, [esi + edi]
jne 0x49488d
push 5
lea edi, [eax + 2]
push str.UTF8_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4945b3
add esi, 7
or ebp, 0x800
jmp 0x494868
push 4
push str.UTF_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4945d5
add esi, 6
or ebp, 0x800
jmp 0x494868
push 4
push str.UCP_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4945f7
add esi, 6
or ebp, 0x20000000
jmp 0x494868
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494619
add esi, 0x12
or ebp, 0x20000
jmp 0x494868
push 0xd
push str.NO_START_OPT_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x49463b
add esi, 0xf
or ebp, 0x4000000
jmp 0x494868
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4946d3
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0xe]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a190
add esp, 4
test eax, eax
je 0x4946a5
mov ebp, dword [esp + 0x11d0]
cmp ebx, 0x19999998
ja 0x49469e
movzx ecx, byte [edi + ebp]
lea eax, [ebx - 6]
lea eax, [ebx + eax*4]
inc edi
lea ebx, [ecx + eax*2]
movzx eax, byte [edi + ebp]
push eax
call fcn.0050a190
add esp, 4
test eax, eax
jne 0x494677
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x49488b
cmp ebx, dword [esp + 0x20]
jae 0x4946cb
or dword [esp + 0xac], 0x2000
mov dword [esp + 0x20], ebx
lea esi, [edi + 1]
jmp 0x49486f
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x49476c
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0x12]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a190
add esp, 4
test eax, eax
je 0x49473e
mov ebp, dword [esp + 0x11d0]
nop
cmp ebx, 0x19999998
ja 0x494737
movzx ecx, byte [edi + ebp]
lea eax, [ebx - 6]
lea eax, [ebx + eax*4]
inc edi
lea ebx, [ecx + eax*2]
movzx eax, byte [edi + ebp]
push eax
call fcn.0050a190
add esp, 4
test eax, eax
jne 0x494710
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x49488b
cmp ebx, dword [esp + 0x14]
jae 0x494764
or dword [esp + 0xac], 0x4000
mov dword [esp + 0x14], ebx
lea esi, [edi + 1]
jmp 0x49486f
push 3
push 0x57d2bc
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494793
add esi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x494866
push 3
push 0x57d2f4
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4947ba
add esi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x494866
push 5
push str.CRLF_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x4947e1
add esi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x494866
push 4
push str.ANY_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494805
add esi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x494866
push 8
push 0x57d2e0
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494829
add esi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x494866
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494844
mov eax, 0x800000
jmp 0x49485d
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.0050a2b0
add esp, 0xc
test eax, eax
jne 0x494882
mov eax, 0x1000000
add esi, 0xe
and ebp, 0xfe7fffff
or ebp, eax
mov dword [esp + 0x11d4], ebp
mov edi, dword [esp + 0x11d0]
cmp byte [esi + edi], 0x28
je 0x494580
jmp 0x49488d
mov edi, dword [esp + 0x11d0]
jmp 0x49488d
mov edi, eax
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov ecx, ebp
shr ecx, 0xb
and ecx, 1
mov dword [esp + 0x28], ecx
je 0x4948dd
test eax, eax
je 0x4948b1
mov esi, 0x4e
jmp 0x4951f5
test ebp, 0x2000
jne 0x4948dd
push dword [esp + 0x11e0]
push 0xffffffffffffffff
push edi
call fcn.0050a6c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x4948dd
mov esi, 0x2c
jmp 0x4951f5
mov eax, ebp
and eax, 0x1800000
cmp eax, 0x1800000
je 0x4951e1
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
ja 0x49495c
je 0x49493a
test eax, eax
je 0x494915
cmp eax, 0x100000
je 0x494936
cmp eax, 0x200000
jne 0x4951e1
mov al, 0xa
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 1
mov byte [esp + 0xd4], al
jmp 0x494986
mov al, 0xd
jmp 0x494917
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 2
mov word [esp + 0xd4], 0xa0d
jmp 0x494986
cmp eax, 0x400000
je 0x49497b
cmp eax, 0x500000
jne 0x4951e1
mov dword [esp + 0xcc], 2
jmp 0x494986
mov dword [esp + 0xcc], 1
lea eax, [esp + 0x1cc]
mov dword [esp + 0x94], 0
mov ecx, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x8c], 0
lea edx, [ecx + 1]
mov dword [esp + 0x88], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0x84], 0x1000
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], 0x14
mov dword [esp + 0x60], edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494a33
sub ecx, edx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x90], 0
lea eax, [ecx + edi]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x64], eax
lea eax, [esi + edi]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x70], 0
push eax
push 0
lea eax, [esp + 0x40]
mov byte [esp + 0x1d8], 0x83
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
push ebp
call fcn.00495440
mov esi, dword [esp + 0x4c]
add esp, 0x3c
test esi, esi
jne 0x4951e6
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10000
jle 0x494afe
mov esi, 0x14
jmp 0x4951e6
mov esi, dword [esp + 0x7c]
add ecx, 0x38
imul esi, dword [esp + 0x78]
add esi, ecx
push esi
call dword [0xc614f8]
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x494b28
lea esi, [eax + 0x15]
jmp 0x4951e6
mov dword [edx], 0x50435245
mov dword [edx + 4], esi
mov eax, dword [esp + 0xa8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xac]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [edx + 0x18], eax
mov eax, 0x38
mov word [edx + 0x22], ax
mov dword [edx + 0x10], ebx
movzx eax, word [esp + 0x7c]
mov word [edx + 0x24], ax
movzx eax, word [esp + 0x78]
mov word [edx + 0x26], ax
xor eax, eax
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x11e4]
sub eax, 0x55c600
mov dword [edx + 0x34], 0
neg eax
sbb eax, eax
and eax, dword [esp + 0x11e4]
mov dword [edx + 0x30], eax
xor eax, eax
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
movzx ebx, word [edx + 0x22]
add ebx, edx
mov dword [esp + 0x74], ebx
movzx eax, word [edx + 0x24]
movzx ecx, word [edx + 0x26]
imul ecx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb0], 0
add ecx, ebx
mov dword [esp + 0xb4], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x494da4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], eax
test ecx, ecx
jle 0x494d8d
mov edi, dword [esp + 0x70]
xor ecx, ecx
mov ebp, dword [esp + 0x30]
add edi, 4
lea esp, [esp]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov edx, dword [edi - 4]
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x494d1a
lea eax, [ebx + 2]
sub esi, 4
jb 0x494cb1
lea ecx, [ecx]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x494cb6
add edx, 4
add eax, 4
sub esi, 4
jae 0x494ca0
cmp esi, 0xfffffffc
je 0x494cea
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x494ce3
cmp esi, 0xfffffffd
je 0x494cea
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x494ce3
cmp esi, 0xfffffffe
je 0x494cea
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x494ce3
cmp esi, 0xffffffff
je 0x494cea
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x494cea
sbb eax, eax
or eax, 1
jmp 0x494cec
xor eax, eax
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x494d61
cmp byte [ebx + esi + 2], al
je 0x494d63
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
imul ecx, eax
add eax, ebx
push ecx
push ebx
push eax
call fcn.004adb10
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0xd8]
mov eax, ecx
shr eax, 8
push esi
mov byte [ebx], al
lea eax, [ebx + 2]
push edx
push eax
mov byte [ebx + 1], cl
call fcn.004adb10
mov byte [ebx + esi + 2], 0
dec ebp
mov edx, dword [esp + 0x84]
add esp, 0xc
inc edx
add edi, 0xc
mov dword [esp + 0x24], edx
mov ecx, edx
mov dword [esp + 0x78], edx
test ebp, ebp
jle 0x494d7f
mov ebx, dword [esp + 0x74]
jmp 0x494c70
js 0x494cfa
mov eax, dword [esp + 0x18]
add ebx, dword [esp + 0x7c]
inc eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x24]
jge 0x494d1a
jmp 0x494c95
mov ebp, dword [esp + 0x11d4]
mov edi, dword [esp + 0x11d0]
cmp dword [esp + 0x80], 0x14
jle 0x494da4
push dword [esp + 0x70]
call dword [0xc614fc]
add esp, 4
mov eax, dword [esp + 0x44]
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x4c]
push eax
push 0
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
mov byte [esi], 0x83
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x34], esi
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 8]
call fcn.00495440
movzx eax, word [esp + 0xc4]
add esp, 0x3c
mov word [ebx + 0x1e], ax
movzx eax, word [esp + 0x94]
mov word [ebx + 0x20], ax
movzx eax, word [esp + 0x90]
mov word [ebx + 0x1c], ax
mov eax, dword [esp + 0xac]
or eax, 1
mov dword [ebx + 0xc], eax
cmp dword [esp + 0xb4], 0
je 0x494e46
or eax, 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
jmp 0x494e56
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
jne 0x494e6e
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x494e6e
mov dword [esp + 0x10], 0x16
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
inc eax
mov dword [esp + 0x44], eax
sub eax, esi
cmp eax, dword [esp + 0x40]
jle 0x494e8d
mov ecx, 0x17
mov dword [esp + 0x10], ecx
jmp 0x494e91
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
cmp eax, ebx
jbe 0x494f4b
xor edx, edx
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
jne 0x494f4b
cmp eax, ebx
jbe 0x494f47
sub eax, 2
mov dword [esp + 0x68], eax
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
je 0x494f3a
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx - 1], 0x75
jne 0x494f3a
movzx esi, byte [ebx + ecx]
movzx eax, byte [ebx + ecx + 1]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x38]
je 0x494f03
push esi
push dword [esp + 0x2c]
push ecx
call fcn.00495240
add esp, 0xc
mov dword [esp + 0x38], esi
mov edx, eax
test edx, edx
je 0x494f33
mov eax, dword [esp + 0x14]
mov ecx, edx
sub ecx, eax
sar ecx, 8
mov byte [ebx + eax], cl
mov al, dl
mov ecx, dword [esp + 0x14]
sub al, cl
mov byte [ebx + ecx + 1], al
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x58]
test ecx, ecx
jne 0x494f47
mov eax, dword [esp + 0x68]
jmp 0x494eb3
mov ecx, 0x35
jmp 0x494f3f
mov ecx, 0xa
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x84], 0x1000
jle 0x494f66
push ebx
call dword [0xc614fc]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x58], 0
test ecx, ecx
jne 0x4950be
mov ecx, dword [esp + 0x2c]
mov ax, word [ecx + 0x20]
cmp ax, word [ecx + 0x1e]
jbe 0x494f9f
push ecx
mov dword [esp + 0x14], 0xf
call dword [0xc614fc]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x4951e6
mov ebx, dword [esp + 0x28]
test ebp, 0x20000
jne 0x494fc5
lea eax, [esp + 0x48]
push eax
push ebx
push esi
call fcn.00498120
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x4950be
cmp dword [esp + 0xbc], 0
je 0x495075
push 0xffffffffffffffff
push ebx
push esi
call fcn.00495240
mov edi, eax
add esp, 0xc
test edi, edi
je 0x495075
mov ebp, dword [esp + 0x2c]
lea ecx, [ecx]
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
jne 0x495058
movzx esi, byte [edi - 2]
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
lea eax, [esp + 0x48]
push ecx
push eax
push 1
mov bl, byte [esi + edi - 3]
mov byte [esi + edi - 3], cl
mov eax, dword [ebp + 8]
shr eax, 0xb
and eax, 1
push eax
push edi
call fcn.00496470
mov ecx, eax
mov byte [esi + edi - 3], bl
add esp, 0x14
test ecx, ecx
js 0x4950aa
cmp ecx, dword [esp + 0x90]
jle 0x495049
mov dword [esp + 0x90], ecx
mov ebx, dword [esp + 0x28]
mov eax, ecx
sar eax, 8
mov byte [edi + 1], al
mov byte [edi + 2], cl
push 0xffffffffffffffff
lea eax, [edi + 3]
push ebx
push eax
call fcn.00495240
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x494ff0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4950b7
mov edi, dword [esp + 0x2c]
mov ebx, dword [edi + 8]
test bl, 0x10
jne 0x495150
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push 0
push eax
push 0
push esi
call fcn.0049d630
add esp, 0x10
test eax, eax
je 0x4950e7
or ebx, 0x10
mov dword [edi + 8], ebx
jmp 0x495150
cmp ecx, 0xfffffffe
jne 0x4950d4
mov dword [esp + 0x10], 0x24
mov edi, dword [esp + 0x11d0]
push dword [esp + 0x2c]
call dword [0xc614fc]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x4951e6
sub ecx, 0xfffffffc
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd3
add ecx, 0x46
mov dword [esp + 0x10], ecx
jmp 0x495071
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x49512a
push 0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0049d940
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x49512e
push 0
push 0
lea eax, [esp + 0x50]
push eax
push 0
push esi
call fcn.0049d760
add esp, 0x14
test eax, eax
je 0x495150
or dword [edi + 0xc], 0x100
jmp 0x495150
mov ecx, dword [esp + 0x3c]
movzx edx, cl
mov word [edi + 0x18], dx
test al, 1
je 0x49514c
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x49514c
or dword [edi + 0xc], 0x20
or dword [edi + 0xc], 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x49518b
test byte [edi + 8], 0x10
je 0x495162
test al, 2
je 0x49518b
mov ecx, dword [esp + 0x24]
movzx edx, cl
mov word [edi + 0x1a], dx
test al, 1
je 0x495187
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x495187
or dword [edi + 0xc], 0x80
or dword [edi + 0xc], 0x40
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x30]
push esi
push ebx
call fcn.00496820
add esp, 0x14
test eax, eax
jne 0x4951cd
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x495193
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11bc
ret
or dword [edi + 0xc], 0x8000
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11bc
ret
mov esi, 0x38
mov ecx, dword [esp + 0x11e0]
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [ecx], eax
mov ebp, dword [esp + 0x11d8]
mov edx, esi
mov ecx, 0x554100
test edx, edx
jle 0x49521e
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495207
cmp byte [ecx], al
je 0x495219
dec edx
test edx, edx
jg 0x495207
jmp 0x49521e
mov ecx, str.Error_text_not_found__please_report_
mov eax, dword [esp + 0x11dc]
mov dword [eax], ecx
test ebp, ebp
je 0x49522e
mov dword [ebp], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11bc
ret