Function at 0x467374
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb40
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x500
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [0x4eae54], eax
push 4
push 0x1000
push 0x21000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x4eae60], eax
push 4
push 0x1000
push 0x80000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x4eae68], eax
push 4
push 0x1000
push 0x40000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x4eae70], eax
push 4
push 0x1000
push 0x10000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x4eae78], eax
cmp dword [0x4eae54], 0
je 0x467423
cmp dword [0x4eae60], 0
je 0x467423
cmp dword [0x4eae68], 0
je 0x467423
cmp dword [0x4eae70], 0
je 0x467423
cmp dword [0x4eae78], 0
jne 0x46742f
mov dword [ebp - 0x10], 1
jmp 0x4689af
xor edx, edx
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [0x4eae7c], edx
mov byte [ebp - 0x4c0], 0
mov dword [0x4eae74], edx
mov dword [0x4eae6c], edx
mov dword [0x4eae64], edx
mov ecx, dword [ebp + 0x18]
mov dword [0x4eae5c], edx
mov dword [0x4eae58], edx
xor eax, eax
mov al, byte [ecx]
cmp eax, 0xf0
jne 0x4674dc
mov dword [ebp - 8], 1
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx + 1]
add ecx, 3
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 4]
mov eax, 1
shl eax, cl
cmp eax, dword [ebp - 0x50]
je 0x4674a2
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x46748a
cmp dword [ebp - 4], 0x10
jl 0x4674b4
mov dword [ebp - 0x10], 3
jmp 0x4689af
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 3]
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx + 7]
add eax, ecx
cmp eax, dword [ebp + 0x1c]
jbe 0x4674d4
mov dword [ebp - 0x10], 3
jmp 0x4689af
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
jmp 0x4674ed
xor edx, edx
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x4c]
jb 0x46753c
cmp dword [0x4eae88], 0
jne 0x46753c
mov ecx, dword [ebp + 8]
mov edx, dword [0x4eae84]
push ecx
sub edx, dword [0x4eae80]
mov eax, dword [ebp + 0x1c]
push eax
push edx
mov ecx, dword [ebp - 0x48]
push ecx
call sub.KERNEL32.DLL_MulDiv
add eax, dword [0x4eae80]
push eax
call sym._L__.exe__Progress
add esp, 8
mov eax, dword [ebp - 0x48]
add eax, 0x2000
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov al, byte [edx + ecx]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x48]
movzx eax, word [edx + ecx + 1]
add eax, 3
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x48]
add esi, 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x9a
jg 0x4675f0
je case.0x467581.148
add eax, 0xffffff80
cmp eax, 0x19
ja case.0x467581.129
jmp dword [eax*4 + 0x467588]
cmp eax, 0xb4
jge 0x467628
add eax, 0xffffff64
sub eax, 2
jb 0x468153
add eax, 0xfffffffe
sub eax, 2
jb 0x468643
sub eax, 2
jb 0x468742
sub eax, 0xc
je 0x46874c
jmp case.0x467581.129
cmp eax, 0xc6
jg 0x467651
je case.0x467581.148
add eax, 0xffffff4c
sub eax, 2
jb 0x468948
sub eax, 2
je 0x46874c
jmp case.0x467581.129
sub eax, 0xca
je case.0x467581.150
sub eax, 0x27
je 0x4689af
jmp case.0x467581.129
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov cl, byte [edx + esi]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 5
cmp eax, dword [ebp - 0x18]
jle 0x467689
mov edx, dword [ebp - 0x18]
add edx, 0xfffffffb
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0xff
jle 0x467699
mov dword [ebp - 0x1c], 0xff
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ebp + 0x18]
add eax, esi
inc eax
push eax
lea edx, [ebp - 0x4c0]
push edx
call fcn.004a3530
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x4c0], 0
jmp case.0x467581.148
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi + 1]
cmp edx, 0xa0
jne case.0x467581.148
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi + 2]
dec eax
jne case.0x467581.148
mov edx, dword [ebp + 0x18]
cmp byte [edx + esi + 3], 0
je case.0x467581.148
add esi, 4
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
add ecx, esi
cmp edx, ecx
jbe case.0x467581.148
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebp + 0x18]
add edx, esi
inc edx
push edx
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.004a3530
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp + eax - 0x3c0], 0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x18]
inc edx
xor eax, eax
add esi, edx
mov al, byte [ecx + esi]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
add ecx, esi
cmp edx, ecx
jbe case.0x467581.148
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebp + 0x18]
add edx, esi
inc edx
push edx
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.004a3530
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x4c0], 0
mov edx, dword [ebp - 0x1c]
inc edx
add esi, edx
mov ecx, dword [ebp + 0x18]
movzx eax, word [ecx + esi]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x46786f
mov dword [ebp - 0x6c], 0x10000
mov byte [ebp - 0x2c0], 0
lea edx, [ebp - 0x2c0]
push edx
push 0x81
mov ecx, dword [ebp - 0x6c]
push ecx
call sym._L__.exe__Findname
add esp, 0xc
test eax, eax
je 0x4677f3
lea eax, [ebp - 0x4c0]
push eax
lea edx, [ebp - 0x2c0]
push edx
call fcn.004a38bc
add esp, 8
test eax, eax
je 0x4677f3
add dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0x10000000
jb 0x4677a6
cmp dword [ebp - 0x6c], 0x10000000
jb 0x46781c
mov ecx, dword [ebp + 0x20]
mov esi, 0x4bcf4a
mov edi, ecx
mov eax, edi
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4689af
cmp byte [ebp - 0x2c0], 0
jne 0x467854
lea edx, [ebp - 0x4c0]
push edx
push 0x81
mov ecx, dword [ebp - 0x6c]
push ecx
call sym._L__.exe__Insertname
add esp, 0xc
push 0x4bcf5f
push 0x81
mov eax, dword [ebp - 0x6c]
inc eax
push eax
call sym._L__.exe__Insertname
add esp, 0xc
lea edx, [ebp - 0x3c0]
push edx
push 0x82
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 4]
push ecx
call sym._L__.exe__Quickinsertname
add esp, 0xc
inc dword [0x4eae94]
jmp case.0x467581.148
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x467c9c
mov ebx, dword [ebp - 4]
shl ebx, 2
lea ebx, [ebx + ebx*4]
add ebx, dword [0x4eae54]
cmp dword [ebx + 8], 0
je 0x467c99
cmp dword [ebx + 0xc], 0
je 0x467c99
cmp dword [ebx + 4], 5
jb 0x467c99
xor eax, eax
xor edx, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov esi, ecx
jmp 0x4678df
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xff
jne 0x4678dc
inc dword [ebp - 0x58]
cmp byte [esi], 0
je 0x4678dc
inc dword [ebp - 0x5c]
inc edx
inc esi
inc eax
cmp edx, dword [ebx + 4]
jb 0x4678c5
mov edx, dword [ebx + 4]
cmp edx, dword [ebp - 0x58]
jbe 0x4678f6
cmp dword [ebp - 0x58], 0x10
jb 0x467c99
cmp dword [ebp - 0x5c], 4
jb 0x467c99
mov eax, dword [ebx + 0x10]
push eax
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004672d0
add esp, 0x18
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
je 0x467c99
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov esi, dword [ebp - 0x64]
add esi, dword [ebx + 0x10]
cmp esi, dword [ebp + 0x14]
jb 0x46794a
mov dword [ebp - 0x68], 0xffffffff
jmp 0x467971
mov eax, dword [ebx + 0x10]
push eax
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp + 0x14]
sub edx, esi
push edx
mov ecx, dword [ebp + 0xc]
add ecx, esi
push ecx
call fcn.004672d0
add esp, 0x18
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
je 0x467a86
cmp dword [ebx], 0x4001
jl 0x4679ed
mov eax, dword [0x4eae6c]
add eax, 0x4001
cmp eax, dword [ebx]
jle 0x4679ed
mov edx, dword [ebx]
shl edx, 8
add edx, dword [0x4eae68]
add edx, 0xffbfff00
push edx
call fcn.004a36d4
pop ecx
mov edi, eax
cmp edi, 0x80
jle 0x4679b8
mov edi, 0x80
lea eax, [ebp - 0x4c0]
mov edx, 0xc9
sub edx, edi
push eax
push edx
mov ecx, dword [ebx]
shl ecx, 8
add ecx, dword [0x4eae68]
add ecx, 0xffbfff00
push ecx
push edi
push 0x4bcf61
push 1
push 0
call sym._L__.exe__Addtolist
add esp, 0x1c
jmp 0x467a0a
lea eax, [ebp - 0x4c0]
push eax
push 0xce
push 0x4bcfa0
push 1
push 0
call sym._L__.exe__Addtolist
add esp, 0x14
mov edx, dword [ebp - 0x60]
push edx
push 0x4bcfcc
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call sym._L__.exe__Addtolist
add esp, 0x10
cmp dword [ebp - 0x68], 0xffffffff
je 0x467c99
add esi, dword [ebp - 0x68]
mov eax, dword [ebp + 0x10]
add eax, esi
push eax
push 0x4bcfcc
push 0
push eax
call sym._L__.exe__Addtolist
add esp, 0x10
mov eax, dword [ebx + 0x10]
add esi, eax
cmp esi, dword [ebp + 0x14]
jb 0x467a57
mov dword [ebp - 0x68], 0xffffffff
jmp 0x467a7b
push eax
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp + 0x14]
sub edx, esi
push edx
mov ecx, dword [ebp + 0xc]
add ecx, esi
push ecx
call fcn.004672d0
add esp, 0x18
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jne 0x467a2b
jmp 0x467c99
inc dword [0x4eae8c]
cmp dword [ebx], 0x4001
jl 0x467aee
mov eax, dword [0x4eae6c]
add eax, 0x4001
cmp eax, dword [ebx]
jle 0x467aee
mov edx, dword [ebx]
shl edx, 8
add edx, dword [0x4eae68]
add edx, 0xffbfff00
push edx
push 0x34
mov ecx, dword [ebp - 0x60]
push ecx
call sym._L__.exe__Insertname
add esp, 0xc
mov eax, dword [ebx]
shl eax, 8
add eax, dword [0x4eae68]
add eax, 0xffbfff00
push eax
push 0xed
push 0x4bcfd3
lea edx, [ebp - 0x2c0]
push edx
call fcn.004a6c2c
add esp, 0x10
jmp 0x467b0e
lea ecx, [ebp - 0x4c0]
push ecx
push 0xef
push 0x4bcfea
lea eax, [ebp - 0x2c0]
push eax
call fcn.004a6c2c
add esp, 0x10
lea edx, [ebp - 0x2c0]
push edx
push 0x37
mov ecx, dword [ebp - 0x60]
push ecx
call sym._L__.exe__Insertname
add esp, 0xc
xor edi, edi
jmp 0x467b79
mov eax, edi
shl eax, 5
add eax, edi
mov edx, dword [0x4eae60]
mov ecx, dword [edx + eax*8 + 0x100]
cmp ecx, dword [ebx]
jne 0x467b78
mov eax, edi
mov edx, edi
shl eax, 5
mov ecx, dword [0x4eae60]
add eax, edi
shl eax, 3
add eax, dword [0x4eae60]
shl edx, 5
push eax
add edx, edi
push 0x34
mov eax, dword [ecx + edx*8 + 0x104]
add eax, dword [ebp - 0x60]
push eax
call sym._L__.exe__Insertname
add esp, 0xc
inc dword [0x4eae90]
inc edi
cmp edi, dword [0x4eae64]
jl 0x467b27
xor edi, edi
jmp 0x467c8d
mov edx, edi
mov eax, dword [0x4eae70]
shl edx, 4
mov ecx, dword [0x4eae70]
mov eax, dword [eax + edx + 8]
mov edx, dword [ecx + edx]
add eax, dword [ebp - 0x60]
cmp edx, dword [ebx]
jne 0x467c8c
cmp eax, dword [ebp + 0x10]
jb 0x467c8c
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
sub edx, 4
cmp eax, edx
ja 0x467c8c
mov ecx, eax
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + ecx]
mov edx, edi
shl edx, 4
mov ecx, dword [0x4eae70]
cmp word [ecx + edx + 4], 0
jne 0x467bf8
mov edx, edi
shl edx, 4
mov ecx, dword [0x4eae70]
add eax, dword [ecx + edx + 0xc]
add eax, 4
add esi, eax
jmp 0x467c07
mov eax, edi
shl eax, 4
mov edx, dword [0x4eae70]
sub esi, dword [edx + eax + 0xc]
mov byte [ebp - 0x2c0], 0
lea eax, [ebp - 0x2c0]
push eax
push 0x34
push esi
call sym._L__.exe__Findname
add esp, 0xc
test eax, eax
je 0x467c61
lea eax, [ebp - 0x2c0]
mov edx, edi
shl edx, 4
mov ecx, dword [0x4eae70]
movzx edx, word [ecx + edx + 6]
shl edx, 8
add edx, dword [0x4eae68]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x467c5f
test cl, cl
je 0x467c8c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x467c5f
add eax, 2
add edx, 2
test cl, cl
jne 0x467c43
je 0x467c8c
mov eax, edi
shl eax, 4
mov edx, dword [0x4eae70]
movzx eax, word [edx + eax + 6]
shl eax, 8
add eax, dword [0x4eae68]
push eax
push 0x34
push esi
call sym._L__.exe__Insertname
add esp, 0xc
inc dword [0x4eae90]
inc edi
cmp edi, dword [0x4eae74]
jl 0x467b88
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4eae58]
jl 0x467884
cmp dword [ebp - 8], 0
je 0x4689af
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x467cec
cmp dword [ebx + 8], 0
je 0x467cd0
mov edx, dword [ebx + 8]
push edx
call sub.KERNEL32.DLL_GlobalFree
xor ecx, ecx
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], 0
je 0x467ce4
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_GlobalFree
xor edx, edx
mov dword [ebx + 0xc], edx
xor ecx, ecx
mov dword [ebx + 4], ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [0x4eae58]
jl 0x467cbc
mov edx, dword [ebp - 0x18]
xor ecx, ecx
add dword [ebp - 0x48], edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
add eax, dword [ebp - 0x50]
dec edx
not edx
dec eax
and eax, edx
xor ecx, ecx
mov dword [0x4eae7c], ecx
mov dword [0x4eae74], ecx
mov dword [0x4eae6c], ecx
mov dword [0x4eae64], ecx
mov dword [ebp - 0x48], eax
mov dword [0x4eae5c], ecx
mov byte [ebp - 0x4c0], 0
mov dword [0x4eae58], ecx
call fcn.0046718c
cmp dword [0x4eae50], 0
je case.0x467581.148
mov dword [ebp - 0x10], 6
jmp 0x4689af
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jle case.0x467581.148
mov edx, dword [ebp + 0x18]
add edx, esi
inc edx
push edx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi]
push edx
call fcn.004671d0
add esp, 8
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
inc eax
sub dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov cl, byte [edx + esi]
inc ecx
add esi, ecx
mov eax, dword [ebp + 0x18]
test byte [eax + esi], 0x80
jne 0x467db0
dec dword [ebp - 0x1c]
inc esi
jmp 0x467db7
sub dword [ebp - 0x1c], 2
add esi, 2
cmp dword [ebp - 0x1c], 1
jg 0x467d72
jmp case.0x467581.148
mov edx, dword [ebp + 0x18]
test byte [edx + esi], 0x80
jne 0x467dd9
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
inc esi
mov dword [ebp - 0x24], eax
jmp 0x467df8
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov cl, byte [edx + esi]
and ecx, 0x7f
xor edx, edx
shl ecx, 8
mov dl, byte [eax + esi + 1]
add ecx, edx
add esi, 2
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x18]
test byte [ecx + esi], 0x80
jne 0x467e0f
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi]
inc esi
mov dword [ebp - 0x28], edx
jmp 0x467e2e
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov edx, dword [ebp + 0x18]
mov al, byte [ecx + esi]
and eax, 0x7f
xor ecx, ecx
shl eax, 8
mov cl, byte [edx + esi + 1]
add eax, ecx
add esi, 2
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x467e43
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + esi]
mov dword [ebp - 0x2c], edx
add esi, 2
jmp 0x467e48
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi]
mov dword [ebp - 0x1c], edx
inc esi
cmp dword [ebp - 0x1c], 0
je case.0x467581.148
mov ecx, dword [ebp + 0x18]
add ecx, esi
mov dword [ebp - 0x7c], ecx
add esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], 0x90
jne 0x467e7e
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + esi]
mov dword [ebp - 0x78], edx
jmp 0x467e87
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + esi]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [ebp - 0x7c]
push eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0046722c
add esp, 0x10
jmp case.0x467581.148
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffffd
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 1
jle case.0x467581.148
cmp dword [0x4eae7c], 0x100
jge case.0x467581.148
mov eax, dword [ebp + 0x18]
movzx edi, byte [eax + esi]
inc esi
dec dword [ebp - 0x1c]
test edi, edi
jle 0x467ef5
push edi
mov edx, dword [0x4eae7c]
mov eax, dword [ebp + 0x18]
shl edx, 8
add eax, esi
add edx, dword [0x4eae78]
push eax
push edx
call fcn.004a3530
add esp, 0xc
mov ecx, dword [0x4eae7c]
mov eax, dword [0x4eae78]
shl ecx, 8
add esi, edi
lea edx, [eax + ecx]
mov byte [edx + edi], 0
sub dword [ebp - 0x1c], edi
inc dword [0x4eae7c]
cmp dword [ebp - 0x1c], 1
jg 0x467eb7
jmp case.0x467581.148
cmp dword [0x4eae5c], 0x3e8
jg case.0x467581.148
cmp dword [0x4eae58], 0x40
jge case.0x467581.148
inc dword [0x4eae5c]
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
inc esi
test al, 1
jne 0x467f5c
mov dword [ebp - 0x10], 4
jmp 0x4689af
mov edx, eax
and edx, 0x1c
cmp edx, 0x14
je case.0x467581.148
mov ecx, eax
and ecx, 0x1c
cmp ecx, 0x18
je case.0x467581.148
test al, 2
setne dl
and eax, 0xe0
and edx, 1
sar eax, 5
mov dword [ebp - 0xc], edx
test eax, eax
je case.0x467581.148
cmp eax, 2
jne 0x467fa1
mov dword [ebp - 0x20], 2
jmp 0x467fd2
cmp eax, 3
jne 0x467faf
mov dword [ebp - 0x20], 0x10
jmp 0x467fd2
cmp eax, 4
jne 0x467fbd
mov dword [ebp - 0x20], 0x100
jmp 0x467fd2
cmp eax, 5
jne 0x467fcb
mov dword [ebp - 0x20], 4
jmp 0x467fd2
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x14], 0x98
jne 0x467ff7
mov eax, dword [ebp + 0x18]
movzx ecx, word [eax + esi]
mov dword [ebp - 0x70], ecx
add esi, 2
cmp dword [ebp - 0xc], 0
je 0x46800d
mov dword [ebp - 0x70], 0x10000
jmp 0x46800d
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + esi]
mov dword [ebp - 0x70], edx
add esi, 4
cmp dword [ebp - 0xc], 0
jne case.0x467581.148
mov ecx, dword [ebp + 0x18]
test byte [ecx + esi], 0x80
jne 0x468019
inc esi
jmp 0x46801c
add esi, 2
mov eax, dword [ebp + 0x18]
test byte [eax + esi], 0x80
jne 0x46802e
mov edx, dword [ebp + 0x18]
movzx edi, byte [edx + esi]
jmp 0x468046
mov eax, dword [ebp + 0x18]
xor edx, edx
movzx edi, byte [eax + esi]
mov eax, dword [ebp + 0x18]
and edi, 0x7f
shl edi, 8
mov dl, byte [eax + esi + 1]
add edi, edx
test edi, edi
jle 0x468095
cmp edi, dword [0x4eae7c]
jg 0x468095
mov dword [ebp - 4], 7
mov esi, 0x4bcf10
mov edx, edi
mov eax, dword [esi]
shl edx, 8
push eax
add edx, dword [0x4eae78]
add edx, 0xffffff00
push edx
call fcn.004a38bc
add esp, 8
test eax, eax
je 0x46808b
dec dword [ebp - 4]
add esi, 0xfffffffc
cmp dword [ebp - 4], 0
jge 0x46805e
cmp dword [ebp - 4], 0
jge case.0x467581.148
mov ecx, dword [0x4eae58]
lea ecx, [ecx + ecx*4]
mov eax, dword [0x4eae54]
mov edx, dword [0x4eae5c]
mov dword [eax + ecx*4], edx
mov ecx, dword [0x4eae58]
lea ecx, [ecx + ecx*4]
mov eax, dword [0x4eae54]
mov edx, dword [ebp - 0x70]
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [ebp - 0x70]
push ecx
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [0x4eae58]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 0x70]
push eax
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [0x4eae58]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov dword [ecx + edx*4 + 0xc], eax
mov eax, dword [0x4eae58]
lea eax, [eax + eax*4]
mov edx, dword [0x4eae54]
cmp dword [edx + eax*4 + 8], 0
je 0x468127
mov eax, dword [0x4eae58]
lea eax, [eax + eax*4]
mov ecx, dword [0x4eae54]
cmp dword [ecx + eax*4 + 0xc], 0
jne 0x468133
mov dword [ebp - 0x10], 1
jmp 0x4689af
mov eax, dword [0x4eae58]
lea eax, [eax + eax*4]
mov edx, dword [0x4eae54]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*4 + 0x10], ecx
inc dword [0x4eae58]
jmp case.0x467581.148
cmp dword [ebp - 0x28], 0
je case.0x467581.148
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jle case.0x467581.148
mov edx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [edx + esi]
inc esi
dec dword [ebp - 0x1c]
test al, 0x80
jne 0x468264
mov edx, eax
and edx, 3
test al, 0x40
mov dword [ebp - 0x30], edx
jne 0x4681ef
sar eax, 2
mov ecx, dword [ebp - 0x30]
and eax, 3
mov dword [ebp + ecx*4 - 0x8c], eax
mov eax, dword [ebp + 0x18]
test byte [eax + esi], 0x80
jne 0x4681ba
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov cl, byte [edx + esi]
mov dword [ebp - 0x3c], ecx
inc esi
dec dword [ebp - 0x1c]
jmp 0x4681dd
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [ebp + 0x18]
mov dl, byte [eax + esi]
and edx, 0x7f
xor eax, eax
shl edx, 8
mov al, byte [ecx + esi + 1]
add edx, eax
add esi, 2
mov dword [ebp - 0x3c], edx
sub dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + edx*4 - 0x9c], ecx
jmp 0x468634
sar eax, 2
mov edx, dword [ebp - 0x30]
and eax, 7
mov dword [ebp + edx*4 - 0xac], eax
cmp eax, 4
jge 0x468253
mov eax, dword [ebp + 0x18]
test byte [eax + esi], 0x80
jne 0x46821e
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
mov dword [ebp - 0x44], eax
inc esi
dec dword [ebp - 0x1c]
jmp 0x468241
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov cl, byte [edx + esi]
and ecx, 0x7f
xor edx, edx
shl ecx, 8
mov dl, byte [eax + esi + 1]
add ecx, edx
add esi, 2
mov dword [ebp - 0x44], ecx
sub dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
mov dword [ebp + ecx*4 - 0xbc], eax
jmp 0x468634
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp + edx*4 - 0xbc], ecx
jmp 0x468634
mov edx, eax
and edx, 0x40
mov dword [ebp - 0x34], edx
mov edx, eax
mov ecx, dword [ebp + 0x18]
and eax, 3
shl eax, 8
movzx ecx, byte [ecx + esi]
dec dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp + 0x18]
inc esi
sar edx, 2
movzx ecx, byte [ecx + esi]
dec dword [ebp - 0x1c]
inc esi
and edx, 0xf
test cl, 0x80
je 0x4682bd
mov ebx, ecx
sar ebx, 4
and ebx, 3
mov ebx, dword [ebp + ebx*4 - 0xac]
mov dword [ebp - 0x40], ebx
mov ebx, ecx
sar ebx, 4
and ebx, 3
mov ebx, dword [ebp + ebx*4 - 0xbc]
mov dword [ebp - 0x44], ebx
jmp 0x46830f
mov ebx, ecx
sar ebx, 4
and ebx, 7
mov dword [ebp - 0x40], ebx
cmp dword [ebp - 0x40], 4
jge 0x46830a
mov ebx, dword [ebp + 0x18]
test byte [ebx + esi], 0x80
jne 0x4682e7
mov ebx, dword [ebp + 0x18]
movzx ebx, byte [ebx + esi]
mov dword [ebp - 0x44], ebx
inc esi
dec dword [ebp - 0x1c]
jmp 0x46830f
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x18]
movzx ebx, byte [ebx + esi]
movzx edi, byte [edi + esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
add ebx, edi
mov dword [ebp - 0x44], ebx
sub dword [ebp - 0x1c], 2
jmp 0x46830f
xor ebx, ebx
mov dword [ebp - 0x44], ebx
test cl, 8
je 0x46833b
mov ebx, ecx
mov edi, ecx
and ebx, 3
and edi, 4
mov ebx, dword [ebp + ebx*4 - 0x8c]
or ebx, edi
mov dword [ebp - 0x38], ebx
mov ebx, ecx
and ebx, 3
mov ebx, dword [ebp + ebx*4 - 0x9c]
mov dword [ebp - 0x3c], ebx
jmp 0x46837d
mov ebx, ecx
and ebx, 7
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp + 0x18]
test byte [ebx + esi], 0x80
jne 0x46835c
mov ebx, dword [ebp + 0x18]
movzx ebx, byte [ebx + esi]
mov dword [ebp - 0x3c], ebx
inc esi
dec dword [ebp - 0x1c]
jmp 0x46837d
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x18]
movzx ebx, byte [ebx + esi]
movzx edi, byte [edi + esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
add ebx, edi
mov dword [ebp - 0x3c], ebx
sub dword [ebp - 0x1c], 2
test cl, 4
jne 0x4683b0
cmp dword [ebp - 0x14], 0x9c
jne 0x46839e
mov ecx, dword [ebp + 0x18]
movzx ecx, word [ecx + esi]
mov dword [ebp - 0x78], ecx
add esi, 2
sub dword [ebp - 0x1c], 2
jmp 0x4683b5
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + esi]
mov dword [ebp - 0x78], ecx
add esi, 4
sub dword [ebp - 0x1c], 4
jmp 0x4683b5
xor ecx, ecx
mov dword [ebp - 0x78], ecx
xor ecx, ecx
mov ebx, dword [0x4eae54]
mov dword [ebp - 4], ecx
jmp 0x4683cf
mov ecx, dword [ebx]
cmp ecx, dword [ebp - 0x28]
je 0x4683da
inc dword [ebp - 4]
add ebx, 0x14
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4eae58]
jl 0x4683c2
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4eae58]
jge 0x468166
cmp dword [ebx + 8], 0
je 0x468166
cmp dword [ebx + 0xc], 0
je 0x468166
add eax, dword [ebp - 0x54]
test edx, edx
jne 0x46840d
mov dword [ebp - 0x1c], 1
jmp 0x468449
cmp edx, 4
jne 0x46841c
mov dword [ebp - 0x1c], 1
inc eax
jmp 0x468449
cmp edx, 1
je 0x468426
cmp edx, 2
jne 0x46842f
mov dword [ebp - 0x1c], 2
jmp 0x468449
cmp edx, 6
je 0x468439
cmp edx, 0xb
jne 0x468442
mov dword [ebp - 0x1c], 6
jmp 0x468449
mov dword [ebp - 0x1c], 4
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x46845f
mov ecx, dword [ebp - 4]
add ecx, eax
mov edi, dword [ebx + 0xc]
mov byte [edi + ecx], 0
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jge 0x468471
mov ecx, dword [ebp - 4]
add ecx, eax
cmp ecx, dword [ebx + 4]
jb 0x468450
cmp dword [ebp - 0x34], 0
jne 0x46855e
cmp dword [ebp - 0x40], 5
jne 0x46855e
cmp dword [ebp - 0x38], 2
je 0x468495
cmp dword [ebp - 0x38], 6
jne 0x46855e
cmp edx, 9
je 0x4684a3
cmp edx, 0xd
jne 0x46855e
lea ecx, [eax + 4]
cmp ecx, dword [ebx + 4]
ja 0x46855e
cmp dword [ebp - 0x3c], 0
jle 0x46855e
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [0x4eae6c]
jg 0x46855e
cmp dword [0x4eae74], 0x4000
jge 0x46855e
mov ecx, dword [0x4eae74]
mov edi, dword [0x4eae70]
shl ecx, 4
add edi, ecx
mov ecx, dword [ebp - 0x28]
mov dword [edi], ecx
mov ecx, dword [0x4eae74]
mov edi, dword [0x4eae70]
shl ecx, 4
mov word [edi + ecx + 4], 0
mov ecx, dword [0x4eae74]
mov edi, dword [0x4eae70]
shl ecx, 4
lea ecx, [edi + ecx + 6]
push ecx
mov cx, word [ebp - 0x3c]
pop edi
add cx, 0xffff
mov word [edi], cx
mov ecx, dword [0x4eae74]
mov edi, dword [0x4eae70]
shl ecx, 4
mov dword [edi + ecx + 8], eax
mov ecx, dword [ebx + 8]
mov edi, dword [0x4eae70]
mov ecx, dword [ecx + eax]
add ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [0x4eae74]
shl ecx, 4
lea edi, [edi + ecx + 0xc]
pop ecx
mov dword [edi], ecx
inc dword [0x4eae74]
cmp dword [ebp - 0x34], 0
je 0x468634
cmp dword [ebp - 0x38], 2
je 0x468578
cmp dword [ebp - 0x38], 6
jne 0x468634
cmp edx, 9
je 0x468586
cmp edx, 0xd
jne 0x468634
lea edx, [eax + 4]
cmp edx, dword [ebx + 4]
ja 0x468634
cmp dword [ebp - 0x3c], 0
jle 0x468634
mov edx, dword [ebp - 0x3c]
cmp edx, dword [0x4eae6c]
jg 0x468634
cmp dword [0x4eae74], 0x4000
jge 0x468634
mov ecx, dword [0x4eae74]
mov edx, dword [0x4eae70]
shl ecx, 4
mov edi, dword [ebp - 0x28]
mov dword [edx + ecx], edi
mov edx, dword [0x4eae74]
mov ecx, dword [0x4eae70]
shl edx, 4
mov word [ecx + edx + 4], 1
mov di, word [ebp - 0x3c]
mov edx, dword [0x4eae74]
add di, 0xffff
mov ecx, dword [0x4eae70]
shl edx, 4
mov word [ecx + edx + 6], di
mov edx, dword [0x4eae74]
mov ecx, dword [0x4eae70]
shl edx, 4
mov dword [ecx + edx + 8], eax
mov edx, dword [ebx + 8]
mov ecx, dword [0x4eae74]
shl ecx, 4
mov eax, dword [edx + eax]
mov edx, dword [0x4eae70]
add eax, dword [ebp - 0x78]
mov dword [edx + ecx + 0xc], eax
inc dword [0x4eae74]
cmp dword [ebp - 0x1c], 1
jg 0x468170
jmp case.0x467581.148
mov eax, dword [ebp + 0x18]
test byte [eax + esi], 0x80
jne 0x46865a
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
inc esi
mov dword [ebp - 0x28], eax
jmp 0x468679
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov cl, byte [edx + esi]
and ecx, 0x7f
xor edx, edx
shl ecx, 8
mov dl, byte [eax + esi + 1]
add ecx, edx
add esi, 2
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x14], 0xa0
jne 0x468691
mov ecx, dword [ebp + 0x18]
movzx eax, word [ecx + esi]
mov dword [ebp - 0x54], eax
add esi, 2
jmp 0x46869d
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi]
add esi, 4
mov dword [ebp - 0x54], ecx
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x48]
mov ebx, dword [0x4eae54]
inc eax
sub edx, eax
xor ecx, ecx
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], ecx
jmp 0x4686c5
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x28]
je 0x4686d0
inc dword [ebp - 4]
add ebx, 0x14
mov edx, dword [ebp - 4]
cmp edx, dword [0x4eae58]
jl 0x4686b8
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4eae58]
jge case.0x467581.148
cmp dword [ebx + 8], 0
je case.0x467581.148
cmp dword [ebx + 0xc], 0
je case.0x467581.148
cmp dword [ebp - 0x74], 0
jbe case.0x467581.148
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x74]
cmp eax, dword [ebx + 4]
ja case.0x467581.148
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp + 0x18]
add ecx, esi
push ecx
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0x54]
push eax
call fcn.004a3530
add esp, 0xc
mov edx, dword [ebp - 0x74]
push edx
push 0xff
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x54]
push ecx
call fcn.004a35a0
add esp, 0xc
jmp case.0x467581.148
xor eax, eax
mov dword [ebp - 0x28], eax
jmp case.0x467581.148
mov edx, dword [ebp - 0x18]
add edx, 0xfffffffd
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 1
jle case.0x467581.148
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
inc eax
cmp eax, dword [ebp - 0x1c]
jle 0x468779
mov dword [ebp - 0x10], 3
jmp 0x4689af
mov edx, dword [ebp + 0x18]
add edx, esi
inc edx
push edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [ecx + esi]
push eax
call fcn.004671d0
add esp, 8
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov cl, byte [edx + esi]
inc ecx
sub dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi]
inc edx
add esi, edx
mov ecx, dword [ebp + 0x18]
test byte [ecx + esi], 0x80
jne 0x4687b7
dec dword [ebp - 0x1c]
inc esi
jmp 0x4687be
sub dword [ebp - 0x1c], 2
add esi, 2
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax + esi]
inc esi
dec dword [ebp - 0x1c]
cmp eax, 0x61
jne 0x4687da
mov dword [ebp - 0x10], 3
jmp 0x4689af
mov edx, dword [ebp + 0x18]
movzx edi, byte [edx + esi]
inc esi
dec dword [ebp - 0x1c]
cmp edi, 0x80
jg 0x4687f2
mov dword [ebp - 0x70], edi
jmp 0x468864
cmp edi, 0x81
jne 0x468813
cmp dword [ebp - 0x1c], 2
jl 0x468813
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + esi]
mov dword [ebp - 0x70], edx
add esi, 2
sub dword [ebp - 0x1c], 2
jmp 0x468864
cmp edi, 0x84
jne 0x468838
cmp dword [ebp - 0x1c], 4
jl 0x468838
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + esi]
and eax, 0xffffff
mov dword [ebp - 0x70], eax
add esi, 3
sub dword [ebp - 0x1c], 3
jmp 0x468864
cmp edi, 0x88
jne 0x468858
cmp dword [ebp - 0x1c], 4
jl 0x468858
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi]
mov dword [ebp - 0x70], ecx
add esi, 4
sub dword [ebp - 0x1c], 4
jmp 0x468864
mov dword [ebp - 0x10], 3
jmp 0x4689af
cmp dword [ebp - 0x70], 0
jbe 0x46893c
cmp dword [0x4eae58], 0x40
jge 0x46893c
mov eax, dword [0x4eae58]
mov edx, dword [0x4eae54]
mov ecx, dword [0x4eae6c]
add ecx, 0x4000
lea eax, [eax + eax*4]
mov dword [edx + eax*4], ecx
mov eax, dword [0x4eae58]
mov edx, dword [0x4eae54]
mov ecx, dword [ebp - 0x70]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp - 0x70]
push eax
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [0x4eae58]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 0x70]
push eax
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [0x4eae58]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov dword [ecx + edx*4 + 0xc], eax
mov eax, dword [0x4eae58]
lea eax, [eax + eax*4]
mov edx, dword [0x4eae54]
cmp dword [edx + eax*4 + 8], 0
je 0x468913
mov ecx, dword [0x4eae58]
lea ecx, [ecx + ecx*4]
mov eax, dword [0x4eae54]
cmp dword [eax + ecx*4 + 0xc], 0
jne 0x46891f
mov dword [ebp - 0x10], 1
jmp 0x4689af
mov edx, dword [0x4eae58]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov dword [ecx + edx*4 + 0x10], 1
inc dword [0x4eae58]
cmp dword [ebp - 0x1c], 1
jg 0x46875f
jmp case.0x467581.148
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jle case.0x467581.148
push 0x4bcf18
push 0
call fcn.004671d0
add esp, 8
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov cl, byte [edx + esi]
inc ecx
sub dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [eax + esi]
inc edx
add esi, edx
mov ecx, dword [ebp + 0x18]
test byte [ecx + esi], 0x80
jne 0x46898c
dec dword [ebp - 0x1c]
inc esi
jmp 0x468993
sub dword [ebp - 0x1c], 2
add esi, 2
cmp dword [ebp - 0x1c], 1
jg 0x468957
jmp case.0x467581.148
mov dword [ebp - 0x10], 5
jmp 0x4689af
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x48], eax
jmp 0x4674f3
cmp dword [0x4eae54], 0
je 0x468a22
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
lea ecx, [ecx + ecx*4]
mov eax, dword [0x4eae54]
cmp dword [eax + ecx*4 + 8], 0
je 0x4689e5
mov edx, dword [ebp - 4]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
mov eax, dword [ecx + edx*4 + 8]
push eax
call sub.KERNEL32.DLL_GlobalFree
mov edx, dword [ebp - 4]
lea edx, [edx + edx*4]
mov ecx, dword [0x4eae54]
cmp dword [ecx + edx*4 + 0xc], 0
je 0x468a0e
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
mov edx, dword [0x4eae54]
mov ecx, dword [edx + eax*4 + 0xc]
push ecx
call sub.KERNEL32.DLL_GlobalFree
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jl 0x4689bd
mov eax, dword [0x4eae54]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [0x4eae60], 0
je 0x468a3e
push 0x8000
push 0
mov edx, dword [0x4eae60]
push edx
call sub.KERNEL32.DLL_VirtualFree
cmp dword [0x4eae68], 0
je 0x468a5a
push 0x8000
push 0
mov ecx, dword [0x4eae68]
push ecx
call sub.KERNEL32.DLL_VirtualFree
cmp dword [0x4eae70], 0
je 0x468a75
push 0x8000
push 0
mov eax, dword [0x4eae70]
push eax
call sub.KERNEL32.DLL_VirtualFree
cmp dword [0x4eae78], 0
je 0x468a91
push 0x8000
push 0
mov edx, dword [0x4eae78]
push edx
call sub.KERNEL32.DLL_VirtualFree
cmp dword [ebp + 0x20], 0
je 0x468b6a
cmp dword [ebp - 0x10], 0
je 0x468b6a
cmp dword [ebp - 0x10], 1
jne 0x468ac4
mov ecx, dword [ebp + 0x20]
mov esi, 0x4bcfff
mov edi, ecx
mov eax, edi
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x468b6a
cmp dword [ebp - 0x10], 2
jne 0x468ae4
mov edx, dword [ebp + 0x20]
mov esi, 0x4bd024
mov edi, edx
mov eax, edi
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x468b6a
cmp dword [ebp - 0x10], 3
jne 0x468aff
mov edx, dword [ebp + 0x20]
mov esi, 0x4bd04e
mov edi, edx
mov eax, edi
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
jmp 0x468b6a
cmp dword [ebp - 0x10], 4
jne 0x468b1c
mov edx, dword [ebp + 0x20]
mov esi, 0x4bd06a
mov edi, edx
mov eax, edi
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x468b6a
cmp dword [ebp - 0x10], 5
jne 0x468b39
mov edx, dword [ebp - 0x14]
push edx
push 0x4bd088
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.004a6c2c
add esp, 0xc
jmp 0x468b6a
cmp dword [ebp - 0x10], 6
jne 0x468b55
mov eax, dword [ebp + 0x20]
mov esi, 0x4bd0a1
mov edi, eax
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x468b6a
mov edx, dword [ebp - 0x10]
push edx
push 0x4bd0b2
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.004a6c2c
add esp, 0xc
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret