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

Disassembly:
mov eax, 0x11bc
call fcn.0050b550
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 0x494977
mov eax, dword [esp + 0x11d8]
test eax, eax
je 0x4956be
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 0x494987
mov dword [ebp], esi
mov eax, dword [esp + 0x11e0]
test eax, eax
jne 0x49499a
lea esi, [eax + 0x10]
jmp 0x49568c
mov ecx, dword [esp + 0x11e4]
mov dword [eax], esi
test ecx, ecx
jne 0x4949b3
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 0x4949ee
mov esi, 0x11
jmp 0x495676
mov eax, ebp
mov dword [esp + 0xac], esi
and eax, 0x10000
cmp byte [edi], 0x28
mov dword [esp + 0x3c], eax
jne 0x494d25
lea esp, [esp]
cmp byte [esi + edi + 1], 0x2a
lea eax, [esi + edi]
jne 0x494d1d
push 5
lea edi, [eax + 2]
push str.UTF8_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494a43
add esi, 7
or ebp, 0x800
jmp 0x494cf8
push 4
push str.UTF_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494a65
add esi, 6
or ebp, 0x800
jmp 0x494cf8
push 4
push str.UCP_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494a87
add esi, 6
or ebp, 0x20000000
jmp 0x494cf8
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494aa9
add esi, 0x12
or ebp, 0x20000
jmp 0x494cf8
push 0xd
push str.NO_START_OPT_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494acb
add esi, 0xf
or ebp, 0x4000000
jmp 0x494cf8
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494b63
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0xe]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a620
add esp, 4
test eax, eax
je 0x494b35
mov ebp, dword [esp + 0x11d0]
cmp ebx, 0x19999998
ja 0x494b2e
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.0050a620
add esp, 4
test eax, eax
jne 0x494b07
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x494d1b
cmp ebx, dword [esp + 0x20]
jae 0x494b5b
or dword [esp + 0xac], 0x2000
mov dword [esp + 0x20], ebx
lea esi, [edi + 1]
jmp 0x494cff
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494bfc
mov eax, dword [esp + 0x11d0]
lea edi, [esi + 0x12]
xor ebx, ebx
movzx eax, byte [edi + eax]
push eax
call fcn.0050a620
add esp, 4
test eax, eax
je 0x494bce
mov ebp, dword [esp + 0x11d0]
nop
cmp ebx, 0x19999998
ja 0x494bc7
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.0050a620
add esp, 4
test eax, eax
jne 0x494ba0
mov ebp, dword [esp + 0x11d4]
mov eax, dword [esp + 0x11d0]
cmp byte [edi + eax], 0x29
jne 0x494d1b
cmp ebx, dword [esp + 0x14]
jae 0x494bf4
or dword [esp + 0xac], 0x4000
mov dword [esp + 0x14], ebx
lea esi, [edi + 1]
jmp 0x494cff
push 3
push 0x57d2bc
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494c23
add esi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x494cf6
push 3
push 0x57d2f4
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494c4a
add esi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x494cf6
push 5
push str.CRLF_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494c71
add esi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x494cf6
push 4
push str.ANY_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494c95
add esi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x494cf6
push 8
push 0x57d2e0
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494cb9
add esi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x494cf6
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494cd4
mov eax, 0x800000
jmp 0x494ced
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.0050a740
add esp, 0xc
test eax, eax
jne 0x494d12
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 0x494a10
jmp 0x494d1d
mov edi, dword [esp + 0x11d0]
jmp 0x494d1d
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 0x494d6d
test eax, eax
je 0x494d41
mov esi, 0x4e
jmp 0x495685
test ebp, 0x2000
jne 0x494d6d
push dword [esp + 0x11e0]
push 0xffffffffffffffff
push edi
call fcn.0050ab50
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x494d6d
mov esi, 0x2c
jmp 0x495685
mov eax, ebp
and eax, 0x1800000
cmp eax, 0x1800000
je 0x495671
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
ja 0x494dec
je 0x494dca
test eax, eax
je 0x494da5
cmp eax, 0x100000
je 0x494dc6
cmp eax, 0x200000
jne 0x495671
mov al, 0xa
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 1
mov byte [esp + 0xd4], al
jmp 0x494e16
mov al, 0xd
jmp 0x494da7
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 2
mov word [esp + 0xd4], 0xa0d
jmp 0x494e16
cmp eax, 0x400000
je 0x494e0b
cmp eax, 0x500000
jne 0x495671
mov dword [esp + 0xcc], 2
jmp 0x494e16
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 0x494ec3
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.004958d0
mov esi, dword [esp + 0x4c]
add esp, 0x3c
test esi, esi
jne 0x495676
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10000
jle 0x494f8e
mov esi, 0x14
jmp 0x495676
mov esi, dword [esp + 0x7c]
add ecx, 0x38
imul esi, dword [esp + 0x78]
add esi, ecx
push esi
call dword [0xd91398]
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x494fb8
lea esi, [eax + 0x15]
jmp 0x495676
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 0x495234
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], eax
test ecx, ecx
jle 0x49521d
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 0x4951aa
lea eax, [ebx + 2]
sub esi, 4
jb 0x495141
lea ecx, [ecx]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x495146
add edx, 4
add eax, 4
sub esi, 4
jae 0x495130
cmp esi, 0xfffffffc
je 0x49517a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x495173
cmp esi, 0xfffffffd
je 0x49517a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x495173
cmp esi, 0xfffffffe
je 0x49517a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x495173
cmp esi, 0xffffffff
je 0x49517a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x49517a
sbb eax, eax
or eax, 1
jmp 0x49517c
xor eax, eax
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x4951f1
cmp byte [ebx + esi + 2], al
je 0x4951f3
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.004adfa0
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.004adfa0
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 0x49520f
mov ebx, dword [esp + 0x74]
jmp 0x495100
js 0x49518a
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 0x4951aa
jmp 0x495125
mov ebp, dword [esp + 0x11d4]
mov edi, dword [esp + 0x11d0]
cmp dword [esp + 0x80], 0x14
jle 0x495234
push dword [esp + 0x70]
call dword [0xd9139c]
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.004958d0
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 0x4952d6
or eax, 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
jmp 0x4952e6
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 0x4952fe
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x4952fe
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 0x49531d
mov ecx, 0x17
mov dword [esp + 0x10], ecx
jmp 0x495321
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
cmp eax, ebx
jbe 0x4953db
xor edx, edx
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
jne 0x4953db
cmp eax, ebx
jbe 0x4953d7
sub eax, 2
mov dword [esp + 0x68], eax
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
je 0x4953ca
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx - 1], 0x75
jne 0x4953ca
movzx esi, byte [ebx + ecx]
movzx eax, byte [ebx + ecx + 1]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x38]
je 0x495393
push esi
push dword [esp + 0x2c]
push ecx
call fcn.004956d0
add esp, 0xc
mov dword [esp + 0x38], esi
mov edx, eax
test edx, edx
je 0x4953c3
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 0x4953d7
mov eax, dword [esp + 0x68]
jmp 0x495343
mov ecx, 0x35
jmp 0x4953cf
mov ecx, 0xa
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x84], 0x1000
jle 0x4953f6
push ebx
call dword [0xd9139c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x58], 0
test ecx, ecx
jne 0x49554e
mov ecx, dword [esp + 0x2c]
mov ax, word [ecx + 0x20]
cmp ax, word [ecx + 0x1e]
jbe 0x49542f
push ecx
mov dword [esp + 0x14], 0xf
call dword [0xd9139c]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x495676
mov ebx, dword [esp + 0x28]
test ebp, 0x20000
jne 0x495455
lea eax, [esp + 0x48]
push eax
push ebx
push esi
call fcn.004985b0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x49554e
cmp dword [esp + 0xbc], 0
je 0x495505
push 0xffffffffffffffff
push ebx
push esi
call fcn.004956d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x495505
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 0x4954e8
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.00496900
mov ecx, eax
mov byte [esi + edi - 3], bl
add esp, 0x14
test ecx, ecx
js 0x49553a
cmp ecx, dword [esp + 0x90]
jle 0x4954d9
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.004956d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x495480
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x495547
mov edi, dword [esp + 0x2c]
mov ebx, dword [edi + 8]
test bl, 0x10
jne 0x4955e0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push 0
push eax
push 0
push esi
call fcn.0049dac0
add esp, 0x10
test eax, eax
je 0x495577
or ebx, 0x10
mov dword [edi + 8], ebx
jmp 0x4955e0
cmp ecx, 0xfffffffe
jne 0x495564
mov dword [esp + 0x10], 0x24
mov edi, dword [esp + 0x11d0]
push dword [esp + 0x2c]
call dword [0xd9139c]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x495676
sub ecx, 0xfffffffc
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd3
add ecx, 0x46
mov dword [esp + 0x10], ecx
jmp 0x495501
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x4955ba
push 0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0049ddd0
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x4955be
push 0
push 0
lea eax, [esp + 0x50]
push eax
push 0
push esi
call fcn.0049dbf0
add esp, 0x14
test eax, eax
je 0x4955e0
or dword [edi + 0xc], 0x100
jmp 0x4955e0
mov ecx, dword [esp + 0x3c]
movzx edx, cl
mov word [edi + 0x18], dx
test al, 1
je 0x4955dc
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x4955dc
or dword [edi + 0xc], 0x20
or dword [edi + 0xc], 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x49561b
test byte [edi + 8], 0x10
je 0x4955f2
test al, 2
je 0x49561b
mov ecx, dword [esp + 0x24]
movzx edx, cl
mov word [edi + 0x1a], dx
test al, 1
je 0x495617
mov eax, dword [esp + 0x4c]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x495617
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.00496cb0
add esp, 0x14
test eax, eax
jne 0x49565d
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x495623
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 0x4956ae
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495697
cmp byte [ecx], al
je 0x4956a9
dec edx
test edx, edx
jg 0x495697
jmp 0x4956ae
mov ecx, str.Error_text_not_found__please_report_
mov eax, dword [esp + 0x11dc]
mov dword [eax], ecx
test ebp, ebp
je 0x4956be
mov dword [ebp], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11bc
ret