Function at 0x472d80
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push ebx
xor bl, bl
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
xor eax, eax
mov byte [ebp - 0xfa], bl
xor ebx, ebx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x148], eax
mov byte [ebp - 0xf9], al
mov byte [ebp - 0xe5], al
mov byte [ebp - 0xed], al
mov dword [ebp - 0x12c], eax
test edi, edi
jne 0x472e26
cmp dword [ebp - 0x10c], ebx
mov eax, 0x503500
cmovne eax, edi
mov edi, eax
mov dword [ebp - 0x104], eax
test dword [ebp + 0x18], 0x1fff9fc0
jne 0x474036
test esi, esi
je 0x474020
test edi, edi
je 0x474020
test ecx, ecx
je 0x474020
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
add eax, edi
mov dword [ebp - 0x158], eax
mov esi, eax
mov dword [ebp - 0x110], esi
lea eax, [esi - 1]
mov dword [ebp - 0x14c], eax
cmp ecx, 0xffffffff
jne 0x472e96
push edi
call fcn.00433310
mov edx, dword [ebp - 0x118]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x138], 1
lea eax, [ecx + edi]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x114], ecx
jbe 0x472ec9
pop edi
pop esi
mov eax, 0xffffffdf
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xf4]
cmp dword [edi + 0x38], 0x50435245
je 0x472eee
pop edi
pop esi
mov eax, 0xffffffe1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x48]
mov eax, ecx
and al, 7
cmp al, 1
je 0x472f0f
pop edi
pop esi
mov eax, 0xffffffe0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
shr ecx, 0xe
and ecx, 0xc
or eax, ecx
mov dword [ebp + 0x18], eax
cmp dword [edi + 0x10], ebx
je 0x472f30
test eax, 0xbfffbfc0
jne 0x472f30
mov edi, 1
jmp 0x472f32
xor edi, edi
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 0x40]
mov eax, ecx
shr eax, 0x13
and eax, 1
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x18]
test al, 0x20
je 0x472f5d
mov eax, 2
jmp 0x472f63
shr eax, 4
and eax, 1
movzx eax, ax
mov word [ebp - 0x68], ax
test ax, ax
je 0x472f7f
mov eax, ecx
or eax, dword [ebp + 0x18]
test eax, 0x20000000
jne 0x474036
test edx, edx
je 0x472fa7
cmp dword [edx + 0x24], 0xffffffff
je 0x472fa7
test ecx, 0x800000
jne 0x472fa7
pop edi
pop esi
mov eax, 0xffffffc8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x100]
test byte [eax + 0x2d], 1
je 0x472fd1
push dword [eax + 8]
push dword [eax + 0x10]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x100]
add esp, 8
mov ecx, dword [ebp - 0x108]
and byte [eax + 0x2d], 0xfe
mov dword [eax + 0x10], ebx
lea edx, [eax + 0x28]
mov dword [ebp - 0x124], edx
mov dword [edx], ebx
test edi, edi
je 0x473149
cmp dword [ebp - 0xec], ebx
je 0x4730bc
test dword [ebp + 0x18], 0x40000000
jne 0x4730bc
test ecx, 0x4000000
jne 0x4730bc
cmp esi, dword [ebp - 0xf8]
jae 0x47303d
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x47303d
xor eax, eax
cmp eax, dword [ebp - 0x114]
pop edi
sbb eax, eax
and eax, 0xfffffff2
pop esi
add eax, 0xffffffea
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0x104]
movzx ecx, word [eax + 0x64]
test ecx, ecx
je 0x473078
cmp esi, ebx
jbe 0x473072
dec esi
cmp esi, ebx
jbe 0x47306d
nop word [eax + eax]
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x47306d
dec esi
cmp esi, ebx
ja 0x473060
sub ecx, 1
jne 0x473051
mov dword [ebp - 0x110], esi
mov eax, dword [ebp - 0x10c]
sub eax, esi
push edx
add eax, ebx
push eax
push esi
call fcn.00433690
mov ecx, dword [ebp - 0x100]
add esp, 0xc
mov dword [ecx + 0x30], eax
test eax, eax
je 0x4730b5
mov ecx, dword [ebp - 0x124]
sub esi, ebx
pop edi
add dword [ecx], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, ecx
push dword [ebp - 0x118]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x114]
push dword [ebp - 0x10c]
push dword [ebp - 0x104]
push dword [ebp - 0xf4]
call fcn.00472700
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffd3
je 0x473149
test edi, edi
js 0x473136
test dword [ebp + 0x18], 0x4000
je 0x473136
mov ebx, dword [ebp - 0x100]
mov esi, dword [ebp - 0x10c]
add esi, dword [ebp - 0x138]
push dword [ebx + 8]
mov eax, dword [ebx]
push esi
call eax
add esp, 8
mov dword [ebx + 0x10], eax
test eax, eax
je 0x47352d
push esi
push dword [ebp - 0x104]
push eax
call fcn.004d6030
add esp, 0xc
or byte [ebx + 0x2d], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xec], 0
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0x54], edi
je 0x4732c7
test ebx, ebx
jne 0x4732c7
test dword [ebp + 0x18], 0x40000000
mov ebx, dword [ebp - 0x108]
je 0x473182
test ebx, 0x4000000
je 0x4732c7
mov ecx, dword [ebp - 0xf8]
mov eax, ebx
xor edx, edx
and eax, 0x4000000
cmp esi, ecx
jae 0x4731c6
test eax, eax
je 0x4731ba
nop dword [eax]
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x4731c6
inc esi
mov edx, 1
mov dword [ebp - 0x110], esi
cmp esi, ecx
jb 0x4731a0
jmp 0x4731c6
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
je 0x47301c
mov ecx, esi
mov dword [ebp - 0x54], ecx
test edx, edx
jne 0x473205
mov eax, dword [ebp - 0xf4]
movzx edx, word [eax + 0x64]
test edx, edx
je 0x473205
nop dword [eax]
cmp ecx, edi
jbe 0x473205
dec ecx
mov dword [ebp - 0x54], ecx
cmp ecx, edi
jbe 0x473200
nop dword [eax]
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x473200
dec ecx
mov dword [ebp - 0x54], ecx
cmp ecx, edi
ja 0x4731f0
sub edx, 1
jne 0x4731e0
mov eax, dword [ebp - 0x10c]
push dword [ebp - 0x124]
sub eax, ecx
add eax, edi
push eax
push ecx
call fcn.00433690
mov edx, dword [ebp - 0x100]
add esp, 0xc
mov dword [edx + 0x30], eax
test eax, eax
je 0x4732ad
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x28]
sub ecx, edi
add eax, ecx
mov dword [edx + 0x28], eax
test ebx, 0x4000000
je 0x473f85
cmp dword [edx + 0x30], 0
jg 0x473f85
add edi, eax
mov dword [ebp - 0xf8], edi
cmp edi, esi
jae 0x4732bb
lea ecx, [edi + 1]
mov dword [ebp - 0x54], ecx
cmp ecx, esi
jae 0x473280
nop dword [eax]
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x473280
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, esi
jb 0x473270
mov eax, dword [ebp - 0x10c]
push dword [ebp - 0x124]
mov edi, dword [ebp - 0x104]
sub eax, ecx
add eax, edi
push eax
push ecx
call fcn.00433690
mov edx, dword [ebp - 0x100]
add esp, 0xc
mov dword [edx + 0x30], eax
test eax, eax
jne 0x473230
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0xf8], edi
jmp 0x4732cd
mov dword [ebp - 0x12c], 2
jmp 0x4732cd
mov edi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x4732e6
mov eax, dword [ebp - 0xf4]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
jmp 0x4732ed
movq xmm0, qword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x9c], eax
test ecx, ecx
mov eax, dword [ebp + 0x18]
mov ebx, 0x53c130
cmovne ebx, ecx
mov esi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xf4]
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0xe4], 2
mov dword [ebp - 0xa8], 0
mov edx, dword [ecx + 0x40]
or eax, edx
mov ecx, dword [ecx + 0x48]
shr eax, 0x1f
mov dword [ebp - 0x134], eax
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x150], eax
mov eax, ecx
shr eax, 9
and eax, 1
cmp dword [ebx + 0x24], 0xffffffff
mov dword [ebp - 0x144], eax
cmovne esi, dword [ebx + 0x24]
mov eax, dword [ebp - 0x104]
add esi, eax
mov dword [ebp - 0xcc], eax
mov eax, edi
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x70], eax
mov eax, ecx
shr eax, 0xc
and eax, 1
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x84], eax
lea esi, [ebp - 0xe4]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x110]
cmp word [eax + 0x64], 0
ja 0x4733d6
test ecx, 0x2000
jne 0x4733d6
xor eax, eax
jmp 0x4733db
mov eax, 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
movzx edx, word [eax + 0x6e]
lea edi, [eax + 0x70]
movzx eax, word [eax + 0x6c]
mov ecx, eax
mov dword [ebp - 0x60], edi
imul ecx, edx
mov word [ebp - 0x62], ax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x64], dx
mov dword [ebp - 0x1c], 0
add ecx, edi
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x5c], ecx
mov ax, word [edi + 0x60]
mov word [ebp - 0x66], ax
movzx eax, word [edi + 0x62]
dec eax
cmp eax, 5
ja case.default.0x47343f
jmp dword [eax*4 + 0x47404c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x14], 0xd
jmp 0x47348c
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x14], 0xa
jmp 0x47348c
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x14], 0
jmp 0x47348c
mov dword [ebp - 0x18], 2
mov word [ebp - 0x14], 0xa0d
jmp 0x47348c
mov dword [ebp - 0x1c], 1
jmp 0x47348c
mov dword [ebp - 0x1c], 2
movzx eax, word [edi + 0x68]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
lea eax, [eax*8 + 0x57]
and eax, 0xfffffffc
cmp edx, dword [edi + 0x4c]
mov dword [ebp - 0x118], eax
cmovae edx, dword [edi + 0x4c]
shl edx, 0xa
cmp ecx, dword [edi + 0x50]
mov dword [ebp - 0x98], edx
cmovae ecx, dword [edi + 0x50]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [edi + 0x54]
cmovae ecx, dword [edi + 0x54]
lea edi, [eax + eax*4]
add edi, edi
mov dword [ebp - 0x90], ecx
mov ecx, 0x5000
cmp edi, ecx
cmovb edi, ecx
cmp edi, edx
jbe 0x473502
cmp eax, edx
jbe 0x473500
pop edi
pop esi
mov eax, 0xffffffc1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ebx, dword [ebp - 0x100]
cmp dword [ebx + 0x1c], edi
jae 0x47354c
push dword [ebx + 8]
mov eax, dword [ebx + 4]
push dword [ebx + 0x18]
call eax
push dword [ebx + 8]
mov eax, dword [ebx]
push edi
call eax
add esp, 0x10
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x473543
mov dword [ebx + 0x1c], eax
pop edi
pop esi
mov eax, 0xffffffd0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
mov dword [ebx + 0x1c], edi
add eax, 0xffffffac
push eax
mov eax, dword [ebx + 0x18]
add eax, 0x54
push 0xff
push eax
call fcn.004d65b0
mov ecx, dword [ebp - 0xf4]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x7c], eax
lea edi, [eax + 0x100]
add eax, 0x340
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
test dl, 0x10
je 0x473698
mov ah, byte [ecx + 0x58]
mov dword [ebp - 0x120], 1
mov al, ah
mov byte [ebp - 0xe5], ah
mov byte [ebp - 0xf9], al
test dl, 0x20
je 0x4736be
movzx ecx, ah
mov bl, byte [ecx + edi]
mov byte [ebp - 0xe5], bl
mov ebx, dword [ebp - 0x108]
cmp al, 0x7f
jbe 0x47360b
test ebx, 0x20000
je 0x47360b
cmp dword [ebp - 0xec], 0
jne 0x47360b
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5413e0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5457e0]
lea eax, [eax + eax*2]
mov ah, byte [eax*4 + 0x53d1ac]
add ah, byte [ebp - 0xf9]
mov byte [ebp - 0xe5], ah
mov ecx, dword [ebp - 0xf4]
test dl, dl
jns 0x4736c9
mov al, byte [ecx + 0x5c]
test edx, 0x100
mov edx, dword [ebp - 0xec]
mov ah, al
mov dword [ebp - 0x148], 1
mov byte [ebp - 0xed], al
mov byte [ebp - 0xfa], ah
je 0x4736cf
movzx ecx, al
mov al, byte [edi + ecx]
mov byte [ebp - 0xed], al
cmp ah, 0x7f
jbe 0x4736cf
test ebx, 0x20000
je 0x4736cf
test edx, edx
jne 0x4736cf
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5413e0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5457e0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x53d1ac]
add al, byte [ebp - 0xfa]
mov byte [ebp - 0xed], al
jmp 0x4736cf
cmp dword [ebp - 0x144], 0
jne 0x4736be
mov ebx, dword [ebp - 0x108]
test dl, 0x40
je 0x473611
lea eax, [ecx + 0x14]
mov dword [ebp - 0x11c], eax
jmp 0x473611
mov ebx, dword [ebp - 0x108]
jmp 0x473611
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0xf8]
nop dword [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xf4]
test dword [ebx + 0x40], 0x10000
jne 0x473c64
cmp dword [ebp - 0x150], 0
je 0x47381f
mov ebx, dword [ebp - 0xf8]
mov edi, esi
cmp esi, ebx
jae 0x473819
test edx, edx
mov edx, dword [ebp - 0x1c]
je 0x4737b9
nop
test edx, edx
je 0x47377a
cmp edi, eax
jae 0x47376b
push dword [ebp - 0xec]
lea ecx, [ebp - 0x18]
push ecx
push eax
push edx
push edi
call fcn.00432b00
mov ecx, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
je 0x47376b
mov eax, 1
jmp 0x47376d
xor eax, eax
test eax, eax
jne 0x473819
mov edx, dword [ebp - 0x1c]
jmp 0x47379c
sub eax, ecx
cmp edi, eax
ja 0x47379c
mov al, byte [edi]
cmp al, byte [ebp - 0x14]
jne 0x47379c
cmp ecx, 1
je 0x473819
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x13]
je 0x473819
inc edi
cmp edi, ebx
jae 0x473819
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x4737b4
inc edi
cmp edi, ebx
jb 0x4737a5
jmp 0x473819
mov eax, dword [ebp - 0x50]
jmp 0x473740
mov esi, dword [ebp - 0xec]
nop
test edx, edx
je 0x4737f1
cmp edi, eax
jae 0x4737e6
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push edx
push edi
call fcn.00432b00
mov ecx, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
je 0x4737e6
mov eax, 1
jmp 0x4737e8
xor eax, eax
test eax, eax
jne 0x473813
mov edx, dword [ebp - 0x1c]
jmp 0x47380b
sub eax, ecx
cmp edi, eax
ja 0x47380b
mov al, byte [edi]
cmp al, byte [ebp - 0x14]
jne 0x47380b
cmp ecx, 1
je 0x473813
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x13]
je 0x473813
mov eax, dword [ebp - 0x50]
inc edi
cmp edi, ebx
jb 0x4737c0
mov esi, dword [ebp - 0x110]
mov dword [ebp - 0xf8], edi
cmp dword [ebp - 0x134], 0
je 0x473934
mov ecx, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x11c]
test ecx, ecx
jne 0x473840
test ebx, ebx
je 0x47388d
cmp esi, edi
sbb eax, eax
neg eax
cmp esi, edi
jae 0x473885
mov al, byte [esi]
test ecx, ecx
je 0x473860
cmp al, byte [ebp - 0xf9]
je 0x47388d
cmp al, byte [ebp - 0xe5]
je 0x47388d
test ebx, ebx
je case.0x473d11.997
movzx edx, al
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
mov eax, 0
setne al
test eax, eax
je case.0x473d11.997
mov ecx, dword [ebp - 0x50]
cmp word [ebp - 0x68], 0
mov edi, ecx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edi
jne 0x473c66
movzx eax, word [edx + 0x66]
sub ecx, esi
cmp ecx, eax
jl case.0x473d11.997
mov edi, dword [ebp - 0x120]
add edi, esi
cmp dword [ebp - 0x148], 0
je 0x473c66
cmp edi, dword [ebp - 0x14c]
jbe 0x473c66
cmp ecx, 0x1388
jb 0x4738f9
cmp dword [ebp - 0x134], 0
jne 0x473c66
cmp ecx, 0x4c4b40
jae 0x473c66
mov al, byte [ebp - 0xfa]
movzx ecx, al
cmp al, byte [ebp - 0xed]
je 0x473c35
mov ebx, dword [ebp - 0x50]
sub ebx, edi
push ebx
push ecx
push edi
call fcn.004d5f80
add esp, 0xc
test eax, eax
jne 0x473c4d
movzx eax, byte [ebp - 0xed]
push ebx
push eax
jmp 0x473c3c
cmp dword [ebp - 0x120], 0
je 0x473aa5
mov al, byte [ebp - 0xf9]
mov ebx, edi
mov dl, byte [ebp - 0xe5]
sub ebx, esi
cmp al, dl
je 0x4739f7
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x47397b
cmp esi, ecx
ja 0x47397b
mov eax, dword [ebp - 0xf8]
mov edi, ecx
cmp ecx, eax
mov ecx, 0
cmove edi, ecx
jmp 0x4739a4
push ebx
movzx eax, al
push eax
push esi
call fcn.004d5f80
mov dl, byte [ebp - 0xe5]
mov edi, eax
mov eax, dword [ebp - 0xf8]
add esp, 0xc
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x4739bd
cmp esi, ecx
ja 0x4739bd
xor edx, edx
mov esi, ecx
cmp ecx, eax
cmove esi, edx
jmp 0x4739e0
push ebx
movzx eax, dl
push eax
push esi
call fcn.004d5f80
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0xf8]
test esi, esi
mov ecx, esi
cmove ecx, eax
mov dword [ebp - 0x140], ecx
test edi, edi
jne 0x4739eb
test esi, esi
cmove esi, eax
jmp 0x473a0c
test esi, esi
je 0x4739f3
cmp edi, esi
jae 0x473a0c
mov esi, edi
jmp 0x473a0c
push ebx
movzx eax, al
push eax
push esi
call fcn.004d5f80
mov esi, eax
add esp, 0xc
test esi, esi
cmove esi, edi
cmp word [ebp - 0x68], 0
mov ecx, dword [ebp - 0x50]
jne 0x473890
cmp esi, ecx
jb 0x473890
xor ebx, ebx
cmp dword [ebp - 0xec], 0
mov edi, dword [ebp - 0xf8]
je 0x473ec2
mov ecx, dword [ebp - 0x128]
cmp edi, ecx
je 0x473ec2
test ebx, ebx
je 0x473a52
cmp ebx, 0xfffffffe
jne 0x473ec2
mov ebx, dword [ebp - 0x124]
nop dword [eax + eax]
lea esi, [edi + 1]
mov dword [ebp - 0x110], esi
cmp esi, ecx
jae 0x473a87
nop dword [eax]
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x473e44
inc esi
mov dword [ebp - 0x110], esi
cmp esi, ecx
jb 0x473a70
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov byte [edx + 0x2c], 0
mov dword [edx + 0x14], eax
jmp 0x473fa8
cmp dword [ebp - 0x144], 0
je 0x473bf3
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x58]
add eax, edx
cmp esi, eax
jbe 0x47388d
cmp esi, edi
jae 0x473bbe
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x473b60
nop dword [eax + eax]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x473b15
cmp esi, edx
jbe 0x473b09
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
push esi
call fcn.00433a10
mov edx, dword [ebp - 0x58]
add esp, 0x14
test eax, eax
je 0x473b09
mov eax, 1
jmp 0x473b0b
xor eax, eax
test eax, eax
jne 0x473bbe
jmp 0x473b3f
mov ebx, dword [ebp - 0x18]
lea eax, [edx + ebx]
cmp esi, eax
jb 0x473b45
mov ecx, esi
sub ecx, ebx
mov al, byte [ecx]
cmp al, byte [ebp - 0x14]
jne 0x473b3f
cmp ebx, 1
je 0x473bbe
mov al, byte [ecx + 1]
cmp al, byte [ebp - 0x13]
je 0x473bbe
mov ecx, dword [ebp - 0xec]
inc esi
cmp esi, edi
jae 0x473bbe
nop
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x473ae0
inc esi
cmp esi, edi
jb 0x473b50
jmp 0x473bbe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x473b91
cmp esi, edx
jbe 0x473b89
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
push esi
call fcn.00433a10
mov edx, dword [ebp - 0x58]
add esp, 0x14
test eax, eax
je 0x473b89
mov eax, 1
jmp 0x473b8b
xor eax, eax
test eax, eax
jne 0x473bbe
jmp 0x473bb3
mov ebx, dword [ebp - 0x18]
lea eax, [edx + ebx]
cmp esi, eax
jb 0x473bb9
mov ecx, esi
sub ecx, ebx
mov al, byte [ecx]
cmp al, byte [ebp - 0x14]
jne 0x473bb3
cmp ebx, 1
je 0x473bbe
mov al, byte [ecx + 1]
cmp al, byte [ebp - 0x13]
je 0x473bbe
mov ecx, dword [ebp - 0xec]
inc esi
cmp esi, edi
jb 0x473b60
cmp byte [esi - 1], 0xd
jne 0x47388d
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x473bd9
cmp eax, 2
jne 0x47388d
cmp esi, edi
jae 0x47388d
cmp byte [esi], 0xa
mov ecx, dword [ebp - 0x50]
jne 0x473890
inc esi
jmp 0x473890
mov ebx, dword [ebp - 0x11c]
test ebx, ebx
je 0x47388d
cmp esi, edi
jae 0x473a0c
nop dword [eax]
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
jne 0x473a0c
inc esi
cmp esi, edi
jb 0x473c10
jmp 0x473a0c
mov eax, dword [ebp - 0x50]
sub eax, edi
push eax
push ecx
push edi
call fcn.004d5f80
add esp, 0xc
test eax, eax
je case.0x473d11.997
cmp eax, dword [ebp - 0x50]
jae case.0x473d11.997
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x14c], eax
jmp 0x473c66
mov edx, ebx
cmp esi, dword [ebp - 0x154]
ja case.0x473d11.997
or dword [ebp - 0xa8], 1
mov eax, esi
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x12c]
or eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x100]
movzx eax, word [edx + 0x68]
push dword [ebp - 0x118]
mov dword [ebp - 0x48], esi
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x44], esi
push esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x24], 0
call fcn.0045bd80
add esp, 0x18
mov ebx, eax
cmp dword [ebp - 0x88], 0
je 0x473cf8
cmp dword [ebp - 0x108], 0
jne 0x473cf8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x130], esi
test ebx, ebx
jg case.default.0x473d11
je case.0x473d11.996
lea eax, [ebx + 0x3e5]
cmp eax, 4
ja case.default.0x473d11
jmp dword [eax*4 + 0x474064]
mov eax, dword [ebp - 0x24]
mov edi, esi
mov dword [ebp - 0x20], eax
jmp 0x473d54
mov edi, dword [ebp - 0x34]
cmp edi, esi
ja 0x473d54
mov ecx, dword [ebp - 0xec]
lea edi, [esi + 1]
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x473d5a
mov ecx, dword [ebp - 0xf8]
cmp edi, ecx
jae 0x473d54
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x473d54
inc edi
cmp edi, ecx
jb 0x473d47
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x1c]
xor ebx, ebx
cmp dword [ebp - 0x150], ebx
je 0x473d9c
mov eax, dword [ebp - 0x50]
test edx, edx
je 0x473e16
cmp esi, eax
jae 0x473d8f
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
push edx
push esi
call fcn.00432b00
add esp, 0x14
test eax, eax
je 0x473d8f
lea eax, [ebx + 1]
jmp 0x473d91
xor eax, eax
test eax, eax
jne case.default.0x473d11
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov esi, edi
mov dword [ebp - 0x110], esi
cmp dword [ebp - 0x134], ebx
jne case.default.0x473d11
mov eax, dword [ebp - 0xf8]
cmp edi, eax
ja case.default.0x473d11
cmp edi, dword [ebp - 0x158]
jbe 0x473dff
cmp byte [edi - 1], 0xd
jne 0x473dff
cmp edi, eax
jae 0x473dff
cmp byte [edi], 0xa
jne 0x473dff
mov eax, dword [ebp - 0xf4]
test dword [eax + 0x48], 0x800
jne 0x473dff
cmp edx, 1
je 0x473df6
cmp edx, 2
je 0x473df6
cmp ecx, 2
jne 0x473dff
lea esi, [edi + 1]
mov dword [ebp - 0x110], esi
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x40], ebx
jmp 0x473703
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp esi, eax
ja 0x473d9f
mov al, byte [esi]
cmp al, byte [ebp - 0x14]
jne 0x473d9f
cmp ecx, 1
je case.default.0x473d11
mov al, byte [esi + 1]
cmp al, byte [ebp - 0x13]
je case.default.0x473d11
jmp 0x473d9f
mov eax, dword [ebp - 0x10c]
sub eax, esi
mov dword [ebp - 0x54], esi
add eax, dword [ebp - 0x104]
push ebx
push eax
push esi
call fcn.00433690
add esp, 0xc
test eax, eax
je 0x473e9c
mov ecx, dword [ebp - 0x128]
jns 0x473a60
mov edi, dword [ebx]
add edi, esi
mov dword [ebp - 0xf8], edi
mov eax, edi
mov dword [ebp - 0x50], eax
cmp edi, esi
jbe 0x473a60
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x12c], 3
jmp 0x4736e0
mov eax, dword [ebp - 0x128]
mov edi, eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x12c], 1
jmp 0x4736e0
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x14], eax
mov byte [edx + 0x2c], 0
cmp ebx, 1
jne 0x473f99
movzx eax, word [edx + 0x2e]
mov ecx, dword [ebp - 0x6c]
add eax, eax
cmp ecx, eax
jl 0x473ef5
xor eax, eax
jmp 0x473f03
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x100]
sar eax, 1
inc eax
mov ebx, dword [ebp - 0x104]
sub esi, ebx
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x48]
sub eax, ebx
mov dword [edx + 0x28], esi
cmp dword [ebp - 0x44], ecx
mov dword [edx + 0x20], eax
cmova ecx, dword [ebp - 0x44]
sub ecx, ebx
test dword [ebp + 0x18], 0x4000
mov dword [edx + 0x24], ecx
je 0x473f82
mov esi, dword [ebp - 0x10c]
push dword [edx + 8]
add esi, dword [ebp - 0x138]
mov eax, dword [edx]
push esi
call eax
mov ecx, dword [ebp - 0x100]
add esp, 8
mov dword [ecx + 0x10], eax
test eax, eax
je 0x47352d
push esi
push ebx
push eax
call fcn.004d6030
mov edx, dword [ebp - 0x100]
add esp, 0xc
or byte [edx + 0x2d], 1
mov eax, dword [edx + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov dword [edx + 0x10], ebx
mov eax, dword [edx + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x14], eax
test ebx, ebx
je 0x473fa8
cmp ebx, 0xfffffffe
jne 0x473ff4
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x473ff1
mov eax, dword [ebp - 0x104]
mov ebx, 0xfffffffe
sub ecx, eax
mov dword [edx + 0x10], eax
sub edi, eax
mov dword [edx + 0x34], ecx
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x108]
mov dword [edx + 0x38], edi
sub ecx, eax
mov dword [edx + 0x24], edi
mov eax, ebx
pop edi
mov dword [edx + 0x20], ecx
pop esi
mov dword [edx + 0x30], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
pop edi
pop esi
mov dword [edx + 0x30], ebx
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffcd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffde
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3b35
mov esp, ebp
pop ebp
ret