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

Disassembly:
mov eax, 0x11c8
call fcn.004daa60
mov eax, dword [0x7be9b8]
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 0x47f667
test ecx, ecx
je 0x4803ae
mov dword [ecx], 0x63
jmp 0x4803ae
mov dword [edx], esi
test ecx, ecx
je 0x47f66f
mov dword [ecx], esi
test ebx, ebx
jne 0x47f67f
mov esi, 0x10
mov edx, esi
jmp 0x480382
mov eax, dword [esp + 0x11f0]
mov ecx, 0x6d18c8
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 0x47f6d1
mov esi, 0x11
jmp 0x480369
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 0x47fa20
mov ebp, eax
cmp byte [esi + ebp + 1], 0x2a
jne 0x47fa09
push 5
lea edi, [ebp + 2]
add edi, esi
push str.UTF8_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f725
add esi, 7
or ebx, 0x800
jmp 0x47f9ee
push 4
push str.UTF_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f747
add esi, 6
or ebx, 0x800
jmp 0x47f9ee
push 4
push str.UCP_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f769
add esi, 6
or ebx, 0x20000000
jmp 0x47f9ee
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f78b
add esi, 0x12
or ebx, 0x20000
jmp 0x47f9ee
push 0xd
push str.NO_START_OPT_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f7ad
add esi, 0xf
or ebx, 0x4000000
jmp 0x47f9ee
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f84d
lea ebx, [esi + 0xe]
xor edi, edi
add ebp, ebx
movzx eax, byte [ebp]
push eax
call fcn.004e7f30
add esp, 4
test eax, eax
je 0x47f80f
mov esi, dword [esp + 0x20]
cmp edi, 0x19999998
ja 0x47f80b
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.004e7f30
add esp, 4
test eax, eax
jne 0x47f7e1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov al, byte [eax + ebx]
cmp al, 0x29
jne 0x47fa09
mov eax, dword [esp + 0x28]
cmp edi, eax
jae 0x47f831
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 0x47f9f5
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f8e8
lea ebx, [esi + 0x12]
xor edi, edi
add ebp, ebx
movzx eax, byte [ebp]
push eax
call fcn.004e7f30
add esp, 4
test eax, eax
je 0x47f8af
mov esi, dword [esp + 0x20]
cmp edi, 0x19999998
ja 0x47f8ab
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.004e7f30
add esp, 4
test eax, eax
jne 0x47f881
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
cmp byte [ebx + ebp], 0x29
jne 0x47fa09
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x47f8d0
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 0x47f9f9
push 3
push 0x6d0e8c
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f911
mov eax, 0x100000
and ebx, 0xff8fffff
add esi, 5
or ebx, eax
jmp 0x47f9ee
push 3
push 0x6d0e90
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f93a
mov eax, 0x200000
and ebx, 0xff8fffff
add esi, 5
or ebx, eax
jmp 0x47f9ee
push 5
push str.CRLF_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f963
mov eax, 0x300000
and ebx, 0xff8fffff
add esi, 7
or ebx, eax
jmp 0x47f9ee
push 4
push str.ANY_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f989
mov eax, 0x400000
and ebx, 0xff8fffff
add esi, 6
or ebx, eax
jmp 0x47f9ee
push 8
push str.ANYCRLF_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f9af
mov eax, 0x500000
and ebx, 0xff8fffff
add esi, 0xa
or ebx, eax
jmp 0x47f9ee
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47f9ca
mov eax, 0x800000
jmp 0x47f9e3
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x47fa09
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 0x47f6f3
jmp 0x47fa0d
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 0x47fa69
test ecx, ecx
je 0x47fa3e
mov esi, 0x4e
mov edx, esi
jmp 0x480382
test ebx, 0x2000
jne 0x47fa69
push dword [esp + 0x4c]
push 0xffffffffffffffff
push eax
call fcn.0048e9c0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x47fa69
mov esi, 0x2c
mov edx, esi
jmp 0x480382
mov eax, ebx
and eax, 0x1800000
cmp eax, 0x1800000
je 0x480364
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x47faee
je 0x47facc
test eax, eax
je 0x47faa1
cmp eax, 0x100000
je 0x47fac5
cmp eax, 0x200000
jne 0x480364
mov eax, 0xa
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 1
mov byte [esp + 0xe0], al
jmp 0x47fb18
mov eax, 0xd
jmp 0x47faa6
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 2
mov word [esp + 0xe0], 0xa0d
jmp 0x47fb18
cmp eax, 0x400000
je 0x47fb0d
cmp eax, 0x500000
jne 0x480364
mov dword [esp + 0xd8], 2
jmp 0x47fb18
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 0x47fbc0
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.0047dba0
mov esi, dword [esp + 0x54]
add esp, 0x3c
test esi, esi
jne 0x480369
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
cmp ecx, 0x10000
jle 0x47fc96
mov esi, 0x14
jmp 0x480369
cmp dword [esp + 0xd4], 0
je 0x47fcb2
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x47fcb2
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 [0x7b95dc]
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x47fce2
lea esi, [eax + 0x15]
jmp 0x480369
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, 0x6d18c8
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 0x47ff46
xor edi, edi
mov dword [esp + 0x8c], edi
test edx, edx
jle 0x47ff2c
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 0x47fed3
mov edx, dword [esp + 0x30]
lea eax, [ebp + 2]
sub esi, 4
jb 0x47fe22
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x47fe27
add edx, 4
add eax, 4
sub esi, 4
jae 0x47fe11
cmp esi, 0xfffffffc
je 0x47fe5b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x47fe54
cmp esi, 0xfffffffd
je 0x47fe5b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x47fe54
cmp esi, 0xfffffffe
je 0x47fe5b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x47fe54
cmp esi, 0xffffffff
je 0x47fe5b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x47fe5b
sbb eax, eax
or eax, 1
jmp 0x47fe5d
xor eax, eax
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x47fea3
cmp byte [esi + ebp + 2], al
je 0x47fea5
mov eax, dword [esp + 0x90]
mov edx, ebp
sub edi, dword [esp + 0x24]
imul edi, eax
lea ecx, [eax + ebp]
cmp ecx, ebp
jbe 0x47febf
add ecx, edi
lea edx, [edi + ebp]
test edi, edi
je 0x47fed3
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 0x47fe90
jmp 0x47fed3
js 0x47fe6b
mov eax, dword [esp + 0x24]
add ebp, dword [esp + 0x90]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jl 0x47fe05
jmp 0x47fed3
test edi, edi
je 0x47fed3
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
sub edi, 1
jne 0x47fec3
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.004dbc20
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 0x47ff25
mov ebp, dword [esp + 0x88]
jmp 0x47fde3
mov ebx, dword [esp + 0x11e0]
cmp dword [esp + 0x94], 0x14
jle 0x47ff46
push dword [esp + 0x84]
call dword [0x7b95e0]
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.0047dba0
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 0x47ffe8
or eax, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
jmp 0x47fff8
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 0x480012
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 0x4800ed
or ecx, 0xffffffff
xor edx, edx
mov dword [esp + 0x3c], ecx
test esi, esi
jne 0x4800ed
nop word [eax + eax]
cmp eax, edi
jbe 0x4800e9
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 0x4800b2
push esi
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004773c0
add esp, 0xc
mov dword [esp + 0x3c], esi
mov edx, eax
test edx, edx
je 0x4800e0
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 0x4800e9
mov eax, dword [esp + 0x7c]
jmp 0x480060
mov esi, 0x35
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x1c]
cmp dword [esp + 0x98], 0x1000
jle 0x480108
push edi
call dword [0x7b95e0]
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x6c], 0
test esi, esi
jne 0x48012c
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 0x48014f
lea eax, [esp + 0x5c]
push eax
push edi
push ebx
call fcn.00477d10
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0xd0], 0
je 0x4801f7
push 0xffffffffffffffff
push edi
push ebx
call fcn.004773c0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4801f7
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
jne 0x4801db
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.0047e720
mov edx, eax
mov byte [esi + edi - 3], bl
add esp, 0x10
test edx, edx
js 0x480211
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.004773c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x480173
mov esi, dword [esp + 0x18]
test esi, esi
je 0x48024a
push dword [esp + 0x14]
call dword [0x7b95e0]
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x480369
cmp edx, 0xfffffffe
jne 0x480234
push dword [esp + 0x14]
mov dword [esp + 0x1c], 0x24
call dword [0x7b95e0]
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x480369
cmp edx, 0xfffffffc
mov esi, 0x19
mov eax, 0x46
cmove esi, eax
mov dword [esp + 0x18], esi
jmp 0x4801f7
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 8]
test bl, 0x10
jne 0x4802e9
push 0
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x1c]
call fcn.0047f280
add esp, 0x10
test eax, eax
je 0x48027e
or ebx, 0x10
mov dword [esi + 8], ebx
jmp 0x4802e9
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x4802c3
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0
push eax
push ebx
call fcn.0047e590
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x4802c7
push 0
lea eax, [esp + 0x60]
push eax
push 0
push ebx
call fcn.0047f430
add esp, 0x10
test eax, eax
je 0x4802e9
or dword [esi + 0xc], 0x100
jmp 0x4802e9
mov ecx, dword [esp + 0x44]
movzx edx, cl
mov word [esi + 0x18], dx
test al, 1
je 0x4802e5
mov eax, dword [esp + 0x60]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x4802e5
or dword [esi + 0xc], 0x20
or dword [esi + 0xc], 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x480324
test byte [esi + 8], 0x10
je 0x4802fb
test al, 2
je 0x480324
mov ecx, dword [esp + 0x38]
movzx edx, cl
mov word [esi + 0x1a], dx
test al, 1
je 0x480320
mov eax, dword [esp + 0x60]
mov ecx, edx
movzx eax, byte [ecx + eax]
cmp ax, dx
je 0x480320
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.0047e0a0
add esp, 0x14
test eax, eax
jne 0x480359
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
add ebx, ecx
cmp byte [ebx], 0x77
je 0x480328
mov eax, esi
jmp 0x4803b0
or dword [esi + 0xc], 0x8000
mov eax, esi
jmp 0x4803b0
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 0x48039e
mov ecx, str.no_error
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480387
cmp byte [ecx], al
je 0x480399
dec edx
test edx, edx
jg 0x480387
jmp 0x48039e
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 0x4803ae
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.004daa4c
add esp, 0x11c8
ret