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

Disassembly:
mov eax, 0x11bc
call fcn.0050b1d0
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 0x4945f7
mov eax, dword [esp + 0x11d8]
test eax, eax
je 0x49533e
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 0x494607
mov dword [ebp], esi
mov eax, dword [esp + 0x11e0]
test eax, eax
jne 0x49461a
lea esi, [eax + 0x10]
jmp 0x49530c
mov ecx, dword [esp + 0x11e4]
mov dword [eax], esi
test ecx, ecx
jne 0x494633
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 0x49466e
mov esi, 0x11
jmp 0x4952f6
mov eax, ebp
mov dword [esp + 0xac], esi
and eax, 0x10000
cmp byte [edi], 0x28
mov dword [esp + 0x3c], eax
jne 0x4949a5
lea esp, [esp]
cmp byte [esi + edi + 1], 0x2a
lea eax, [esi + edi]
jne 0x49499d
push 5
lea edi, [eax + 2]
push str.UTF8_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4946c3
add esi, 7
or ebp, 0x800
jmp 0x494978
push 4
push str.UTF_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4946e5
add esi, 6
or ebp, 0x800
jmp 0x494978
push 4
push str.UCP_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494707
add esi, 6
or ebp, 0x20000000
jmp 0x494978
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494729
add esi, 0x12
or ebp, 0x20000
jmp 0x494978
push 0xd
push str.NO_START_OPT_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x49474b
add esi, 0xf
or ebp, 0x4000000
jmp 0x494978
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4947e3
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0xe]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a2a0
add esp, 4
test eax, eax
je 0x4947b5
mov ebp, dword [esp + 0x11d0]
cmp ebx, 0x19999998
ja 0x4947ae
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.0050a2a0
add esp, 4
test eax, eax
jne 0x494787
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x49499b
cmp ebx, dword [esp + 0x20]
jae 0x4947db
or dword [esp + 0xac], 0x2000
mov dword [esp + 0x20], ebx
lea esi, [edi + 1]
jmp 0x49497f
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x49487c
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0x12]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a2a0
add esp, 4
test eax, eax
je 0x49484e
mov ebp, dword [esp + 0x11d0]
nop
cmp ebx, 0x19999998
ja 0x494847
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.0050a2a0
add esp, 4
test eax, eax
jne 0x494820
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x49499b
cmp ebx, dword [esp + 0x14]
jae 0x494874
or dword [esp + 0xac], 0x4000
mov dword [esp + 0x14], ebx
lea esi, [edi + 1]
jmp 0x49497f
push 3
push 0x57d2bc
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4948a3
add esi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x494976
push 3
push 0x57d2f4
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4948ca
add esi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x494976
push 5
push str.CRLF_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x4948f1
add esi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x494976
push 4
push str.ANY_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494915
add esi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x494976
push 8
push 0x57d2e0
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494939
add esi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x494976
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494954
mov eax, 0x800000
jmp 0x49496d
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.0050a3c0
add esp, 0xc
test eax, eax
jne 0x494992
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 0x494690
jmp 0x49499d
mov edi, dword [esp + 0x11d0]
jmp 0x49499d
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 0x4949ed
test eax, eax
je 0x4949c1
mov esi, 0x4e
jmp 0x495305
test ebp, 0x2000
jne 0x4949ed
push dword [esp + 0x11e0]
push 0xffffffffffffffff
push edi
call fcn.0050a7d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x4949ed
mov esi, 0x2c
jmp 0x495305
mov eax, ebp
and eax, 0x1800000
cmp eax, 0x1800000
je 0x4952f1
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
ja 0x494a6c
je 0x494a4a
test eax, eax
je 0x494a25
cmp eax, 0x100000
je 0x494a46
cmp eax, 0x200000
jne 0x4952f1
mov al, 0xa
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 1
mov byte [esp + 0xd4], al
jmp 0x494a96
mov al, 0xd
jmp 0x494a27
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 2
mov word [esp + 0xd4], 0xa0d
jmp 0x494a96
cmp eax, 0x400000
je 0x494a8b
cmp eax, 0x500000
jne 0x4952f1
mov dword [esp + 0xcc], 2
jmp 0x494a96
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 0x494b43
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.00495550
mov esi, dword [esp + 0x4c]
add esp, 0x3c
test esi, esi
jne 0x4952f6
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10000
jle 0x494c0e
mov esi, 0x14
jmp 0x4952f6
mov esi, dword [esp + 0x7c]
add ecx, 0x38
imul esi, dword [esp + 0x78]
add esi, ecx
push esi
call dword [0xd912f8]
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x494c38
lea esi, [eax + 0x15]
jmp 0x4952f6
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 0x494eb4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], eax
test ecx, ecx
jle 0x494e9d
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 0x494e2a
lea eax, [ebx + 2]
sub esi, 4
jb 0x494dc1
lea ecx, [ecx]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x494dc6
add edx, 4
add eax, 4
sub esi, 4
jae 0x494db0
cmp esi, 0xfffffffc
je 0x494dfa
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x494df3
cmp esi, 0xfffffffd
je 0x494dfa
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x494df3
cmp esi, 0xfffffffe
je 0x494dfa
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x494df3
cmp esi, 0xffffffff
je 0x494dfa
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x494dfa
sbb eax, eax
or eax, 1
jmp 0x494dfc
xor eax, eax
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x494e71
cmp byte [ebx + esi + 2], al
je 0x494e73
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.004adc20
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.004adc20
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 0x494e8f
mov ebx, dword [esp + 0x74]
jmp 0x494d80
js 0x494e0a
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 0x494e2a
jmp 0x494da5
mov ebp, dword [esp + 0x11d4]
mov edi, dword [esp + 0x11d0]
cmp dword [esp + 0x80], 0x14
jle 0x494eb4
push dword [esp + 0x70]
call dword [0xd912fc]
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.00495550
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 0x494f56
or eax, 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
jmp 0x494f66
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 0x494f7e
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x494f7e
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 0x494f9d
mov ecx, 0x17
mov dword [esp + 0x10], ecx
jmp 0x494fa1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
cmp eax, ebx
jbe 0x49505b
xor edx, edx
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
jne 0x49505b
cmp eax, ebx
jbe 0x495057
sub eax, 2
mov dword [esp + 0x68], eax
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
je 0x49504a
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx - 1], 0x75
jne 0x49504a
movzx esi, byte [ebx + ecx]
movzx eax, byte [ebx + ecx + 1]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x38]
je 0x495013
push esi
push dword [esp + 0x2c]
push ecx
call fcn.00495350
add esp, 0xc
mov dword [esp + 0x38], esi
mov edx, eax
test edx, edx
je 0x495043
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 0x495057
mov eax, dword [esp + 0x68]
jmp 0x494fc3
mov ecx, 0x35
jmp 0x49504f
mov ecx, 0xa
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x84], 0x1000
jle 0x495076
push ebx
call dword [0xd912fc]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x58], 0
test ecx, ecx
jne 0x4951ce
mov ecx, dword [esp + 0x2c]
mov ax, word [ecx + 0x20]
cmp ax, word [ecx + 0x1e]
jbe 0x4950af
push ecx
mov dword [esp + 0x14], 0xf
call dword [0xd912fc]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x4952f6
mov ebx, dword [esp + 0x28]
test ebp, 0x20000
jne 0x4950d5
lea eax, [esp + 0x48]
push eax
push ebx
push esi
call fcn.00498230
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x4951ce
cmp dword [esp + 0xbc], 0
je 0x495185
push 0xffffffffffffffff
push ebx
push esi
call fcn.00495350
mov edi, eax
add esp, 0xc
test edi, edi
je 0x495185
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 0x495168
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.00496580
mov ecx, eax
mov byte [esi + edi - 3], bl
add esp, 0x14
test ecx, ecx
js 0x4951ba
cmp ecx, dword [esp + 0x90]
jle 0x495159
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.00495350
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x495100
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4951c7
mov edi, dword [esp + 0x2c]
mov ebx, dword [edi + 8]
test bl, 0x10
jne 0x495260
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push 0
push eax
push 0
push esi
call fcn.0049d740
add esp, 0x10
test eax, eax
je 0x4951f7
or ebx, 0x10
mov dword [edi + 8], ebx
jmp 0x495260
cmp ecx, 0xfffffffe
jne 0x4951e4
mov dword [esp + 0x10], 0x24
mov edi, dword [esp + 0x11d0]
push dword [esp + 0x2c]
call dword [0xd912fc]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x4952f6
sub ecx, 0xfffffffc
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd3
add ecx, 0x46
mov dword [esp + 0x10], ecx
jmp 0x495181
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x49523a
push 0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0049da50
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x49523e
push 0
push 0
lea eax, [esp + 0x50]
push eax
push 0
push esi
call fcn.0049d870
add esp, 0x14
test eax, eax
je 0x495260
or dword [edi + 0xc], 0x100
jmp 0x495260
mov ecx, dword [esp + 0x3c]
movzx edx, cl
mov word [edi + 0x18], dx
test al, 1
je 0x49525c
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x49525c
or dword [edi + 0xc], 0x20
or dword [edi + 0xc], 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x49529b
test byte [edi + 8], 0x10
je 0x495272
test al, 2
je 0x49529b
mov ecx, dword [esp + 0x24]
movzx edx, cl
mov word [edi + 0x1a], dx
test al, 1
je 0x495297
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x495297
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.00496930
add esp, 0x14
test eax, eax
jne 0x4952dd
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x4952a3
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 0x49532e
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495317
cmp byte [ecx], al
je 0x495329
dec edx
test edx, edx
jg 0x495317
jmp 0x49532e
mov ecx, str.Error_text_not_found__please_report_
mov eax, dword [esp + 0x11dc]
mov dword [eax], ecx
test ebp, ebp
je 0x49533e
mov dword [ebp], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11bc
ret